[Nix-dev] Git branches to track nix channels
Arseniy Seroka
ars.seroka at gmail.com
Wed May 20 22:51:37 CEST 2015
I've wrote that and nobody mentioned :(
2015-05-20 23:23 GMT+03:00 Nicolas Pierron <nicolas.b.pierron at gmail.com>:
> Hi,
>
> I did that a while ago, and somebody removed them, because of the
> potential noise that such branches can caused.
> Then I pushed the script that I made to keep track of the channel versions.
>
> You can use this script in your nixpkgs working directory, run
>
> $ $(git rev-parse
> --show-cdup)maintainers/scripts/update-channel-branches.sh
>
> Then you can make an alias in your .git/config:
>
> [alias]
> fetch-channels = !sh -c \"$(git rev-parse
> --show-cdup)maintainers/scripts/update-channel-branches.sh\"
>
> which means that you can also do, from anywhere inside your working
> directory.
>
> $ git fetch-channels
>
> This will pull all the channel branches from nixos.org, and also look
> for the channels that are corresponding to nixos-version, and any
> channel that you have in ~/.nix-defexpr .
>
>
> On Tue, May 19, 2015 at 9:56 AM, Florian Friesdorf <flo at chaoflow.net>
> wrote:
> >
> > Hi,
> >
> > nix channels are series of snapshots of nixpkgs that were succesfully
> > build by hydra and we subscribe and update them via nix-channel - for
> > users of nixpkgs this is great!
> >
> > As maintainers of nixpkgs and users who keep custom patches, we also
> > have one or more local checkouts of git://github.com/NixOS/nixpkgs.git.
> >
> > It would be great if channel information would be available via git as
> > well:
> >
> > - one branch per channel, git reset --hard to the latest successfully
> > build nixpkgs in this channel
> >
> > - tags (<channel-name>-<datetime>) for each successful channel build.
> >
> > This would enable us to base local customizations of nixpkgs on-top of
> > successful hydra builds and therefore getting as much binary package
> > support as possible, and would remove the need to additionally maintain
> > channels with nix-channel.
> >
> > What do you think?
> >
> > cheers
> > florian
> > --
> > Florian Friesdorf <flo at chaoflow.net>
> > GPG FPR: 7A13 5EEE 1421 9FC2 108D BAAF 38F8 99A3 0C45 F083
> >
> > _______________________________________________
> > nix-dev mailing list
> > nix-dev at lists.science.uu.nl
> > http://lists.science.uu.nl/mailman/listinfo/nix-dev
> >
>
>
>
> --
> Nicolas Pierron
> http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
--
Sincerely,
Arseniy Seroka
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150520/7efc0b51/attachment.html
More information about the nix-dev
mailing list