[oe] [RFC, PATCH] distros: prettier notation for dev snapshots version strings

Khem Raj raj.khem at gmail.com
Mon Mar 1 22:14:13 UTC 2010


On Sun, Feb 28, 2010 at 10:32 AM, Antonio Ospite
<ospite at studenti.unina.it> wrote:
> Make archives names look a little better. Compare the current:
>  minimal-.dev-snapshot-20100216-i686-linux-armv5te-linux-gnueabi-toolchain.tar.bz2
> to the proposed:
>  minimal-dev.snapshot.20100216-i686-linux-armv5te-linux-gnueabi-toolchain.tar.bz2

may be just getting rid of that '-.' and using just '-' would be enough ?
is there any advantage of using . over -

>
> The -. string in the current form could suggest that some part was missing
> when building the archive name.
>
> Signed-off-by: Antonio Ospite <ospite at studenti.unina.it>
> ---
>  conf/distro/minimal.conf        |    2 +-
>  conf/distro/oplinux-uclibc.conf |    2 +-
>  conf/distro/oplinux.conf        |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/conf/distro/minimal.conf b/conf/distro/minimal.conf
> index 8e0ae2e..29ad9d2 100644
> --- a/conf/distro/minimal.conf
> +++ b/conf/distro/minimal.conf
> @@ -11,7 +11,7 @@
>  # NAME and VERSION
>  #############################################################################
>  DISTRO_NAME ?= "minimal"
> -DISTRO_VERSION = ".dev-snapshot-${SRCDATE}"
> +DISTRO_VERSION = "dev.snapshot.${SRCDATE}"
>  #DISTRO_TYPE = "release"
>  DISTRO_TYPE ?= "debug"
>
> diff --git a/conf/distro/oplinux-uclibc.conf b/conf/distro/oplinux-uclibc.conf
> index b8617cc..59c6ede 100644
> --- a/conf/distro/oplinux-uclibc.conf
> +++ b/conf/distro/oplinux-uclibc.conf
> @@ -21,7 +21,7 @@ require conf/distro/include/sane-srcdates.inc
>  # Header
>  #
>  DISTRO_NAME = "OPLinux-uClibC"
> -DISTRO_VERSION = ".dev-snapshot-${SRCDATE}"
> +DISTRO_VERSION = "dev.snapshot.${SRCDATE}"
>  #DISTRO_TYPE = "release"
>  DISTRO_TYPE = "debug"
>
> diff --git a/conf/distro/oplinux.conf b/conf/distro/oplinux.conf
> index 43e8fad..5b9d7cd 100644
> --- a/conf/distro/oplinux.conf
> +++ b/conf/distro/oplinux.conf
> @@ -25,7 +25,7 @@ require conf/distro/include/sane-srcdates.inc
>  # Header
>  #
>  DISTRO_NAME = "OPLinux"
> -DISTRO_VERSION ?= ".dev-snapshot-${SRCDATE}"
> +DISTRO_VERSION ?= "dev.snapshot.${SRCDATE}"
>  #DISTRO_TYPE = "release"
>  DISTRO_TYPE = "debug"
>
> --
> 1.7.0
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list