Skip to contentSkip to conversation

spi-tools: Add version info.

PATCH Superseded Fan Xin 4 participants 7 messages Oct 27, 2017 – Oct 30, 2017

lore
Share & tools
lore

Fan Xin

author
#0 lore raw

PATCH 1/1 spi-tools: Add version info.

---
 meta-oe/recipes-support/spitools/spitools_git.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-oe/recipes-support/spitools/spitools_git.bb +6 -1
index f808125..2eedf8c 100644
@@ -4,11 +4,16 @@ AUTHOR = "Christophe BLAESS"
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
 
+PR = "r0"
+
+BPV = "0.8.1"
+PV = "${BPV}"
+SRCREV = "03405ab45884e4264dfa0371c032b2baaeeaaa98"
+
 S = "${WORKDIR}/git"
 
 SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=git"
 
-SRCREV = "03405ab45884e4264dfa0371c032b2baaeeaaa98"
 
 inherit autotools
 
Signature · 1 line
2.7.4
#1 lore raw
Quoted 10 lines · Fan Xin
---
 meta-oe/recipes-support/spitools/spitools_git.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
meta-oe/recipes-support/spitools/spitools_git.bb +0 -0
index f808125..2eedf8c 100644

meta-oe/recipes-support/spitools/spitools_git.bb AUTHOR = "Christophe BLAESS" · line 7

Quoted 4 lines
meta-oe/recipes-support/spitools/spitools_git.bb +1 -0
@@ -4,11 +4,16 @@ AUTHOR = "Christophe BLAESS"
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
 
+PR = "r0"

Drop the PR.

Philip

Quoted 14 lines
meta-oe/recipes-support/spitools/spitools_git.bb +5 -1
+
+BPV = "0.8.1"
+PV = "${BPV}"
+SRCREV = "03405ab45884e4264dfa0371c032b2baaeeaaa98"
+
 S = "${WORKDIR}/git"
 
 SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=git"
 
-SRCREV = "03405ab45884e4264dfa0371c032b2baaeeaaa98"
 
 inherit autotools
 
author
#2 lore raw

PATCH v2 1/1 spi-tools: Add version info

---
 meta-oe/recipes-support/spitools/spitools_git.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/spitools/spitools_git.bb +3 -0
index f808125..6ca6ad7 100644
@@ -4,6 +4,9 @@ AUTHOR = "Christophe BLAESS"
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
 
+BPV = "0.8.1"
+PV = "${BPV}"
+
 S = "${WORKDIR}/git"
 
 SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=git"
Signature · 1 line
2.7.4
#3 lore raw

Re: [PATCH v2] spi-tools: Add version info

Quoted 10 lines · Fan Xin
---
 meta-oe/recipes-support/spitools/spitools_git.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-support/spitools/spitools_git.bb +0 -0
index f808125..6ca6ad7 100644

meta-oe/recipes-support/spitools/spitools_git.bb AUTHOR = "Christophe BLAESS" · line 9

Quoted 6 lines
meta-oe/recipes-support/spitools/spitools_git.bb +3 -0
@@ -4,6 +4,9 @@ AUTHOR = "Christophe BLAESS"
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
 
+BPV = "0.8.1"
+PV = "${BPV}"
+

why do we need BPV ?

Quoted 12 lines
meta-oe/recipes-support/spitools/spitools_git.bb +0 -1
 S = "${WORKDIR}/git"
 
 SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=git"
--

2.7.4

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

author
#4 lore raw

PATCH v3 1/1 spi-tools: Add version info

---
 meta-oe/recipes-support/spitools/spitools_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/spitools/spitools_git.bb +2 -0
index f808125..168f0f3 100644
@@ -4,6 +4,8 @@ AUTHOR = "Christophe BLAESS"
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
 
+PV = "0.8.1"
+
 S = "${WORKDIR}/git"
 
 SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=git"
Signature · 1 line
2.7.4
#5 lore raw

Re: [PATCH v3] spi-tools: Add version info

Quoted 10 lines · Fan Xin
---
 meta-oe/recipes-support/spitools/spitools_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/spitools/spitools_git.bb +0 -0
index f808125..168f0f3 100644

meta-oe/recipes-support/spitools/spitools_git.bb AUTHOR = "Christophe BLAESS" · line 9

Quoted 6 lines
meta-oe/recipes-support/spitools/spitools_git.bb +2 -0
@@ -4,6 +4,8 @@ AUTHOR = "Christophe BLAESS"
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
 
+PV = "0.8.1"
+
 S = "${WORKDIR}/git"

Should we think of converting these kinds recipes to spitools_0.8.1.bb to avoid the need for PV ?  Maybe a best practices on the recipes naming??

- armin

Quoted 2 lines
meta-oe/recipes-support/spitools/spitools_git.bb +0 -0
 SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=git"
#6 lore raw

Re: [PATCH v3] spi-tools: Add version info

Quoted 16 lines · On Mon, Oct 30, 2017 at 1:06 PM, akuster808 <[email protected]> wrote:
Quoted 13 lines · Fan Xin
---
 meta-oe/recipes-support/spitools/spitools_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-support/spitools/spitools_git.bb +0 -0
index f808125..168f0f3 100644
@@ -4,6 +4,8 @@ AUTHOR = "Christophe BLAESS"
 LICENSE="GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=8c16666ae6c159876a0ba63099614381"
 
Quoted 7 lines

meta-oe/recipes-support/spitools/spitools_git.bb AUTHOR = "Christophe BLAESS" · line 9

Quoted 3 lines
meta-oe/recipes-support/spitools/spitools_git.bb +2 -0
+PV = "0.8.1"
+
 S = "${WORKDIR}/git"

Should we think of converting these kinds recipes to spitools_0.8.1.bb to avoid the need for PV ? Maybe a best practices on the recipes naming??

I think yes. on the downside its convenient for git log to have same file name but then we do have
git log --follow

Quoted 9 lines

- armin

meta-oe/recipes-support/spitools/spitools_git.bb AUTHOR = "Christophe BLAESS" · line 11

Quoted 2 lines
meta-oe/recipes-support/spitools/spitools_git.bb +0 -0
 SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=git"

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel