[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] RFC: Splitting python binding out into a separate repo & ading to PyPi



On Fri, Aug 30, 2013 at 10:18:19AM +0200, Christophe Fergeau wrote:
> On Fri, Aug 30, 2013 at 03:27:42PM +0800, Daniel Veillard wrote:
> > On the other hand moving to a separate repo would likely lose our git history
> > (not sure if we can keep it, i doubt) which would be a bummer IMHO.
> 
> You can use git filter-branch to extract the python bindings (assuming it's self
> contained in the python/ directory) while keeping history:
> 
> « To rewrite the repository to look as if foodir/ had been its project root,
> and discard all other history:
> 
> 
>     git filter-branch --subdirectory-filter foodir -- --all
> »
> (this example comes from git filter-branch manpage)

Yes, upon splitting them, I'd absolutely want to keep the git history
intact for the python part of the tree.

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 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]