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

perhaps apk update only at start of bulk #2950

Open
nekopsykose opened this issue Sep 17, 2024 · 0 comments
Open

perhaps apk update only at start of bulk #2950

nekopsykose opened this issue Sep 17, 2024 · 0 comments

Comments

@nekopsykose
Copy link
Contributor

currently in a given bulk-pkg the

updating software in /home/runner/work/cports/cports/bldroot.9pp15qii container...

runs for every single package, but it could probably run just once at the start instead and be effectively almost the same

mostly because otherwise every pkg step involves 4 sequential http fetches for the 4 indexes (main,user + debug) and in ci that takes longer than it has to (like 3s total across the ocean)

the same goes locally too, technically, where before e33551c it was nice that it didn't actually update every time- the main issue is just that apk doesn't stale apkindex's correctly it seems. but it would be nice if it only updated for things over a minute old and up to a minute skipped the fetches..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant