* [PATCH] yq: remove .git suffix for cobra component
@ 2023-03-02 5:45 mingli.yu
2023-03-02 21:31 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: mingli.yu @ 2023-03-02 5:45 UTC (permalink / raw)
To: meta-virtualization, bruce.ashfield
From: Mingli Yu <mingli.yu@windriver.com>
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 <mingli.yu@windriver.com>
---
recipes-devtools/yq/yq_git.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb
index 755a6982..45f2f970 100644
--- a/recipes-devtools/yq/yq_git.bb
+++ b/recipes-devtools/yq/yq_git.bb
@@ -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 \
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] yq: remove .git suffix for cobra component
2023-03-02 5:45 [PATCH] yq: remove .git suffix for cobra component mingli.yu
@ 2023-03-02 21:31 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2023-03-02 21:31 UTC (permalink / raw)
To: mingli.yu; +Cc: meta-virtualization
merged.
Bruce
In message: [PATCH] yq: remove .git suffix for cobra component
on 02/03/2023 mingli.yu@eng.windriver.com wrote:
> From: Mingli Yu <mingli.yu@windriver.com>
>
> 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 <mingli.yu@windriver.com>
> ---
> recipes-devtools/yq/yq_git.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb
> index 755a6982..45f2f970 100644
> --- a/recipes-devtools/yq/yq_git.bb
> +++ b/recipes-devtools/yq/yq_git.bb
> @@ -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 \
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-03-02 21:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-02 5:45 [PATCH] yq: remove .git suffix for cobra component mingli.yu
2023-03-02 21:31 ` Bruce Ashfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.