-
Notifications
You must be signed in to change notification settings - Fork 51
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
pkg-auto: Add package automation scripts #2342
Conversation
This adds some scripts I have been using for over a year to deal with the weekly package updates. It comes with a `README.md` which describes a workflow similar to my own. The `sync_packages.sh` and `update_packages.sh` scripts are currently not used anywhere. The idea behind them was to use them for Github Action, but that will come as a follow-up PR.
The eclass was removed from Gentoo, so we followed suit. This broke the pkg-auto code. Thus I imported the eclass into the impl directory as gentoo_ver.sh, threw away all the unnecessary parts and moved some from pkg_auto_lib.sh to the new file. This allowed me to also drop a hack where I was grepping for the version regexp in the eclass. Now I'm just exporting it.
I try to keep "public API" at the top of the file.
184858d
to
ae67b87
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't gone over this in detail as you've already walked us through it, and it's already proven itself over months. Your Bash code is also some of the best I've seen. Just need to fix the README and I think you're good to go.
Dropped some lines from README and added a paragraph about security fixes at the end of the |
Build action triggered: https://github.com/flatcar/scripts/actions/runs/12141358675 |
This adds some scripts I have been using for over a year to deal with the weekly package updates.
It comes with a
README.md
which describes a workflow similar to my own.The
sync_packages.sh
andupdate_packages.sh
scripts are currently not used anywhere. The idea behind them was to use them for Github Action, but that will come as a follow-up PR.