Hi Nicolas, hi Eelco,

On Sat, 21 Jul 2012 20:15:55 -0700, Nicolas Pierron 
<[email protected]> 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 <[email protected]>
  GPG FPR: 7A13 5EEE 1421 9FC2 108D  BAAF 38F8 99A3 0C45 F083
Jabber/XMPP: [email protected]
IRC: chaoflow on freenode,ircnet,blafasel,OFTC

Attachment: pgpY12FH5dILk.pgp
Description: PGP signature

_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to