Once upon a time Monday 19 January 2004 6:18 pm, Jesse Keating wrote: > My proposal is to run a master mirror server for FL. An ISP has offered > rackspace and bandwidth for such a beast. The layout I envision is this: > > download.fedoralegacy.org/legacy/$releasever/SRPMS/ > download.fedoralegacy.org/legacy/$releasever/SRPMS//base > download.fedoralegacy.org/legacy/$releasever/SRPMS/updates > download.fedoralegacy.org/legacy/$releasever/SRPMS/updates-testing > download.fedoralegacy.org/legacy/$releasever/SRPMS/legacy-addons > download.fedoralegacy.org/legacy/$releasever/$basearch/base > download.fedoralegacy.org/legacy/$releasever/$basearch/updates > download.fedoralegacy.org/legacy/$releasever/SRPMS/updates-testing > download.fedoralegacy.org/legacy/$releasever/$basearch/legacy-addons can i sugest going with a common format used my most mirrors that way what is on the fedoralegacy server will match that of the mirrors. I plan on having a mirror of Legacy if the deal with the hosting company i have been dealing with works out. download.fedoralegacy.org/pub/fedoralegacy/$releasever/SRPMS/ download.fedoralegacy.org/lpub/fedoraegacy/$releasever/SRPMS//base download.fedoralegacy.org/pub/fedoralegacy/$releasever/SRPMS/updates download.fedoralegacy.org/pub/fedoralegacy/$releasever/SRPMS/updates-testing download.fedoralegacy.org/pub/fedoralegacy/$releasever/SRPMS/legacy-addons download.fedoralegacy.org/pub/fedoralegacy/$releasever/RPMS/$basearch/base download.fedoralegacy.org/pub/fedoralegacy/$releasever/RPMS/$basearch/updates download.fedoralegacy.org/pub/fedoralegacy/$releasever/SRPMS/updates-testing download.fedoralegacy.org/pub/fedoralegacy/$releasever/RPMS/$basearch/legacy-addons > where each subdir of $basearch has a directory RPMS, and a symlink SRPMS, > which points to the correct ../../SRPMS/foo dir. Given the 7.3 release, > i386 arch, and the "updates" dir we would have: I wouldnt worry about the symlink to SRPMS but would put in the RPMS dir then break down to archs for example download.fedoralegacy.org/pub/fedoralegacy/7.3/RPMS/i386/legacy-addons download.fedoralegacy.org/pub/fedoralegacy/7.3/RPMS/ppc/legacy-addons download.fedoralegacy.org/pub/fedoralegacy/7.3/SRPMS/legacy-addons > download.fedoralegacy.org/legacy/7.3/i386/updates/RPMS > download.fedoralegacy.org/legacy/7.3/i386/updates/SRPMS->../../SRPMS/update >s > > base, updates, and legacy-addons would each be a metadata top-level, so a > yum.conf file would look like: > > [base] > name=Red Hat Linux $releasever base > baseurl=http://download.fedoralegacy.org/legacy/$releasever/$basearch/base > gpgcheck=1 for example [base] name=Red Hat Linux $releasever base baseurl=http://download.fedoralegacy.org/pub/fedoralegacy/$releasever/RPMS/$basearch/base gpgcheck=1 to set for a mirror [base] name=Red Hat Linux $releasever base baseurl=http://somemirror.org/pub/fedoralegacy/$releasever/RPMS/$basearch/base gpgcheck=1 > [updates] > name=Red Hat Linux $releasever updates > baseurl=http://download.fedoralegacy.org/legacy/$releasever/$basearch/updat >es gpgcheck=1 > > #[updates-testing] > #name=Red Hat Linux $releasever updates-testing > #baseurl=http://download.fedoralegacy.org/legacy/$releasever/$basearch/upda >tes-testing #gpgcheck=1 > > [legacy-addons] > name=Fedora Legacy tools for Red Hat Linux $releasever > baseurl=http://download.fedoralegacy.org/legacy/$releasever/$basearch/legac >y-addons gpgcheck=1 > > Same would be for the apt stuff I would assume, although I'm not familiar > with apt setup. I'm thinking of this from the unified metadata structure > mindset, not apt or yum specific. > > Each tree would be rsyncable, suggested rsync point would be the > $releasever directory. Sites like fedora.us that have a current setup > already in place can choose to sync specific directories. All mirrors > should provide fedoralegacy.org the correct yum/apt conf settings specific > to their mirror. > > Thoughts? if we get the structure set right on our server then the user should only need to swap in the name of the mirror server. the way redhat has set things for there download makes it a little bit harder for users to easily config yum and apt to use a mirror server. fedora.us is the same the whole /fedora/fedora thing is strange it should be /pub/fedora but it is a good start. Dennis
Attachment:
pgp00197.pgp
Description: signature