Skip to contentSkip to conversation

build-compare: add date to PV

PATCH Superseded Joe Slater 2 participants 2 messages Mar 15, 2017

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Joe Slater

author
#0 lore raw

PATCH 1/1 build-compare: add date to PV

We want PV values to be easily ordered, so use the latest entry in build-compare.changes which will also match the date of SRCREV.

---
 .../build-compare/build-compare_git.bb             |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/build-compare/build-compare_git.bb +3 -1
index eb12e40..c80ebd4 100644
@@ -17,8 +17,10 @@ SRC_URI = "git://github.com/openSUSE/build-compare.git \
            file://functions.sh-improve-deb-and-ipk-checking.patch \
            "
 
+# Date matches entry in build-compare.changes and date of SRCREV.
+#
 SRCREV = "c5352c054c6ef15735da31b76d6d88620f4aff0a"
-PV = "git+${SRCPV}"
+PV = "2015.02.10+git"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 22 lines · Joe Slater

We want PV values to be easily ordered, so use the latest entry in build-compare.changes which will also match the date of SRCREV.

---
 .../build-compare/build-compare_git.bb             |    4 +++-

 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-devtools/build-compare/build-compare_git.bb +0 -0
index eb12e40..c80ebd4 100644
@@ -17,8 +17,10 @@ SRC_URI = "git://github.com/openSUSE/build-
 compare.git \
             file://functions.sh-improve-deb-and-ipk-checking.patch \

            "

meta/recipes-devtools/build-compare/build-compare_git.bb +2 -0
+# Date matches entry in build-compare.changes and date of SRCREV.
+#

 SRCREV = "c5352c054c6ef15735da31b76d6d88620f4aff0a"

meta/recipes-devtools/build-compare/build-compare_git.bb SRC_URI = "git://github.com/openSUSE/build-compare.git \ · line 23

Quoted 2 lines
meta/recipes-devtools/build-compare/build-compare_git.bb +1 -1
-PV = "git+${SRCPV}"
+PV = "2015.02.10+git"

I think you either want:

"2015.02.10"
or
"2015.02.10+git${SRCPV}"

but not the one above! :)

(since this matches the style in the other git recipes)

Cheers,

Richard