[Nix-dev] Re: Hey, this looks interesting

Tony White tonywhite100 at googlemail.com
Tue Aug 11 22:54:48 CEST 2009


On 11/08/2009, Marc Weber <marco-oweber at gmx.de> wrote:
> > pull upstream source straight from bleeding edge cvs, svn, git, etc
>
> I've partially implemented this (see my mail about  run-nix-repository-manager-with-config)
>  However storing hashs etc should be reimplemented.
>
>  However how should this look like in general? Do we want to use this one
>  source of update notifications only?
>
>  Or do we want to add kind of scripting language to extract updates from
>  *any* kind of html page presenting download links?
>
>  eg:
>
>  mkDerivation = {
>   name = "";
>   src = ..
>
>   passthru.updateChecker.python =
>       ''
>         import xxxx;
>         print getLatest("http://xy/downloads", "*.tar.gz")
>         [...]
>       '';
>  }
>
>  or such?
>
>  Of course we can use any kind of implementation then..
>
>
>  Marc Weber
>
> _______________________________________________
>  nix-dev mailing list
>  nix-dev at cs.uu.nl
>  https://mail.cs.uu.nl/mailman/listinfo/nix-dev
>

Ah, I like this idea. So we could use a passthrough script to do the
lifting involved and it could be either bash, python, perl, etc?
Sounds good.
I could probably use git to pull most kinds of repo (It does cvs, svn,
etc) And a simple bash script, so the only deps involved would be git
and it's deps, I think.

Thanks,
Tony



More information about the nix-dev mailing list