[Nix-dev] nixos/nixpkgs release tags?

Florian Friesdorf flo at chaoflow.net
Mon Jul 23 08:52:28 CEST 2012


Hi Nicolas, hi Eelco,

On Sat, 21 Jul 2012 20:15:55 -0700, Nicolas Pierron <nicolas.b.pierron at gmail.com> wrote:
> (..)
> I like the idea, but tag is the wrong git concept for non-release
> channels.  You should prefer a branch which is reset to the latest
> commit instead of a tag.
> 
> instead of « git tag name », I will recommend « git update-ref
> refs/heads/latest-channel /sha1/ ».

good point! I updated/renamed the script:

https://github.com/chaoflow/skel/blob/master/bin/update-nixos-channel-branches.sh

and use it manually to maintain channel-nixos branches in my forks:

$ sudo -H nix-channel --update
$ update-nixos-channel-branches.sh

@Eelco: I think the script could be run by hydra with only minor
modifications:
- channel and repo locations
- maybe branch name
- ssh key for hydra to push the branch to nixos/nixpkgs repos

regards
florian
-- 
Florian Friesdorf <flo at chaoflow.net>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: flo at chaoflow.net
IRC: chaoflow on freenode,ircnet,blafasel,OFTC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20120723/a31fb5c3/attachment.bin 


More information about the nix-dev mailing list