From: Stephen Hemminger <shemminger@vyatta.com>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: skimo@liacs.nl, skimo@kotnet.org,
Linus Torvalds <torvalds@linux-foundation.org>,
git@vger.kernel.org
Subject: Re: Submodules and rewind
Date: Tue, 19 Feb 2008 18:25:47 -0800 [thread overview]
Message-ID: <20080219182547.57ac6cc7@extreme> (raw)
In-Reply-To: <alpine.LSU.1.00.0802200217080.8333@wbgn129.biozentrum.uni-wuerzburg.de>
On Wed, 20 Feb 2008 02:22:14 +0100 (CET)
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Hi,
>
> On Tue, 19 Feb 2008, Stephen Hemminger wrote:
>
> > On Wed, 20 Feb 2008 02:06:36 +0100 (CET)
> > Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> >
> > > On Tue, 19 Feb 2008, Stephen Hemminger wrote:
> > >
> > > > $ git-submodule init
> > > > Submodule 'pkgs/linux-image-2.6.23-1-486-vyatta' (http://git.vyatta.com/linux-vyatta.git) registered for path 'pkgs/linux-image-2.6.23-1-486-vyatta'
> > >
> > > AFAICT this is your problem. Your urls are http:// url, and do not
> > > end in a slash.
> > >
> > > Yes, there was a fix recently, but apparently it was not enough.
> > > With the slash, it should even work on older git.
> >
> > That is a different issue. It worked before my messing around with the
> > vyatta-iproute.git repository.
>
> From your description:
>
> -- snip --
> In old repository
> $ git-submodule update
> ...
> Getting pack list for
> http://git.vyatta.com/home/shemminger/vyatta-iproute/.git/
> error: The requested URL returned error: 403
> error: Unable to find 8d971aff46015fc156d5b74254d21831d275963c under
> http://git.vyatta.com/vyatta-iproute.git
> Cannot obtain needed object 8d971aff46015fc156d5b74254d21831d275963c
> Unable to checkout '79b4dbe51b84fdf37fdc9cb8b17819526508a60c' in submodule
> path 'pkgs/vyatta-iproute'
> -- snap --
>
> So there was some type of invalid HTTP request, and then the hin tat 8d971
> was not found under http://.../vyatta-iproute.git (note the absence of the
> trailing slash). Of course, since it is 403 ("forbidden"), and not 30x
> (which I thought I read), it could be a different error altogether.
>
> In any case, this means that your submodule is not at all fine.
>
> Ciao,
> Dscho
>
The problem was that the rebuilt repository had an alternate file pointing to a
different and inaccessible location. Rebuilding again fixed the problem.
Thanks for your help.
prev parent reply other threads:[~2008-02-20 2:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-19 22:06 Submodules and rewind Stephen Hemminger
2008-02-19 22:32 ` Sven Verdoolaege
2008-02-19 23:23 ` Stephen Hemminger
2008-02-19 23:35 ` Johannes Schindelin
2008-02-20 0:15 ` Stephen Hemminger
2008-02-20 0:47 ` Linus Torvalds
2008-02-20 0:52 ` Stephen Hemminger
2008-02-20 1:06 ` Johannes Schindelin
2008-02-20 1:13 ` Stephen Hemminger
2008-02-20 1:22 ` Johannes Schindelin
2008-02-20 2:25 ` Stephen Hemminger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080219182547.57ac6cc7@extreme \
--to=shemminger@vyatta.com \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
--cc=skimo@kotnet.org \
--cc=skimo@liacs.nl \
--cc=torvalds@linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).