Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Add option to a gerrit project to permit the disable of the default strict forbidden file verification of an event.
Enabling this option will allow an event to trigger a build if the event contains BOTH one or more wanted file paths/topics/branches AND one or more forbidden file paths.
In other words, with this option, the build will not get triggered if the change contains only forbidden files, otherwise it will get triggered.
A checkbox that has "Disable Strict Forbidden File Verification" shall be added.
I would like something slightly more general. We currently define our trigger using project-pattern (repository name) and branch-pattern (** for all files). We don't use file-paths. But we'd also like the same functionality as specified above, where we'd like the project to not trigger only if ALL the changed items are in forbidden-file-paths.
Looking at the existing semantics, the following tags are additive:
branches
file-paths
topics
and the following is subtractive:
forbidden-file-paths
If a checkbox is added, it should account for all of the additive tags instead of just file-paths.