[ovirt-devel] VDSM fails 'autogen.sh' when shallow cloning - is that expected?

Yaniv Kaul ykaul at redhat.com
Tue Apr 12 18:57:59 UTC 2016


On Tue, Apr 12, 2016 at 9:46 PM, Nir Soffer <nsoffer at redhat.com> wrote:

> Trying new clone:
>
> $ time git clone https://github.com/oVirt/vdsm.git
> Cloning into 'vdsm'...
> remote: Counting objects: 47555, done.
> remote: Compressing objects: 100% (155/155), done.
> remote: Total 47555 (delta 76), reused 0 (delta 0), pack-reused 47400
> Receiving objects: 100% (47555/47555), 27.16 MiB | 435.00 KiB/s, done.
> Resolving deltas: 100% (35297/35297), done.
> Checking connectivity... done.
>
> real 0m43.045s
> user 0m3.650s
> sys 0m0.555s
>
> Are you sure you need to do a shallow clone?
>

It might be that the cloud provider of oVirt's gerrit is throttling
connections from the office, but the data size is ratio is huge:
mini at ykaul-mini:/tmp/github$ time git clone -b master --depth 1
https://github.com/oVirt/vdsm.git
Cloning into 'vdsm'...
remote: Counting objects: 924, done.
remote: Compressing objects: 100% (849/849), done.
remote: Total 924 (delta 181), reused 308 (delta 50), pack-reused 0
Receiving objects: 100% (924/924), *1.37 MiB* | 2.39 MiB/s, done.
Resolving deltas: 100% (181/181), done.
Checking connectivity... done.

real 0m2.059s
user 0m0.095s
sys 0m0.052s

mini at ykaul-mini:/tmp/github$ time git clone -b master
https://github.com/oVirt/vdsm.git vdsm-full
Cloning into 'vdsm-full'...
remote: Counting objects: 47555, done.
remote: Compressing objects: 100% (155/155), done.
remote: Total 47555 (delta 76), reused 0 (delta 0), pack-reused 47400
Receiving objects: 100% (47555/47555), *27.16 MiB* | 8.61 MiB/s, done.
Resolving deltas: 100% (35297/35297), done.
Checking connectivity... done.

real 0m4.795s
user 0m2.006s
sys 0m0.184s


So while I got much nicer speeds now on the non-shallow, I assume the
shallow should beat it always.
In any case, perhaps I should clone from Github...
Y.


> Nir
>
> On Tue, Apr 12, 2016 at 9:37 PM, Yaniv Kaul <ykaul at redhat.com> wrote:
> > Probably fails because of:
> > git describe
> > fatal: No names found, cannot describe anything.
> >
> >
> >
> > On Tue, Apr 12, 2016 at 9:32 PM, Yaniv Kaul <ykaul at redhat.com> wrote:
> >>
> >> Cloning VDSM with the following command:
> >> git clone -b master --depth 1 git://gerrit.ovirt.org/vdsm
> >>
> >> Which works, but then I can't run ./autogen.sh succesfully:
> >> mini at ykaul-mini:/tmp/github/vdsmshallow$ ./autogen.sh  |less
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> fatal: No names found, cannot describe anything.
> >> I am going to run ./configure with no arguments - if you wish
> >> to pass any to it, please specify them on the ./autogen.sh command line.
> >> configure: error: package version not defined
> >>
> >> As the difference is 1:10 in data size and I only wish to work on the
> tip,
> >> this could be very useful to me.
> >> Any ideas?
> >
> >
> >
> > _______________________________________________
> > Devel mailing list
> > Devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20160412/931ec68a/attachment-0001.html>


More information about the Devel mailing list