On Thursday 06 March 2008 15:30:40 Ludovic Courtès wrote:
> Hi,
>
> "Yury G. Kudryashov"
>
> <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
nix-dev mailing list
nix-dev@cs.uu.nl
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to