Issue Type: Improvement Improvement
Assignee: Unassigned
Components: infrastructure
Created: 21/Dec/13 6:18 PM
Description:

The apt repository currently is hosted at pkg.jenkins-ci.org. Release/Packages files are hosted under there with relative links pointing to .deb files under the same vhost. Those links 302 redirect to mirrors.jenkins-ci.org, which in turn 302 redirects to one of the mirrors. mirrors.jenkins-ci.org itself doesn't host the Packages/Release files and hence can't be used as an apt repo by itself.

The double redirects is, of course, valid HTTP behavior. However, we make use of a very popular software for apt management called "reprepro" which among its functionalities is the ability to fetch packages from third-party repositories. Our config, very typical, would be:
http://git.wikimedia.org/blob/operations%2Fpuppet.git/5772d3726e576da11b3f1ed90f20c3ce3ddd08d5/modules%2Finstall-server%2Ffiles%2Freprepro-updates

The problem is, one of reprepo's known limitations is that it does not support double redirects, issuing this error message:

aptmethod redirects already redirected 'http://mirrors.jenkins-ci.org/debian-stable/jenkins_1.532.1_all.deb' again to 'http://ftp-nyc.osuosl.org/pub/jenkins/debian-stable/jenkins_1.532.1_all.deb'
Multiple redirects currently not supported by reprepro

Although not a bug per se, it'd be great if Jenkins' apt repository avoided redirecting twice and hence was compatible with reprepro.

Project: Jenkins
Priority: Minor Minor
Reporter: Faidon Liambotis
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to