New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH Action: merge staging(-next) periodically #105153
Conversation
How does this handle merge conflicts and conflicting/undoing changes? Rebasing is also not an option because it could easily create merge conflicts. |
If there is a merge conflict I would expect this action to fail, resulting in a notification (but for who?). This probably should be tested on another repo first. |
You probably want to restrict this to run on the main NixOS/nixpkgs repo (e.g. |
3df6156
to
7413f81
Compare
Configured it on my fork FRidh@75fe136. |
Example of a merge conflict https://github.com/FRidh/nixpkgs/runs/1467125543?check_suite_focus=true. |
Automate the merging of `master` -> `staging-next` -> `staging`. Our main development branch is `master`. Large rebuilds go to `staging`. Periodically, `staging` is merged into `staging-next` for stabilization. When considered sufficiently stable, `staging-next` is merged into `master`. As changes arrive on these branches, it is important that they're all updated regularly with eachothers changes. This commit automates that part.
7413f81
to
24884e5
Compare
I added a step that would notify on an issue (currently this one) when the workflow fails. |
sounds good. |
0722343
to
5b20654
Compare
Comment on the designated issue in case of a failure. Whoever wants to help out resolving merge conflicts can simply follow this issue.
5b20654
to
318f929
Compare
This comment has been minimized.
This comment has been minimized.
Hooray, it worked :^) |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Periodic merge from |
Automate the merging of
master
->staging-next
->staging
.Our main development branch is
master
. Large rebuilds go tostaging
.Periodically,
staging
is merged intostaging-next
for stabilization.When considered sufficiently stable,
staging-next
is merged intomaster
.As changes arrive on these branches, it is important that they're all
updated regularly with eachothers changes. This commit automates that
part.
#104594
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)