-
Notifications
You must be signed in to change notification settings - Fork 166
download_from_repo: Only query and fetch from FreeBSD repo #1228
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
base: master
Are you sure you want to change the base?
Conversation
e37cf98 changed `pkg update` to only update FreeBSD repo. 14.3 now ships with two repos configured - FreeBSD and FreeBSD-kmods. Later calls to `pkg rquery` and `pkg fetch` failed with this multi-repo configuration.
LGTM @patmaddox how would this interact with #1025 where the url used introduces a different pkg repo? (IMO this bug you've reported here should be fixed first) |
Exactly my question! |
Good question. I don't know, because I haven't tested it. Based on my understanding of things, it would at least be able to pass the Basically, this PR just addresses the fact that poudriere makes a lot of assumptions regarding configuration, particularly around pre-fetching packages. More work would need to be done to support more varied configurations. For example, I had previously patched
|
Hey, just applied this patch individually on my poudriere-devel, and can confirm it started to fetch existing packages again. |
Also, not sure if it counts but I use a |
I patched mine has well and please can you fix the typo at : https://github.com/freebsd/poudriere/pull/1228/files#diff-afbea33008c9478b94f3379278925c57204b3283411000094ee48d2388293a5fL4491
|
This update includes fix from freebsd/poudriere#1228 freebsd/poudriere#1228
#1239 answers it: either overwrite the FreeBSD config entirely with no checking, or disable it and parameterize the repo name throughout |
This update includes a fix from freebsd/poudriere#1228 freebsd/poudriere#1228 download_from_repo: Only query and fetch from FreeBSD repo Changelog: dsh2dsh/poudriere@3.4.99.20250725...3.4.99.20250802 PR: 288610 Approved by: yuri@ (Mentor)
e37cf98 changed
pkg update
to only update FreeBSD repo. 14.3 now ships with two repos configured - FreeBSD and FreeBSD-kmods. Later calls topkg rquery
andpkg fetch
failed with this multi-repo configuration.