All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Use SRCPV instead of SRCREV where possible
@ 2019-01-11 16:49 Paul Barker
  2019-01-16 15:28 ` Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Barker @ 2019-01-11 16:49 UTC (permalink / raw)
  To: meta-virtualization

This change reduces the length of ${PV} for several recipes and gives us
auto-incrementing version numbers.

Signed-off-by: Paul Barker <paul@betafive.co.uk>
---
 recipes-containers/containerd/containerd.inc      | 2 +-
 recipes-devtools/go/go-cli_git.bb                 | 2 +-
 recipes-devtools/go/go-dbus_git.bb                | 2 +-
 recipes-devtools/go/go-fsnotify_git.bb            | 2 +-
 recipes-devtools/go/go-logrus_git.bb              | 2 +-
 recipes-devtools/go/go-systemd_git.bb             | 2 +-
 recipes-extended/hyperstart/hyperstart_git.bb     | 2 +-
 recipes-extended/kvmtool/kvmtool.bb               | 2 +-
 recipes-networking/openvswitch/openvswitch_git.bb | 2 +-
 9 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/recipes-containers/containerd/containerd.inc b/recipes-containers/containerd/containerd.inc
index 0eca5a6..a3f1301 100644
--- a/recipes-containers/containerd/containerd.inc
+++ b/recipes-containers/containerd/containerd.inc
@@ -12,7 +12,7 @@ SRC_URI += "file://containerd.service"
 
 S = "${WORKDIR}/git"
 
-PV = "${CONTAINERD_VERSION}+git${SRCREV}"
+PV = "${CONTAINERD_VERSION}+git${SRCPV}"
 
 inherit go
 inherit goarch
diff --git a/recipes-devtools/go/go-cli_git.bb b/recipes-devtools/go/go-cli_git.bb
index 21d01ac..434594c 100644
--- a/recipes-devtools/go/go-cli_git.bb
+++ b/recipes-devtools/go/go-cli_git.bb
@@ -10,7 +10,7 @@ PKG_NAME = "github.com/codegangsta/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
 SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e"
-PV = "1.1.0+git${SRCREV}"
+PV = "1.1.0+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
diff --git a/recipes-devtools/go/go-dbus_git.bb b/recipes-devtools/go/go-dbus_git.bb
index 9b206a1..2390861 100644
--- a/recipes-devtools/go/go-dbus_git.bb
+++ b/recipes-devtools/go/go-dbus_git.bb
@@ -10,7 +10,7 @@ PKG_NAME = "github.com/godbus/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
 SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3"
-PV = "4.0.0+git${SRCREV}"
+PV = "4.0.0+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
diff --git a/recipes-devtools/go/go-fsnotify_git.bb b/recipes-devtools/go/go-fsnotify_git.bb
index 1d9fbdc..0826aa7 100644
--- a/recipes-devtools/go/go-fsnotify_git.bb
+++ b/recipes-devtools/go/go-fsnotify_git.bb
@@ -10,7 +10,7 @@ PKG_NAME = "github.com/fsnotify/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
 SRCREV = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6"
-PV = "1.2.11+git${SRCREV}"
+PV = "1.2.11+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
diff --git a/recipes-devtools/go/go-logrus_git.bb b/recipes-devtools/go/go-logrus_git.bb
index 5c0c359..aa89033 100644
--- a/recipes-devtools/go/go-logrus_git.bb
+++ b/recipes-devtools/go/go-logrus_git.bb
@@ -10,7 +10,7 @@ PKG_NAME = "github.com/Sirupsen/${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
 SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb"
-PV = "0.11.0+git${SRCREV}"
+PV = "0.11.0+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
diff --git a/recipes-devtools/go/go-systemd_git.bb b/recipes-devtools/go/go-systemd_git.bb
index b61c97a..0f89c0f 100644
--- a/recipes-devtools/go/go-systemd_git.bb
+++ b/recipes-devtools/go/go-systemd_git.bb
@@ -10,7 +10,7 @@ PKG_NAME = "github.com/coreos/go-${SRCNAME}"
 SRC_URI = "git://${PKG_NAME}.git"
 
 SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
-PV = "4+git${SRCREV}"
+PV = "4+git${SRCPV}"
 
 RDEPENDS_${PN} += "bash"
 
diff --git a/recipes-extended/hyperstart/hyperstart_git.bb b/recipes-extended/hyperstart/hyperstart_git.bb
index 3c64f24..9f98419 100644
--- a/recipes-extended/hyperstart/hyperstart_git.bb
+++ b/recipes-extended/hyperstart/hyperstart_git.bb
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/hyperhq/hyperstart.git"
 SRC_URI += "file://0001-container.c-Fix-compiler-errors-that-gcc-8.1.0-repor.patch"
 
 SRCREV = "15bb718ad34045aa1962a8204f602c6afe9a76ab"
-PV = "v0.2+git${SRCREV}"
+PV = "v0.2+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
diff --git a/recipes-extended/kvmtool/kvmtool.bb b/recipes-extended/kvmtool/kvmtool.bb
index d487ee2..cb09c66 100644
--- a/recipes-extended/kvmtool/kvmtool.bb
+++ b/recipes-extended/kvmtool/kvmtool.bb
@@ -17,7 +17,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
            "
 
 SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc"
-PV = "4.14.0+git${SRCREV}"
+PV = "4.14.0+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb
index b8bbb3a..81a66a9 100644
--- a/recipes-networking/openvswitch/openvswitch_git.bb
+++ b/recipes-networking/openvswitch/openvswitch_git.bb
@@ -14,7 +14,7 @@ RDEPENDS_${PN}-ptest += "\
 	"
 
 S = "${WORKDIR}/git"
-PV = "2.10.1+${SRCREV}"
+PV = "2.10.1+${SRCPV}"
 
 FILESEXTRAPATHS_append := "${THISDIR}/${PN}-git:"
 
-- 
2.17.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Use SRCPV instead of SRCREV where possible
  2019-01-11 16:49 [PATCH] Use SRCPV instead of SRCREV where possible Paul Barker
@ 2019-01-16 15:28 ` Bruce Ashfield
  0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2019-01-16 15:28 UTC (permalink / raw)
  To: Paul Barker; +Cc: meta-virtualization

merged.

Bruce

On Fri, Jan 11, 2019 at 11:55 AM Paul Barker <paul@betafive.co.uk> wrote:
>
> This change reduces the length of ${PV} for several recipes and gives us
> auto-incrementing version numbers.
>
> Signed-off-by: Paul Barker <paul@betafive.co.uk>
> ---
>  recipes-containers/containerd/containerd.inc      | 2 +-
>  recipes-devtools/go/go-cli_git.bb                 | 2 +-
>  recipes-devtools/go/go-dbus_git.bb                | 2 +-
>  recipes-devtools/go/go-fsnotify_git.bb            | 2 +-
>  recipes-devtools/go/go-logrus_git.bb              | 2 +-
>  recipes-devtools/go/go-systemd_git.bb             | 2 +-
>  recipes-extended/hyperstart/hyperstart_git.bb     | 2 +-
>  recipes-extended/kvmtool/kvmtool.bb               | 2 +-
>  recipes-networking/openvswitch/openvswitch_git.bb | 2 +-
>  9 files changed, 9 insertions(+), 9 deletions(-)
>
> diff --git a/recipes-containers/containerd/containerd.inc b/recipes-containers/containerd/containerd.inc
> index 0eca5a6..a3f1301 100644
> --- a/recipes-containers/containerd/containerd.inc
> +++ b/recipes-containers/containerd/containerd.inc
> @@ -12,7 +12,7 @@ SRC_URI += "file://containerd.service"
>
>  S = "${WORKDIR}/git"
>
> -PV = "${CONTAINERD_VERSION}+git${SRCREV}"
> +PV = "${CONTAINERD_VERSION}+git${SRCPV}"
>
>  inherit go
>  inherit goarch
> diff --git a/recipes-devtools/go/go-cli_git.bb b/recipes-devtools/go/go-cli_git.bb
> index 21d01ac..434594c 100644
> --- a/recipes-devtools/go/go-cli_git.bb
> +++ b/recipes-devtools/go/go-cli_git.bb
> @@ -10,7 +10,7 @@ PKG_NAME = "github.com/codegangsta/${SRCNAME}"
>  SRC_URI = "git://${PKG_NAME}.git"
>
>  SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e"
> -PV = "1.1.0+git${SRCREV}"
> +PV = "1.1.0+git${SRCPV}"
>
>  S = "${WORKDIR}/git"
>
> diff --git a/recipes-devtools/go/go-dbus_git.bb b/recipes-devtools/go/go-dbus_git.bb
> index 9b206a1..2390861 100644
> --- a/recipes-devtools/go/go-dbus_git.bb
> +++ b/recipes-devtools/go/go-dbus_git.bb
> @@ -10,7 +10,7 @@ PKG_NAME = "github.com/godbus/${SRCNAME}"
>  SRC_URI = "git://${PKG_NAME}.git"
>
>  SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3"
> -PV = "4.0.0+git${SRCREV}"
> +PV = "4.0.0+git${SRCPV}"
>
>  S = "${WORKDIR}/git"
>
> diff --git a/recipes-devtools/go/go-fsnotify_git.bb b/recipes-devtools/go/go-fsnotify_git.bb
> index 1d9fbdc..0826aa7 100644
> --- a/recipes-devtools/go/go-fsnotify_git.bb
> +++ b/recipes-devtools/go/go-fsnotify_git.bb
> @@ -10,7 +10,7 @@ PKG_NAME = "github.com/fsnotify/${SRCNAME}"
>  SRC_URI = "git://${PKG_NAME}.git"
>
>  SRCREV = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6"
> -PV = "1.2.11+git${SRCREV}"
> +PV = "1.2.11+git${SRCPV}"
>
>  S = "${WORKDIR}/git"
>
> diff --git a/recipes-devtools/go/go-logrus_git.bb b/recipes-devtools/go/go-logrus_git.bb
> index 5c0c359..aa89033 100644
> --- a/recipes-devtools/go/go-logrus_git.bb
> +++ b/recipes-devtools/go/go-logrus_git.bb
> @@ -10,7 +10,7 @@ PKG_NAME = "github.com/Sirupsen/${SRCNAME}"
>  SRC_URI = "git://${PKG_NAME}.git"
>
>  SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb"
> -PV = "0.11.0+git${SRCREV}"
> +PV = "0.11.0+git${SRCPV}"
>
>  S = "${WORKDIR}/git"
>
> diff --git a/recipes-devtools/go/go-systemd_git.bb b/recipes-devtools/go/go-systemd_git.bb
> index b61c97a..0f89c0f 100644
> --- a/recipes-devtools/go/go-systemd_git.bb
> +++ b/recipes-devtools/go/go-systemd_git.bb
> @@ -10,7 +10,7 @@ PKG_NAME = "github.com/coreos/go-${SRCNAME}"
>  SRC_URI = "git://${PKG_NAME}.git"
>
>  SRCREV = "b4a58d95188dd092ae20072bac14cece0e67c388"
> -PV = "4+git${SRCREV}"
> +PV = "4+git${SRCPV}"
>
>  RDEPENDS_${PN} += "bash"
>
> diff --git a/recipes-extended/hyperstart/hyperstart_git.bb b/recipes-extended/hyperstart/hyperstart_git.bb
> index 3c64f24..9f98419 100644
> --- a/recipes-extended/hyperstart/hyperstart_git.bb
> +++ b/recipes-extended/hyperstart/hyperstart_git.bb
> @@ -10,7 +10,7 @@ SRC_URI = "git://github.com/hyperhq/hyperstart.git"
>  SRC_URI += "file://0001-container.c-Fix-compiler-errors-that-gcc-8.1.0-repor.patch"
>
>  SRCREV = "15bb718ad34045aa1962a8204f602c6afe9a76ab"
> -PV = "v0.2+git${SRCREV}"
> +PV = "v0.2+git${SRCPV}"
>
>  S = "${WORKDIR}/git"
>
> diff --git a/recipes-extended/kvmtool/kvmtool.bb b/recipes-extended/kvmtool/kvmtool.bb
> index d487ee2..cb09c66 100644
> --- a/recipes-extended/kvmtool/kvmtool.bb
> +++ b/recipes-extended/kvmtool/kvmtool.bb
> @@ -17,7 +17,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/will/kvmtool.git \
>             "
>
>  SRCREV = "0e1882a49f81cb15d328ef83a78849c0ea26eecc"
> -PV = "4.14.0+git${SRCREV}"
> +PV = "4.14.0+git${SRCPV}"
>
>  S = "${WORKDIR}/git"
>
> diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb
> index b8bbb3a..81a66a9 100644
> --- a/recipes-networking/openvswitch/openvswitch_git.bb
> +++ b/recipes-networking/openvswitch/openvswitch_git.bb
> @@ -14,7 +14,7 @@ RDEPENDS_${PN}-ptest += "\
>         "
>
>  S = "${WORKDIR}/git"
> -PV = "2.10.1+${SRCREV}"
> +PV = "2.10.1+${SRCPV}"
>
>  FILESEXTRAPATHS_append := "${THISDIR}/${PN}-git:"
>
> --
> 2.17.1
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-01-16 15:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-11 16:49 [PATCH] Use SRCPV instead of SRCREV where possible Paul Barker
2019-01-16 15:28 ` 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.