-
Notifications
You must be signed in to change notification settings - Fork 889
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
Whitelist Fedora updates mirrors #252
Conversation
Some mirrors have out of date repomd.xml files that are older than the other repository metadata files (i.e. primary.xml.gz) so we were getting frequent 404 errors. Whitelist 2 mirrors for Fedora 25 and 26.
- # overwrite the originals. | ||
- "https://download.fedoraproject.org/pub/fedora/linux/updates/%s/x86_64/" % version, | ||
- ] | ||
+ if version in '27': |
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.
you can remove this and revert back to the original
+ # overwrite the originals. | ||
+ "https://download.fedoraproject.org/pub/fedora/linux/updates/%s/x86_64/" % version, | ||
+ ] | ||
+ elif version in '26': |
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.
start the if
here and overwrite as needed for other versions
"https://download.opensuse.org/update/leap/%s/oss/" % version, | ||
] | ||
|
||
+print("rpm sources list for reference:") |
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.
while this may be helpful, patches are fragile and I think it's best to avoid patching for debug output
@bridiver I just updated this PR with a reduced footprint patch. Let me know what you think. |
Closing this in favor of performing a high number of retries in order to find a working mirror. Opened tracking issue brave/brave-browser#667 |
Use debug build as a default mode
Use debug build as a default mode
Use debug build as a default mode
Some mirrors have out of date repomd.xml files that
are older than the other repository metadata files
(i.e. primary.xml.gz) so we were getting frequent
404 errors. Whitelist 2 mirrors for Fedora 25 and 26.
Submitter Checklist:
git rebase -i
to squash commits (if needed).Test Plan:
Reviewer Checklist: