I wonder why there is an option to limit job trigger to "Applicable projects".
I believe that job trigger was only for the current project because job are per project only ?
Thanks for a little explanation
Robin Shen commented 1 year ago
When project is forked, it will have same set of triggers, and you may do not want some triggers firing. For instance, the trigger to automatically sync onedev/server to its github mirror.
bufferUnderrun commented 1 year ago
When project is forked, all source code is copied and so the onedev-buildspec.yml including jobs and theirs triggers.
The fork project will trigger is own job, not the job of the source project forked ?
Maybe you design this features for performance concern ?
Then, why a project name selection instead of checkbox saying "disable trigger when forking ?"
Robin Shen commented 1 year ago
All triggers and jobs are defined in .onedev-buildspec.yaml. There is no notion of triggering job of other projects here. Project fork is just an example, it may not be a fork at all (for instance clone a project and push under a different name, etc.)
bufferUnderrun commented 1 year ago
i find the option a bit confusing or not very usefull...
At least, thanks for the light, i close the thread.
Hi,
I wonder why there is an option to limit job trigger to "Applicable projects". I believe that job trigger was only for the current project because job are per project only ?
Thanks for a little explanation