Skip to contentSkip to conversation

docker-moby: Fix branch value

PATCH In review Theodore A. Roth 2 participants 2 messages Aug 2, 2024 – Aug 3, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docker-moby: Fix branch value

From: "Theodore A. Roth" <[email protected]>

The upstream git repo does not have a 27.0 branch. It is 27.x. This is causing fetch errors.

    ERROR: docker-moby-27.0.3+git7fa33a539a2054417c8aacdd7f92e3f8e50f1dff-r0 \
        do_fetch: Fetcher failure: Unable to find revision \
        7fa33a539a2054417c8aacdd7f92e3f8e50f1dff in branch 27.0 even from upstream
    ERROR: docker-moby-27.0.3+git7fa33a539a2054417c8aacdd7f92e3f8e50f1dff-r0 \
        do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from \
        any source.', 'git://github.com/moby/moby.git;branch=27.0;name=moby;protocol=https;destsuffix=git/src/import/')
---
 recipes-containers/docker/docker-moby_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-containers/docker/docker-moby_git.bb +2 -2
index b4576de9..16675d21 100644
@@ -49,9 +49,9 @@ SRCREV_libnetwork = "67e0588f1ddfaf2faf4c8cae8b7ea2876434d91c"
 SRCREV_cli = "d41cb083c352853f94b292a87df4859c4a96dcc2"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
-	git://github.com/moby/moby.git;branch=27.0;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
+	git://github.com/moby/moby.git;branch=27.x;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
 	git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
-	git://github.com/docker/cli;branch=27.0;name=cli;destsuffix=git/cli;protocol=https \
+	git://github.com/docker/cli;branch=27.x;name=cli;destsuffix=git/cli;protocol=https \
 	file://docker.init \
 	file://0001-libnetwork-use-GO-instead-of-go.patch \
         file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
Signature · 1 line
2.34.1
#1 lore raw
Quoted 5 lines · Theodore A. Roth

From: "Theodore A. Roth" <[email protected]>

The upstream git repo does not have a 27.0 branch. It is 27.x. This is causing fetch errors.

To be accurate, they *changed* the upstream branch.

One means that the integration was incorrect, the other means that the upstream project is behaving antisocially.

I'm actually going to set this to nobranch, since I've lost faith in the way they manage their repo.

Bruce

Quoted 33 lines
    ERROR: docker-moby-27.0.3+git7fa33a539a2054417c8aacdd7f92e3f8e50f1dff-r0 \
        do_fetch: Fetcher failure: Unable to find revision \
        7fa33a539a2054417c8aacdd7f92e3f8e50f1dff in branch 27.0 even from upstream
    ERROR: docker-moby-27.0.3+git7fa33a539a2054417c8aacdd7f92e3f8e50f1dff-r0 \
        do_fetch: Bitbake Fetcher Error: FetchError('Unable to fetch URL from \
        any source.', 'git://github.com/moby/moby.git;branch=27.0;name=moby;protocol=https;destsuffix=git/src/import/')
---
 recipes-containers/docker/docker-moby_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-containers/docker/docker-moby_git.bb +2 -3
index b4576de9..16675d21 100644
@@ -49,9 +49,9 @@ SRCREV_libnetwork = "67e0588f1ddfaf2faf4c8cae8b7ea2876434d91c"
 SRCREV_cli = "d41cb083c352853f94b292a87df4859c4a96dcc2"
 SRCREV_FORMAT = "moby_libnetwork"
 SRC_URI = "\
-       git://github.com/moby/moby.git;branch=27.0;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
+       git://github.com/moby/moby.git;branch=27.x;name=moby;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
        git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \
-       git://github.com/docker/cli;branch=27.0;name=cli;destsuffix=git/cli;protocol=https \
+       git://github.com/docker/cli;branch=27.x;name=cli;destsuffix=git/cli;protocol=https \
        file://docker.init \
        file://0001-libnetwork-use-GO-instead-of-go.patch \
         file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \
--

2.34.1

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II