Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41047 - catalyst should support rsync and distfile mirrors
Summary: catalyst should support rsync and distfile mirrors
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: John Davis (zhen) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-09 16:51 UTC by David Bryson (RETIRED)
Modified: 2004-03-04 16:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
adds rsync mirror and distfile mirror specification to spec files (rsync-mirror.patch,395 bytes, patch)
2004-02-09 16:52 UTC, David Bryson (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Bryson (RETIRED) gentoo-dev 2004-02-09 16:51:30 UTC
catalyst does not let you specify which rsync mirror or distfile mirror it should use when building stages.  This can be useful for doing testing and only wanting it to pull files/rsync with a local mirror. I have a two line patch that will let the user specify 'rsync:' and 'mirror:' in the spec file.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 David Bryson (RETIRED) gentoo-dev 2004-02-09 16:52:37 UTC
Created attachment 25307 [details, diff]
adds rsync mirror and distfile mirror specification to spec files
Comment 2 David Bryson (RETIRED) gentoo-dev 2004-02-10 11:09:14 UTC
On a side note, I suppose one should also add a check in the catalyst_support.py module.  If rsync and mirror are not defined in the spec file, catalyst just blows up.  I'm still a bit new to python, but I'll see if I can put a check of some sorts in.
Comment 3 John Davis (zhen) (RETIRED) gentoo-dev 2004-03-04 16:27:27 UTC
This is already taken care of with the "envscript" functionality. Please check the online documentation at http://www.gentoo.org/proj/en/releng/catalyst.

The idea is, you create an envscript, and you add:
export GENTOO_MIRRORS="mymirror"

in the file.