[bitbake-devel] [PATCH] fetch/git: Change to use clearer ssh url syntax for broken servers
Olof Johansson
olof.johansson at axis.com
Thu Jan 14 17:07:52 UTC 2016
On 16-01-14 08:51 -0800, Andre McCurdy wrote:
> > I'm not sure there is one other than special casing bitbucket urls in
> > the fetcher.
>
> But I don't think there is any problem with BitBucket. The original
> bug report was caused by trying to use a URL with a ':' between the
> host and the repo path. A URL like that does not work when prefixed by
> ssh://, it's the same for GitHub URLs too.
Indeed, the reported URL is not an RFC 3986 comformant URI. While
ssh://example.com:/username/project.git
would be a kind of valid URI (the RFC doesn't forbid having an
empty port, see section 3.2.3), not having a path delimiter at
all however is not allowed. And fixing this by breaking RFC
comformant use cases is very suprising to me.
--
olofjn
More information about the bitbake-devel
mailing list