]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
recipetool: Disregard version in URL for replaced modules
authorVyacheslav Yurkov <uvv.mail@gmail.com>
Tue, 16 Jan 2024 08:23:24 +0000 (09:23 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 19 Jan 2024 11:53:56 +0000 (11:53 +0000)
commit0cccfa1041d48f0ae3a2dc89a129cf7884fc08f0
tree7f15680194feb548de09010af3b3d12d8b888d74
parent5ca920284d0946346f5b06f5e443c80d9d8b85ce
recipetool: Disregard version in URL for replaced modules

Major module version is a part of name, but not necessary part of the
actual URL (See https://go.dev/ref/mod#module-path).

Nevertheless, name detection function can't handle that suffix, so get
rid of it to determine component name.

For replaced modules that name might be different that the actual module
name defined in go.mod file.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_go.py