-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Also allow Travis to download private archives #3099
Also allow Travis to download private archives #3099
Conversation
Don't merge this yet... let me check one thing... |
Right now, while we're setting things up, the private server also has the public archives, but we don't want to waste time adding those to the CDN cache when they're already in the public server's CDN cache. See: https://trac.macports.org/ticket/54800
cab3e54
to
e8ea4df
Compare
Ok, added |
Wait, I need to sign all those private archives first. |
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.
archive_site_local
is not documented in macports.conf.default
or macports.conf(5). If it's just a backup archive_site, LGTM.
Ok, the private archives are signed. |
Okay, so should this be merged now? |
I've merged this, then I submitted two new PRs, and I do not see these changes reflected in those builds. Does something else need to be done to get Travis to use these changes? Or does it just take some time for Travis to update to them? |
The Travis configuration is read from your PR, so you need to rebase your changes onto the current master. |
Ok, I tried again with #3118 but the logs still show no evidence of attempts to download archives from the private server. |
It turns out Let me think about what I want to do. One options is to switch to using archive_sites.conf, which would work for Travis but would be confusing for our buildbot setup, and I'd like to keep them similar where possible. Alternately, I could have Travis patch MacPorts to fix the bug. This is probably what I want to do since it's a three-character fix. There is still another bug in MacPorts' handling of |
I had tried to do this with preferred_hosts before, but it appears to have no effect on archive_site_local. See: https://trac.macports.org/ticket/57720 Instead list both the public and the private URLs in archive_site_local. They appear to be tried in the order listed. But then we need to fix the base bug with multiple URLs in archive_site_local: See: https://trac.macports.org/ticket/57718 See: https://trac.macports.org/ticket/54800 See: #3099
Description
Also allow Travis to download private archives
See: https://trac.macports.org/ticket/54800
Type(s)