[Nix-dev] Re: introduction nix_repository_manager

Yury G. Kudryashov urkud.urkud at gmail.com
Thu Mar 6 17:48:06 CET 2008


On Thursday 06 March 2008 15:30:40 Ludovic Courtès wrote:
> Hi,
>
> "Yury G. Kudryashov"
>
> <urkud.urkud at gmail.com> writes:
> > On Thursday 06 March 2008 12:03:51 Ludovic Courtès wrote:
> >> Can't it be transparent?  I.e., `fetchdarcs' (or `fetchgit', etc.)
> >> would do the following:
> >>
> >>   *  If the requested repo is not already available under
> >>      ~/.managed-repos, then do a full checkout.
> >>
> >>   *  If the requested repo is already available under
> >> ~/.managed-repos, just do an "update".
> >
> > I see 2 problems with your (Ludovic Courtès) approach:
> > 1) You need to rewrite fetchdarcs/fetchsvn/fetchgit each time.
>
> "Rewrite"?  As in "reimplement"?  I don't understand.
I meant that you don't know hash before downloading something. So, you need 
(1) download; (2) calculate the hash; (3) write this hash to the fetch* 
arguments. And we need some way to automate this process.
-- 
Yours Yury,
mailto: urkud.urkud at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20080306/d36db184/attachment.bin 


More information about the nix-dev mailing list