On Wed, 2007-11-28 at 15:53 +0100, Clemens Koller wrote:
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.
For this case, I don't see any real distinction.
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?
In its current form it simply uses wget. Can wget fetch from local folders or nfs shares? As for pushing, no. It's a lot simpler than that. Following the KISS principle I would just rsync my source files to a central location and use that for the rest of my installs. [...] I'm glad there's some positive feedback but I think we should take care not to overcomplicate this feature. Matt -- Matt Housh (jaeger@freenode/#crux)