yq: remove .git suffix for cobra component
PATCH 1/1 yq: remove .git suffix for cobra component
From: Mingli Yu <[email protected]>
Remove the '.git' suffix of the cobra in SRC_URI to make the cobra SRC_URI exactly the same among the recipes which define cobra to make sure two local git repos (Yocto supports fetching locally) which are the same.
Signed-off-by Mingli Yu <[email protected]>
--- recipes-devtools/yq/yq_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/yq/yq_git.bb +1 -1
@@ -27,7 +27,7 @@ SRCREV_FORMAT = "yq_color" SRC_URI = "git://${GO_IMPORT};name=yq;branch=master;protocol=https \ git://github.com/fatih/color;name=color;destsuffix=build/vendor/src/github.com/fatih/color;branch=main;protocol=https \ git://github.com/goccy/go-yaml;name=lexer;destsuffix=build/vendor/src/github.com/goccy/go-yaml/;branch=master;protocol=https \ - git://github.com/spf13/cobra.git;name=cobra;nobranch=1;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \ + git://github.com/spf13/cobra;name=cobra;nobranch=1;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \ git://github.com/spf13/pflag;name=pflag;destsuffix=build/vendor/src/github.com/spf13/pflag;branch=master;protocol=https \ git://github.com/op/go-logging.git;name=logging;destsuffix=build/vendor/src/gopkg.in/op/go-logging.v1;branch=master;protocol=https \ git://github.com/go-yaml/yaml.git;name=yaml;branch=v3;destsuffix=build/vendor/src/gopkg.in/yaml.v3;protocol=https \
Signature · 1 line
2.25.1
merged.
Bruce
In message: [PATCH] yq: remove .git suffix for cobra component
Quoted 28 lines · on 02/03/2023 [email protected] wrote:
From: Mingli Yu <[email protected]>
Remove the '.git' suffix of the cobra in
SRC_URIto make the cobraSRC_URIexactly the same among the recipes which define cobra to make sure two local git repos (Yocto supports fetching locally) which are the same.Signed-off-by Mingli Yu <[email protected]>--- recipes-devtools/yq/yq_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)recipes-devtools/yq/yq_git.bb +1
-1@@ -27,7 +27,7 @@ SRCREV_FORMAT = "yq_color" SRC_URI = "git://${GO_IMPORT};name=yq;branch=master;protocol=https \ git://github.com/fatih/color;name=color;destsuffix=build/vendor/src/github.com/fatih/color;branch=main;protocol=https \ git://github.com/goccy/go-yaml;name=lexer;destsuffix=build/vendor/src/github.com/goccy/go-yaml/;branch=master;protocol=https \ - git://github.com/spf13/cobra.git;name=cobra;nobranch=1;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \ + git://github.com/spf13/cobra;name=cobra;nobranch=1;destsuffix=build/vendor/src/github.com/spf13/cobra;branch=main;protocol=https \ git://github.com/spf13/pflag;name=pflag;destsuffix=build/vendor/src/github.com/spf13/pflag;branch=master;protocol=https \ git://github.com/op/go-logging.git;name=logging;destsuffix=build/vendor/src/gopkg.in/op/go-logging.v1;branch=master;protocol=https \ git://github.com/go-yaml/yaml.git;name=yaml;branch=v3;destsuffix=build/vendor/src/gopkg.in/yaml.v3;protocol=https \Signature · 1 line
2.25.1