-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
cli-patch: generalize to-git functionality with PUSH_TO_GITHUB and PUSH_TO_REPO & enable for u-boot as well as kernel #6914
base: main
Are you sure you want to change the base?
cli-patch: generalize to-git functionality with PUSH_TO_GITHUB and PUSH_TO_REPO & enable for u-boot as well as kernel #6914
Conversation
2689e56
to
f54df58
Compare
89e2e7e
to
058d204
Compare
463aaa4
to
c2c4309
Compare
From my perspective, few bits to documentation and its ready to merge. |
8e8e7ea
to
023a862
Compare
023a862
to
9ad0cd4
Compare
9ad0cd4
to
b4da0f0
Compare
b4da0f0
to
17c0706
Compare
…SH_TO_REPO & enable for u-boot as well as kernel - `PUSH_TO_REPO=<url>`: set the full git URL to push to - `PUSH_TO_GITHUB=<org>/<repo>`: shorthand for pushing to GitHub; sets `PUSH_TO_REPO` - note: be kind to GitHub, and use forks of torvalds/linux and u-boot/u-boot so GH has a decent base tree - still, kernel pushes are huge, mostly due to the all-wifi-drivers commit that's always first and always slightly different - note: when pushing to GitHub, keep in mind the pushed branch contains a GHA workflow, which will only run if you have GHA enabled on the repo - examples (adapt to your username/forks): - `./compile.sh BOARD=nanopct6 BRANCH=edge rewrite-kernel-patches PUSH_TO_GITHUB=rpardini/linux` - `./compile.sh BOARD=rock-5b BRANCH=legacy rewrite-uboot-patches PUSH_TO_GITHUB=rpardini/armbian-patched-u-boot`
17c0706
to
fc1e8c7
Compare
Completed? Docs bits needed. |
Docs could borrow from this PR description. In general, this functionality is not for end-user consumption, but could be very useful for developers, and the original idea was to get the CI jobs that build kernel and u-boot to publish the git tree to repos like armbian/linux and armbian/u-boot (one branch per kernel/board). |
cli-patch: generalize to-git functionality with PUSH_TO_GITHUB and PUSH_TO_REPO & enable for u-boot as well as kernel
PUSH_TO_REPO=<url>
: set the full git URL to push toPUSH_TO_GITHUB=<org>/<repo>
: shorthand for pushing to GitHub; setsPUSH_TO_REPO
./compile.sh BOARD=nanopct6 BRANCH=edge rewrite-kernel-patches PUSH_TO_GITHUB=rpardini/linux
./compile.sh BOARD=rock-5b BRANCH=legacy rewrite-uboot-patches PUSH_TO_GITHUB=rpardini/armbian-patched-u-boot