zuul/doc/source
James E. Blair e2a472bc97 Change merge mode default based on driver
The default merge mode is 'merge-resolve' because it has been observed
that it more closely matches the behavior of jgit in Gerrit (or, at
least it did the last time we looked into this).  The other drivers
are unlikely to use jgit and more likely to use the default git
merge strategy.

This change allows the default to differ based on the driver, and
changes the default for all non-gerrit drivers to 'merge'.

The implementation anticipates that we may want to add more granularity
in the future, so the API accepts a project as an argument, and in
the future, drivers could provide a per-project default (which they
may obtain from the remote code review system).  That is not implemented
yet.

This adds some extra data to the /projects endpoint in the REST api.
It is currently not easy (and perhaps not possible) to determine what a
project's merge mode is through the api.  This change adds a metadata
field to the output which will show the resulting value computed from
all of the project stanzas.  The project stanzas themselves may have
null values for the merge modes now, so the web app now protects against
that.

Change-Id: I9ddb79988ca08aba4662cd82124bd91e49fd053c
2022-10-13 10:31:19 -07:00
..
_static Refresh self-keysig expiration on my OpenPGP key 2022-03-15 13:31:55 +00:00
_templates Add a version selector to docs 2021-12-16 11:21:40 -08:00
config Change merge mode default based on driver 2022-10-13 10:31:19 -07:00
developer Merge "Add nodeset alternatives" 2022-09-16 16:52:44 +00:00
drivers Merge "Clarify gerrit trigger approval can be dict or list of dicts" 2022-09-30 00:54:15 +00:00
examples Merge "Update link to zuul gating docs in reference pipeline" 2022-10-07 01:58:20 +00:00
howtos zuul-stream: Add variable to disable writing streaming files 2022-09-14 11:19:40 +10:00
images Update Matrix instructions 2021-08-21 07:27:17 -07:00
tutorials Add tracing tutorial 2022-09-19 08:42:28 +02:00
about.rst Reorganize docs 2021-12-15 15:25:31 -08:00
admin.rst Add support for configuring and testing tracing 2022-09-19 08:42:28 +02:00
authentication.rst Merge "Add support for Microsoft login" 2022-03-21 22:57:56 +00:00
client.rst Add prune-database command 2022-05-30 07:31:16 -07:00
components.rst Update docs to say large installations can need multiple schedulers 2022-03-02 10:19:38 +01:00
concepts.rst Update docs to clarify inheritance and global repo state 2022-05-05 09:50:18 -07:00
conf.py Correct tagged version docs build 2022-03-21 10:22:13 -07:00
configuration.rst Add support for configuring and testing tracing 2022-09-19 08:42:28 +02:00
gating.rst Improve cycles paragraph on gating page 2022-06-15 14:44:42 +02:00
glossary.rst Remove restricted Ansible documentation 2022-04-13 14:17:04 -07:00
governance.rst Remove inactive maintainers 2022-03-09 12:41:10 -08:00
index.rst Reorganize docs 2021-12-15 15:25:31 -08:00
installation.rst docs: update console streaming docs 2022-09-01 14:14:28 +10:00
job-content.rst Add Ansible version to a job's Zuul vars 2022-08-29 08:08:11 +02:00
monitoring.rst Merge "doc: fix liveness probes path rendering" 2022-09-28 08:47:51 +00:00
operation.rst Add docs about reconfiguring on a single scheduler 2022-02-28 08:09:12 -08:00
project-config.rst Reorganize docs 2021-12-15 15:25:31 -08:00
releasenotes.rst Reorganize docs 2021-12-15 15:25:31 -08:00
rest-api.rst Reorganize docs 2021-12-15 15:25:31 -08:00
tenants.rst Merge "Add always-dynamic-branches option" 2022-06-22 21:54:55 +00:00
tracing.rst Add tracing tutorial 2022-09-19 08:42:28 +02:00
troubleshooting.rst Better document service command-line switches 2022-02-11 14:48:41 +00:00
vulnerabilities.rst Drop SKS Keyserver links from vulnerabilities doc 2022-03-15 13:24:48 +00:00