Hello, Mikhail / Matt! Mikhail Kolesnik schrieb:
On Tue, 27 Nov 2007 14:37:57 -0600 Matt Housh <jaeger@morpheus.net> wrote:
Attached is a patch for pkgutils 5.30.0 that adds distfile repository support via a pkgmk.conf variable, PKGMK_DISTFILE_REPOS. Just a notice: as pkgmk.conf and handbook do not mention 'distfile(s)' word at all, shouldn't it be named PKGMK_SOURCE_MIRRORS or PKGMK_SOURCE_REPOS to avoid confusion and relation with other distros?
It is more working like a CACHE, isn't it? Maybe not yet? ;-) So I would prefer PKGMK_SOURCE_CACHE.
By default it's defined empty which causes no behavioral changes. If you define it to a list of URLs, like PKGMK_DISTFILE_REPOS=(http://gentoo.osuosl.org/distfiles/ http://fileserver.intranet/crux/distfiles/), it'll attempt to fetch the
Will it support local folders or nfs shares as well? And then, will it support pushing once downloaded files to the cache?
source archive from the listed hosts before falling back to the host defined in the source=() array in the Pkgfile.
Yes, this has been brought up before and by other people besides me. The reason I bring it up again now is that I'd like to see it in 2.4. The opinions in the IRC meeting were favorable but I'm posting it here for more exposure. Please give it a look and feel free to comment.
Thanks a lot for bringing this feature up for discussion again.
Yes, thanks, too! Seems to be the right direction. :-) Regards, -- Clemens Koller __________________________________ R&D Imaging Devices Anagramm GmbH Rupert-Mayer-Straße 45/1 Linhof Werksgelände D-81379 München Tel.089-741518-50 Fax 089-741518-19 http://www.anagramm-technology.com