-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
scripts: west_commands: patch: Add gh-fetch subcommand #83538
base: main
Are you sure you want to change the base?
Conversation
Cool 😎 |
af5c571
to
cfd7e13
Compare
I'm thinking the @cfriedt WDYT? |
@pdgendt - yeah that makes sense. And possibly append to the file as well. |
cfd7e13
to
341733f
Compare
341733f
to
d4144f1
Compare
Tangential to this command: perhaps one that goes through all patches and alerts you if a patch was merged upstream. :^) |
Not sure if the |
d4144f1
to
0eebe67
Compare
@faxe1008 - I could see something like Effectively, all it would do is check the merge-pr URL to see if a patch was merged, and delete the patch from yaml if it was. |
Yeah that would be lovely, altough this means that ideally the patch is only pruned if the west manifest of the project points to a commit that includes the commit of the merged PR. Or alternatively after pruning it gives you the "next" revision that includes all pruned patches. But I guess for the first case applying the patches will fail anyways 🤷 |
Add a gh-fetch subcommand to the west patch extension to download a patch file from Github and generate the patch meta data. The patch info is appended to the patches.yml file. Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
0eebe67
to
4c717be
Compare
Add a
gh-fetch
subcommand to the west patch extension to download a patch file from Github and generate the patch meta data.The patch info is appended to the
patches.yml
file.