[libvirt] GITHUB readonly mirror site

FYI, further to the previous discussion I have created a libvirt organization on github and populated the repositories we have. They are setup in read-only mode and are synced from main libvirt repo automagically. https://github.com/libvirtproject Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On 05/22/2015 08:55 AM, Daniel P. Berrange wrote:
FYI, further to the previous discussion I have created a libvirt organization on github and populated the repositories we have. They are setup in read-only mode and are synced from main libvirt repo automagically.
Another read-only git mirror has been running for some time at: http://repo.or.cz/w/libvirt.git for anyone that doesn't want to be forced to use github's non-free Javascript. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On Fri, May 22, 2015 at 01:09:35PM -0600, Eric Blake wrote:
On 05/22/2015 08:55 AM, Daniel P. Berrange wrote:
FYI, further to the previous discussion I have created a libvirt organization on github and populated the repositories we have. They are setup in read-only mode and are synced from main libvirt repo automagically.
Another read-only git mirror has been running for some time at: http://repo.or.cz/w/libvirt.git for anyone that doesn't want to be forced to use github's non-free Javascript.
We should probably update the website to list the 3 different readonly mirrors we have now. Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

Awesome! Although seems that my favorite repo is blank at the moment, any ideas about *ruby-libvirt*? -------------------------------------------- Charlie Drage GPG [FE8E 8D18] [charliedrage.com/public.key] -------------------------------------------- On Fri, May 22, 2015 at 10:55 AM, Daniel P. Berrange <berrange@redhat.com> wrote:
FYI, further to the previous discussion I have created a libvirt organization on github and populated the repositories we have. They are setup in read-only mode and are synced from main libvirt repo automagically.
https://github.com/libvirtproject
Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

On Fri, May 22, 2015 at 03:20:12PM -0400, Charlie Drage wrote:
Awesome!
Although seems that my favorite repo is blank at the moment, any ideas about *ruby-libvirt*?
Yeah, there are a couple of repos that I have some trouble pushing due to bad historical commits that are now rejected :-( In cimtest.git remote: error: object e710038e2b044a2ed12e0abfe814f046880186f2:invalid author/committer line - missing space before email remote: fatal: Error in object error: pack-objects died of signal 13 error: pack-objects died with strange error error: failed to push some refs to 'git@gitlab.com:libvirt/cimtest.git' remote: error: object e710038e2b044a2ed12e0abfe814f046880186f2:invalid author/committer line - missing space before email remote: fatal: Error in object error: unpack failed: index-pack abnormal exit In libvirt-ocaml.git remote: error: object fe513a732d629995ec22cfaa195a5ab8e499bceb:invalid author/committer line - bad date remote: fatal: Error in object error: unpack failed: index-pack abnormal exit To git@gitlab.com:libvirt/libvirt-ocaml.git ! [remote rejected] master -> master (unpacker error) error: failed to push some refs to 'git@gitlab.com:libvirt/libvirt-ocaml.git' remote: error: object fe513a732d629995ec22cfaa195a5ab8e499bceb:invalid author/committer line - bad date remote: fatal: Error in object error: unpack failed: index-pack abnormal exit To git@github.com:libvirtproject/libvirt-ocaml.git And in ruby-libvirt.git remote: error: object acb8c8a2c6b3b33cf02c4f03eeb8bc0b803e6b24:invalid author/committer line - bad date remote: fatal: Error in object error: pack-objects died of signal 13 error: pack-objects died with strange error error: failed to push some refs to 'git@gitlab.com:libvirt/ruby-libvirt.git' remote: error: object acb8c8a2c6b3b33cf02c4f03eeb8bc0b803e6b24:invalid author/committer line - bad date remote: fatal: Error in object error: unpack failed: index-pack abnormal exit I've been reading up online and AFAICT, the only way to fix this is to re-write GIT history entirely in the affected repos. This doesn't change the content, but it'll invalidate everyone's current checkouts :-( Perhaps these 3 modules are niche / small enough that we're fine rewriting history....or maybe Eric knows another workaround ? Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On 05/22/2015 02:13 PM, Daniel P. Berrange wrote:
Yeah, there are a couple of repos that I have some trouble pushing due to bad historical commits that are now rejected :-(
I've been reading up online and AFAICT, the only way to fix this is to re-write GIT history entirely in the affected repos. This doesn't change the content, but it'll invalidate everyone's current checkouts :-(
Yeah, that's my understanding as well. Updating to new commit ids is not too bad (all the content is the same, so it is just commits and not file revisions being updated), but it does require downstream checkouts to do a non-fast-forward. As long as we publicize it correctly, I don't think it will hurt too many people.
Perhaps these 3 modules are niche / small enough that we're fine rewriting history....or maybe Eric knows another workaround ?
'git help replace' will teach you about git grafts (reparenting a tree on top of a fixed commit), where people who have cloned from the old representation don't have to rebase, but new clones pick up the new history. http://git-scm.com/blog/2010/03/17/replace.html But I don't know if that will help the situation any (other than 'git replace' makes it easier to to a 'git filter-branch' that rewrites history correctly). -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On Fri, May 22, 2015 at 4:13 PM, Daniel P. Berrange <berrange@redhat.com> wrote:
And in ruby-libvirt.git
remote: error: object acb8c8a2c6b3b33cf02c4f03eeb8bc0b803e6b24:invalid author/committer line - bad date remote: fatal: Error in object error: pack-objects died of signal 13 error: pack-objects died with strange error error: failed to push some refs to 'git@gitlab.com:libvirt/ruby-libvirt.git' remote: error: object acb8c8a2c6b3b33cf02c4f03eeb8bc0b803e6b24:invalid author/committer line - bad date remote: fatal: Error in object error: unpack failed: index-pack abnormal exit
I've been reading up online and AFAICT, the only way to fix this is to re-write GIT history entirely in the affected repos. This doesn't change the content, but it'll invalidate everyone's current checkouts :-(
Perhaps these 3 modules are niche / small enough that we're fine rewriting history....or maybe Eric knows another workaround ?
Honestly, I have very few committers on ruby-libvirt besides myself, so I would be OK rewriting history on it. I'm definitely not going to get to it this weekend, but I could get to it next week if someone else doesn't get to it first. Just let me know if someone does it :). Chris

On Fri, May 22, 2015 at 7:48 PM, Chris Lalancette <clalancette@gmail.com> wrote:
On Fri, May 22, 2015 at 4:13 PM, Daniel P. Berrange <berrange@redhat.com> wrote:
And in ruby-libvirt.git
remote: error: object acb8c8a2c6b3b33cf02c4f03eeb8bc0b803e6b24:invalid author/committer line - bad date
Hey Dan, Sorry it took a while, but I re-wrote the history on ruby-libvirt to get rid of the problematic commit. You should now be able to mirror ruby-libvirt on github. Let me know if there are any other problems. Thanks, Chris

On Sun, May 31, 2015 at 07:40:37PM -0400, Chris Lalancette wrote:
On Fri, May 22, 2015 at 7:48 PM, Chris Lalancette <clalancette@gmail.com> wrote:
On Fri, May 22, 2015 at 4:13 PM, Daniel P. Berrange <berrange@redhat.com> wrote:
And in ruby-libvirt.git
remote: error: object acb8c8a2c6b3b33cf02c4f03eeb8bc0b803e6b24:invalid author/committer line - bad date
Hey Dan, Sorry it took a while, but I re-wrote the history on ruby-libvirt to get rid of the problematic commit. You should now be able to mirror ruby-libvirt on github. Let me know if there are any other problems.
Thanks, I've successfully push to gitlab & github mirrors now Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Mon, 2015-06-01 at 09:26 +0100, Daniel P. Berrange wrote:
Thanks, I've successfully push to gitlab & github mirrors now
Both gitlab and github mirrors seem to have stopped working on July 6, at least for the libvirt repository; Other repositories such as libvirt-glib seem to be okay. Cheers. -- Andrea Bolognani Software Engineer - Virtualization Team

On 05/22/2015 10:55 AM, Daniel P. Berrange wrote:
FYI, further to the previous discussion I have created a libvirt organization on github and populated the repositories we have. They are setup in read-only mode and are synced from main libvirt repo automagically.
So github support released the parked github.com/libvirt account. I created an organization there and gave you admin access but I didn't do anything else, so no one else can grab it in the interim. The support guy said you can rename accounts, but not sure if that's specific to user accounts or applies to groups as well. But if it works for groups maybe we can delete the /libvirt group and move /libvirtproject to /libvirt so we don't need to re-sync - Cole

On Fri, May 22, 2015 at 05:15:22PM -0400, Cole Robinson wrote:
On 05/22/2015 10:55 AM, Daniel P. Berrange wrote:
FYI, further to the previous discussion I have created a libvirt organization on github and populated the repositories we have. They are setup in read-only mode and are synced from main libvirt repo automagically.
So github support released the parked github.com/libvirt account. I created an organization there and gave you admin access but I didn't do anything else, so no one else can grab it in the interim.
The support guy said you can rename accounts, but not sure if that's specific to user accounts or applies to groups as well. But if it works for groups maybe we can delete the /libvirt group and move /libvirtproject to /libvirt so we don't need to re-sync
Excellant, I'll investigate this. I wasn't expecting them to be willing to just release someone else's account in that way Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Tue, May 26, 2015 at 11:21:06AM +0100, Daniel P. Berrange wrote:
On Fri, May 22, 2015 at 05:15:22PM -0400, Cole Robinson wrote:
On 05/22/2015 10:55 AM, Daniel P. Berrange wrote:
FYI, further to the previous discussion I have created a libvirt organization on github and populated the repositories we have. They are setup in read-only mode and are synced from main libvirt repo automagically.
So github support released the parked github.com/libvirt account. I created an organization there and gave you admin access but I didn't do anything else, so no one else can grab it in the interim.
The support guy said you can rename accounts, but not sure if that's specific to user accounts or applies to groups as well. But if it works for groups maybe we can delete the /libvirt group and move /libvirtproject to /libvirt so we don't need to re-sync
Excellant, I'll investigate this. I wasn't expecting them to be willing to just release someone else's account in that way
What I did in the end was to delete /libvirt and rename /libvirtproject to /libvirt, which was pretty trivial Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|

On Fri, May 22, 2015 at 03:55:45PM +0100, Daniel P. Berrange wrote:
FYI, further to the previous discussion I have created a libvirt organization on github and populated the repositories we have. They are setup in read-only mode and are synced from main libvirt repo automagically.
Thanks to Cole & github support we have now moved URLs to our preferred https://github.com/libvirt Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
participants (6)
-
Andrea Bolognani
-
Charlie Drage
-
Chris Lalancette
-
Cole Robinson
-
Daniel P. Berrange
-
Eric Blake