[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] bootstrap: allow non-submodule control of gnulib
From: |
Bruno Haible |
Subject: |
Re: [PATCH] bootstrap: allow non-submodule control of gnulib |
Date: |
Mon, 09 Apr 2018 11:43:54 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-119-generic; KDE/5.18.0; x86_64; ; ) |
Hi Colin,
> Some projects prefer to avoid git submodules for various reasons (they
> have rather strange UI), but at present they're the only way to pin a
> particular gnulib commit. Add a couple of extra variables which can be
> set in bootstrap.conf to control this separately.
>
> * build-aux/bootstrap: Honour GNULIB_URL and GNULIB_REVISION in
> bootstrap.conf when fetching gnulib using "git clone" or via
> GNULIB_SRCDIR.
With this change, the question "Which command-line options should I pass
to 'bootstrap', and which environment variables should I set before
invoking bootstrap?" has more than a single-sentence answer.
Since we don't have a bootstrap.texi documentation, I would suggest to
add such documentation to the 'bootstrap --help' output.
This documentation would need to cover
* --no-git
* --gnulib-srcdir
* GNULIB_SRCDIR
* GNULIB_REVISION
* GNULIB_URL
* In which cases is a submodule being created, in which not?
Bruno