[OE-core] [oe-core][v2][PATCH 1/1] build-compare: add date to PV

Slater, Joseph joe.slater at windriver.com
Thu Mar 16 17:28:02 UTC 2017


Given that PV for *_git recipes should now be specified and
start with a version, it would be nice to shorten (or eliminate)
SRCPV.  At least get rid of the AUTOINC.  Perhaps shorten the
amount of SRCREV included.  The point is that as currently
computed, PV will be far longer than the useful information
it provides.

Also, should PE be defined given that the form of PV has changed?
I know it hasn't been for any of the recipes modified so far.

Joe


> -----Original Message-----
> From: Joe Slater [mailto:jslater at windriver.com]
> Sent: Thursday, March 16, 2017 10:19 AM
> To: openembedded-core at lists.openembedded.org
> Cc: Slater, Joseph
> Subject: [oe-core][v2][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.
> 
> Signed-off-by: Joe Slater <jslater at windriver.com>
> ---
>  .../build-compare/build-compare_git.bb             |    4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-devtools/build-compare/build-compare_git.bb b/meta/recipes-
> devtools/build-compare/build-compare_git.bb
> index eb12e40..bdbad03 100644
> --- a/meta/recipes-devtools/build-compare/build-compare_git.bb
> +++ b/meta/recipes-devtools/build-compare/build-compare_git.bb
> @@ -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${SRCPV}"
> 
>  S = "${WORKDIR}/git"
> 
> --
> 1.7.9.5




More information about the Openembedded-core mailing list