[Nix-dev] Lots of "noise" and odd branches in nixpkgs

Peter Hoeg peter at hoeg.com
Tue Feb 28 16:14:37 CET 2017


All,

A little earlier, I accidentally pushed a lot of branches to nixpkgs and
subsequently removed them again.

I *believe* that what happened was this:

a) I have a script that descends into a directory containing all the
repositories that I normally work on and pushes all local branches to
"origin" to ensure that work done on local branches is available on both
the work desktop and laptop.

b) My work desktop had a kernel panic during a reboot y'day

c) My local nixpkgs clone ended up getting corrupted (in addition to a
few other repos) to the point where I couldn't even do "git status"
(btrfs doesn't seem to like uncontrolled reboots...)

d) I moved my nixpkgs clone to "nixpkgs.broken" and re-cloned from github

e) Then I ran the sync script which eventually got to "nixpkgs.broken"....


So I think what happened was that with the corrupted git repository, git
ended up pushing to "upstream" instead of "origin" and this is how we
suddenly got about 45 extra branches on nixpkgs.

I very sorry about the noise.

Should anybody find themselves in Singapore, let me buy you beer.

--
Regards,
Peter


More information about the nix-dev mailing list