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

[libvirt] [PATCH 0/4] maint: improve bootstrap

My biggest motivation in writing this patch series is the fact that I
already have the complete gnulib.git on my hard drive, and repeatedly
doing shallow clones of gnulib into multiple projects gets expensive
in both network traffic and disk space.  With this series, it is now
possible to do:

GNULIB_SRCDIR=/path/to/reference/gnulib.git ./autogen.sh

so that the .gnulib subdirectory will exploit git's --reference
capabilities rather than re-download all the files from scratch; it
also results in less disk usage.  The only caveat is that you should
make sure that your reference gnulib.git is never rewound beyond
contents referred to by a submodule, so that you never risk creating
delta objects in the client repositories that would break if the
reference module eventually prunes objects rendered unused by the
rewind (in practice, this is only a problem if you are prone to
pointing the .gnulib submodule to a non-published commit, in order to
test out pending changes to gnulib.git, and can be avoided by doing
your gnulib development in a different directory than in the reference
gnulib.git that only tracks upstream).

 .gitignore           |   20 +-
 autogen.sh           |   21 +-
 bootstrap            |  852 +++++++++++++++++++++++++++++++++++++++++++++-----
 bootstrap.conf       |  145 +++++++++
 build-aux/.gitignore |   12 +-
 po/.gitignore        |   26 +-
 po/Makevars          |   41 ---
 7 files changed, 967 insertions(+), 150 deletions(-)

Eric Blake (4):
      maint: fix quoting in autogen.sh
      maint: start factoring bootstrap
      maint: import modern bootstrap
      maint: sort .gitignore

Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

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