[Nix-dev] nixpkgs/ nixos playground for sharing work and patches
Marc Weber
marco-oweber at gmx.de
Tue Jun 26 16:32:37 CEST 2012
log into github, there you can become a member for both gists yourself
somehow:
nixpkgs: https://gist.github.com/2995910
public git://github.com/NixOS/nixpkgs.git
private (push): git remote add gist git at gist.github.com:2995910.git
nixos: https://gist.github.com/2995911
public git://github.com/NixOS/nixos.git
private (push): git remote add gist git at gist.github.com:2995911.git
Thus if you run
git remote add gist ..
Then you can push to the repositories by
git push gist your-branch
and fetch everything by
git fetch gist
or cleanup (git remote prune gist; git gc)
IMPORTANT: This is experimental. I have not checked when github deletes
gists - so keep local copies (you will have them anyway).
As policy I'd just recommend using branch names such as:
need-help/... for patches you need help with
review/... for patches you want to be reviewed
feed-upstream/... which should be ready for merging upstream
complicated patches should be kept here for a week so
that they can be commented on the mailinglist.
attick/... when cleaning up branches could be moved here.
YOUR_NAME/... your personal stuff
experimental/... things which may go to review/ or feed-upstream one day
Everything else is up to your liking.
Sample workflow:
git branch need-help/gcc-experiments
git push gist need-help/gcc-experiments
# write to mailinglist, people can create # gcc-experiments-proposal-{1,2,3} or the like
Then the patch could be moved to review/ or feed-upstream by
git branch -m feed-upstream/gcc-experiments
# push new:
git push gist feed-upstream/gcc-experiments
# delete old location:
git push gist :need-help/gcc-experiments
Now people can do git fetch once every 4 days and see what's new, in
progress, pending, urgent whatsoever.
I hope that both: nix-free (if it ever survives the following X weeks)
and nixos members enjoy using these playgrounds.
Its not perfect but will make it easy to understand whats going on.
(still pushing master to the nixpkgs gist)
Marc Weber
More information about the nix-dev
mailing list