Skip to content
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

Merged
merged 6 commits into from
Dec 3, 2024
Merged

pkg-auto: Add package automation scripts #2342

merged 6 commits into from
Dec 3, 2024

Conversation

krnowak
Copy link
Member

@krnowak krnowak commented Sep 27, 2024

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.

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.
Copy link
Contributor

@chewi chewi left a 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.

pkg_auto/README.md Outdated Show resolved Hide resolved
pkg_auto/impl/util.sh Show resolved Hide resolved
@krnowak
Copy link
Member Author

krnowak commented Dec 3, 2024

Dropped some lines from README and added a paragraph about security fixes at the end of the Processing the updates (the manual part) part.

Copy link

github-actions bot commented Dec 3, 2024

@krnowak krnowak merged commit f76f6db into main Dec 3, 2024
1 check was waiting
@krnowak krnowak deleted the krnowak/pkg-auto branch December 3, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

3 participants