[Nix-dev] Re: fetch<dvcs> - optimization via local mirroring.
Yury G. Kudryashov
urkud+nix at ya.ru
Fri Aug 20 01:23:29 CEST 2010
Michael Raskin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello.
> With fetchgit we sometimes have a problem of having to pull entire
> history over and over again. For fetchmtn I implemented possibility to
> specify local database and fetch needed revisions to it first (and only
> then to check out from it).
> I used the Monotone convention of giving branches unique names - using
> the reversed domain name prefixes, popularized by Java.
> Obviously with some encoding of source URLs into branch names that
> should be possible for some other fetchers in Nixpkgs as well. Is there
> anybody knowing those VCSes enough to do that and willing to do that?
I can try for fetchgit.
How do you deal with chroot builds? Require adding "global DB dir" to build-
chroot-dirs?
BTW, current nix-prefetch-git is MUCH more clever than fetchgit. As a
result, they produce different results ;).
More information about the nix-dev
mailing list