[OpenStack-docs] Are there minimum git clone for tox and git-review?

Andreas Jaeger aj at suse.com
Fri Aug 28 18:16:31 UTC 2015


On 08/28/2015 04:40 PM, Atsushi SAKAI wrote:
>
> I am trying to shorting git clone for tox and git-review.
> This is for saving disk space and tox execution time.
>
> Just for tox execution, git clone minimum requirement seems to be follows
>    (if I set --depth 1, tox execution failed.)
>
>    git clone --depth 2 http://github.com/openstack/openstack-manuals
>
>      For openstack-manuals case, data size becomes 800MB to 200MB.
>
> But above configuration, I cannot do git-review (i.e. failed)
>
>
> Is there any way to minimize git clone datasize for git-review?

Why are you doing it?

If you create a separate branch for each change as suggested in the 
Developer's manual 
http://docs.openstack.org/infra/manual/developers.html#starting-a-change 
, you clone each repository once and afterwards only update- and switch 
branches,

Andreas
-- 
  Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi
   SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
    GF: Felix Imendörffer, Jane Smithard, Graham Norton,
        HRB 21284 (AG Nürnberg)
     GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126




More information about the OpenStack-docs mailing list