Skip to contentSkip to conversation

xmlto: Remove the explicit PV setting

PATCH Yu, Mingli 4 participants 4 messages Feb 4, 2024 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Yu, Mingli

author
#1 lore raw

Ping.

Thanks,

Quoted 38 lines · Mingli

From: Mingli Yu <[email protected]>

The latest release for xmlto is 0.0.28 [1], but the PV is set individually [2] in terms of backport several patches to fix builds with newer compilers after 0.0.28 was releases in 2015.

[1] https://releases.pagure.org/xmlto/
[2] https://git.openembedded.org/openembedded-core/commit/?id=27a5000724e4f4df274279bcd801d1dc2830208e

---
  meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 --
  1 file changed, 2 deletions(-)
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +0 -3
index d5a0e69849..69f989f5b8 100644
@@ -11,8 +11,6 @@ UPSTREAM_CHECK_COMMITS = "1"
  SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master"
  S = "${WORKDIR}/git"
 
-PV .= "+0.0.29+git"
-
  inherit autotools
 
  CLEANBROKEN = "1"
 
 
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#194029): https://lists.openembedded.org/g/openembedded-core/message/194029
Mute This Topic: https://lists.openembedded.org/mt/103827978/3618448
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

Doesn't this cause 'version going backwards' errors?

Alex

Quoted 47 lines · Mingli

Ping.

Thanks,

Quoted 24 lines · Mingli

From: Mingli Yu <[email protected]>

The latest release for xmlto is 0.0.28 [1], but the PV is set individually [2] in terms of backport several patches to fix builds with newer compilers after 0.0.28 was releases in 2015.

[1] https://releases.pagure.org/xmlto/
[2] https://git.openembedded.org/openembedded-core/commit/?id=27a5000724e4f4df274279bcd801d1dc2830208e

---
  meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 --
  1 file changed, 2 deletions(-)
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +0 -0
index d5a0e69849..69f989f5b8 100644

meta/recipes-devtools/xmlto/xmlto_0.0.28.bb UPSTREAM_CHECK_COMMITS = "1" · line 16

Quoted 8 lines
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +0 -2
@@ -11,8 +11,6 @@ UPSTREAM_CHECK_COMMITS = "1"
  SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master"
  S = "${WORKDIR}/git"
 
-PV .= "+0.0.29+git"
-
  inherit autotools
 
  CLEANBROKEN = "1"

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#194877): https://lists.openembedded.org/g/openembedded-core/message/194877
Mute This Topic: https://lists.openembedded.org/mt/103827978/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
Quoted 9 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Alexander Kanavin
Sent: den 4 februari 2024 10:47
To: Yu, Mingli <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core] [PATCH 1/3] xmlto: Remove the explicit PV setting

Doesn't this cause 'version going backwards' errors?

I would assume so. I also do not think it is correct to change the PV in the first place. The latest release is 0.0.28, and that is what is in the file name. However, the used SRCREV does not match the 0.0.28 release, but is rather a number of commits later. Thus the "+git" part" is needed. The "+0.0.29" is not really meaningful as we have no idea what the next release will be (if any), but removing it now after all this time fills no real purpose.

//Peter

Quoted 38 lines

Alex

Quoted 33 lines · Mingli

Ping.

Thanks,

Quoted 27 lines · Mingli

From: Mingli Yu <[email protected]>

The latest release for xmlto is 0.0.28 [1], but the PV is set individually [2] in terms of backport several patches to fix builds with newer compilers after 0.0.28 was releases in 2015.

[1] https://releases.pagure.org/xmlto/
[2] https://git.openembedded.org/openembedded-core/commit/?id=27a5000724e4f4df274279bcd801d1dc2830208e

---
  meta/recipes-devtools/xmlto/xmlto_0.0.28.bb | 2 --
  1 file changed, 2 deletions(-)
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb +0 -2
index d5a0e69849..69f989f5b8 100644
@@ -11,8 +11,6 @@ UPSTREAM_CHECK_COMMITS = "1"
  SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master"
  S = "${WORKDIR}/git"
 
-PV .= "+0.0.29+git"
-
  inherit autotools
 
  CLEANBROKEN = "1"
#4 lore raw
Quoted 10 lines · Peter Kjellerstedt
Quoted 9 lines

-----Original Message-----
From: [email protected] <openembedded- [email protected]> On Behalf Of Alexander Kanavin
Sent: den 4 februari 2024 10:47
To: Yu, Mingli <[email protected]>
Cc: [email protected]
Subject: Re: [OE-core] [PATCH 1/3] xmlto: Remove the explicit PV setting

Doesn't this cause 'version going backwards' errors?

Quoted 7 lines

I would assume so. I also do not think it is correct to change the PV in the first place. The latest release is 0.0.28, and that is what is in the file name. However, the used SRCREV does not match the 0.0.28 release, but is rather a number of commits later. Thus the "+git" part" is needed. The "+0.0.29" is not really meaningful as we have no idea what the next release will be (if any), but removing it now after all this time fills no real purpose.

The fact the SRCREV does not match 0.0.28 is why I haven't taken this (and won't). I'm pretty sure that was reported previously.

Cheers,

Richard