[libvirt] 答复: how to make syntax-check on tar-tall released-version

Daniel P. Berrange berrange at redhat.com
Mon Jun 27 08:02:50 UTC 2016


On Sat, Jun 25, 2016 at 12:49:41AM +0000, Zhangbo (Oscar) wrote:
> >> Hi all:
> >>     I downloaded libvirt v1.3.4 from http://libvirt.org/sources, and try to
> >make syntax-check inside the code tree.
> >>     But I encounted with many problems, first, I need to have file .gitignore
> >and directory .git, and then have gnulib, many problems still comes out after
> >that.
> >>     I still have not fixed the problems until now.
> >>     So what's the right way to make syntax-check on released-version libvirt
> >project? Thanks in advance.
> >
> >You're not. The syntax-check rule is for developers to use before
> >merging code to git master. There's no reason to use it on released
> >versions
> >
> 
> Here's my situation: I want to use libvirt v1.3.4 as my own git base, the steps are:
> 1 Download libvirt v1.3.4 from http://libvirt.org/sources
> 2 add .gitignore inside the code tree
> 3 run "git init" to generate my own git tree
> 4 do some develop work
> 5 FAILED to do make syntax-check
> 
> If we want to have our own git repository, what's the right way to do?
> Is it necessary to do "git fork" rather than "git init" to do development
> work?

Why on earth are you even doing this. Just clone the real git repository
in the normal manner. We always want all patches to be submitted against
git master, not released versions. Even if you did want to work on an
old release, you can just checkout the vN.N.N-maint branch from the main
git repo.

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




More information about the libvir-list mailing list