Skip to contentSkip to conversation

go-metalinter: deprecate and remove it from podman's DEPENDS

PATCH In review [email protected] 2 participants 2 messages Jan 8, 2025 – Jan 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 go-metalinter: deprecate and remove it from podman's DEPENDS

From: Chen Qi <[email protected]>

This package is pure source package and its only user is podman's DEPENDS. The current podman does not need it to be built successfully. So let's remove it from podman's DEPENDS and make it deprecated.

---
 recipes-containers/podman/podman_git.bb  | 1 -
 recipes-devtools/go/go-metalinter_git.bb | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
recipes-containers/podman/podman_git.bb +0 -1
index 41bb419a..01644163 100644
@@ -10,7 +10,6 @@ inherit features_check
 REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6"
 
 DEPENDS = " \
-    go-metalinter-native \
     gpgme \
     libseccomp \
     ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
recipes-devtools/go/go-metalinter_git.bb +2 -0
index def3d063..5adab2d6 100644
@@ -16,6 +16,8 @@ PV = "0.0+git"
 
 S = "${WORKDIR}/git"
 
+inherit meta-virt-depreciated-warning
+
 do_install() {
 	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
 	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
Signature · 1 line
2.25.1
#1 lore raw

I've staged this patch.

I only took the podman dependency part, I won't depreciate it just yet.

Bruce

In message: [meta-virtualization][PATCH] go-metalinter: deprecate and remove it from podman's DEPENDS

Quoted 50 lines · on 08/01/2025 Chen Qi via lists.yoctoproject.org wrote:

From: Chen Qi <[email protected]>

This package is pure source package and its only user is podman's DEPENDS. The current podman does not need it to be built successfully. So let's remove it from podman's DEPENDS and make it deprecated.

---
 recipes-containers/podman/podman_git.bb  | 1 -
 recipes-devtools/go/go-metalinter_git.bb | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
recipes-containers/podman/podman_git.bb +0 -1
index 41bb419a..01644163 100644
@@ -10,7 +10,6 @@ inherit features_check
 REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6"
 
 DEPENDS = " \
-    go-metalinter-native \
     gpgme \
     libseccomp \
     ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
recipes-devtools/go/go-metalinter_git.bb +2 -0
index def3d063..5adab2d6 100644
@@ -16,6 +16,8 @@ PV = "0.0+git"
 
 S = "${WORKDIR}/git"
 
+inherit meta-virt-depreciated-warning
+
 do_install() {
 	install -d ${D}${prefix}/local/go/src/${PKG_NAME}
 	cp -r ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/
Signature · 11 lines
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#9079): https://lists.yoctoproject.org/g/meta-virtualization/message/9079
Mute This Topic: https://lists.yoctoproject.org/mt/110493737/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-