summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker-compose/docker-compose_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-containers/docker-compose/docker-compose_git.bb')
-rw-r--r--recipes-containers/docker-compose/docker-compose_git.bb13
1 files changed, 11 insertions, 2 deletions
diff --git a/recipes-containers/docker-compose/docker-compose_git.bb b/recipes-containers/docker-compose/docker-compose_git.bb
index 05f31a21..ccb36a16 100644
--- a/recipes-containers/docker-compose/docker-compose_git.bb
+++ b/recipes-containers/docker-compose/docker-compose_git.bb
@@ -11,8 +11,17 @@ SRCREV_FORMAT = "compose"
11 11
12SRC_URI = "git://github.com/docker/compose;branch=main;name=compose;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}" 12SRC_URI = "git://github.com/docker/compose;branch=main;name=compose;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
13 13
14include go-mod-git.inc 14# GO_MOD_FETCH_MODE: "vcs" (all git://) or "hybrid" (gomod:// + git://)
15include go-mod-cache.inc 15GO_MOD_FETCH_MODE ?= "hybrid"
16
17# VCS mode: all modules via git://
18include ${@ "go-mod-git.inc" if d.getVar("GO_MOD_FETCH_MODE") == "vcs" else ""}
19include ${@ "go-mod-cache.inc" if d.getVar("GO_MOD_FETCH_MODE") == "vcs" else ""}
20
21# Hybrid mode: gomod:// for most, git:// for selected
22include ${@ "go-mod-hybrid-gomod.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""}
23include ${@ "go-mod-hybrid-git.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""}
24include ${@ "go-mod-hybrid-cache.inc" if d.getVar("GO_MOD_FETCH_MODE") == "hybrid" else ""}
16 25
17LICENSE = "Apache-2.0" 26LICENSE = "Apache-2.0"
18LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=175792518e4ac015ab6696d16c4f607e" 27LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=175792518e4ac015ab6696d16c4f607e"