[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: issues with git submodules and `bootstrap'
From: |
Werner LEMBERG |
Subject: |
Re: issues with git submodules and `bootstrap' |
Date: |
Tue, 10 Jan 2012 19:40:21 +0100 (CET) |
>> . First of all, there is some user-unfriendliness: Without
>> installing a gnulib submodule for project `foo', just invoking
>> the `bootstrap' script in the `foo' directory' without any
>> arguments gives
>>
>> ./bootstrap: line 610: gnulib/gnulib-tool: No such file or directory
>>
>> This looks like a bug in the script, which it isn't actually.
>> Maybe `bootstrap' can be improved to emit a suggestion how to
>> proceed.
>
> Patches welcome.
Well, it seems there are more problems both with documentation and
probably with the code.
After doing the incantation described in section 2.8 of gnulib.pdf,
namely
$ dir=.gnulib
$ git submodule add -- git://git.sv.gnu.org/gnulib.git $dir
the user has to commit the submodule setup to the repository. It's
probably worth to mention this.
However, if I now say `git config --file .gitmodules --list' (I
haven't touched the data within `.gitmodules'), I see
submodule..gnulib.path=.gnulib
submodule..gnulib.url=git://git.sv.gnu.org/gnulib.git
Note the double dot. Interestingly, the name of the submodule is
taken from the directory location, not the repository name. Maybe a
git bug? I'm using version 1.7.8.
> ./bootstrap --gnulib-srcdir=/path/to/reference
This works fine, thanks.
Werner
- import question, Werner LEMBERG, 2012/01/08
- Re: import question, Jim Meyering, 2012/01/08
- Re: import question, Bruno Haible, 2012/01/08
- issues with git submodules and `bootstrap', Werner LEMBERG, 2012/01/10
- Re: issues with git submodules and `bootstrap', Werner LEMBERG, 2012/01/10
- Re: issues with git submodules and `bootstrap', Eric Blake, 2012/01/10
- Re: issues with git submodules and `bootstrap', Werner LEMBERG, 2012/01/11
- Re: issues with git submodules and `bootstrap', Gary V. Vaughan, 2012/01/11
- Re: issues with git submodules and `bootstrap', Werner LEMBERG, 2012/01/11
- Re: issues with git submodules and `bootstrap', Gary V. Vaughan, 2012/01/11
- Re: issues with git submodules and `bootstrap', Simon Josefsson, 2012/01/11
- Re: issues with git submodules and `bootstrap', Gary V. Vaughan, 2012/01/11