patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] lib: update LTS releases
@ 2019-04-09 15:23 Kevin Traynor
  2019-04-09 15:30 ` [dpdk-stable] [PATCH v2] " Kevin Traynor
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Traynor @ 2019-04-09 15:23 UTC (permalink / raw)
  To: stable, bluca, yskoh; +Cc: thomas, ferruh.yigit, Kevin Traynor

This updates so "LTS" vs. "stable" will be used where appropriate.

Also update 6-announce-release to use it in the body.

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
---
 6-announce-release | 2 +-
 lib.sh             | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/6-announce-release b/6-announce-release
index 619065c..0a7a4fc 100755
--- a/6-announce-release
+++ b/6-announce-release
@@ -29,5 +29,5 @@ Subject: DPDK $(describe_release) released
 Hi all,
 
-Here is a new stable release:
+Here is a new $(stable_or_lts) release:
 	https://fast.dpdk.org/rel/dpdk-${stable_release}.tar.xz
 
diff --git a/lib.sh b/lib.sh
index cf02d92..71351f4 100644
--- a/lib.sh
+++ b/lib.sh
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-DPDK_DIR=$HOME/dpdk
-STABLE_DIR=$HOME/stable
+DPDK_DIR=/home/ktraynor/code/lts/dpdk-stable
+STABLE_DIR=/home/ktraynor/code/lts/dpdk-stable
 GIT="git --git-dir=$DPDK_DIR/.git"
 SIGNATURE="PLACEHOLDER"
@@ -45,5 +45,6 @@ get_last_release()
 describe_release()
 {
-	if [ "${stable_release%.*}" == "16.11" ]; then
+	if [ "${stable_release%.*}" == "17.11" ] ||
+	   [ "${stable_release%.*}" == "18.11" ] ; then
 		echo "$stable_release (LTS)"
 	else
@@ -55,5 +56,5 @@ stable_or_lts()
 {
 	# TODO: let it be data-file driven
-	if [ "${stable_release%.*}" == "16.11" ] ||
+	if [ "${stable_release%.*}" == "18.11" ] ||
 	   [ "${stable_release%.*}" == "17.11" ] ; then
 		echo "LTS"
-- 
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [dpdk-stable] [PATCH v2] lib: update LTS releases
  2019-04-09 15:23 [dpdk-stable] [PATCH] lib: update LTS releases Kevin Traynor
@ 2019-04-09 15:30 ` Kevin Traynor
  2019-04-09 16:09   ` Luca Boccassi
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Traynor @ 2019-04-09 15:30 UTC (permalink / raw)
  To: stable, bluca, yskoh; +Cc: thomas, ferruh.yigit, Kevin Traynor

This updates so "LTS" vs. "stable" will be used where appropriate.

Also update 6-announce-release to use it in the body.

Signed-off-by: Kevin Traynor <ktraynor@redhat.com>
---
v2: removed local changes from lib.sh
(that's what I get for testing the patch)

 6-announce-release | 2 +-
 lib.sh             | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/6-announce-release b/6-announce-release
index 619065c..0a7a4fc 100755
--- a/6-announce-release
+++ b/6-announce-release
@@ -29,5 +29,5 @@ Subject: DPDK $(describe_release) released
 Hi all,
 
-Here is a new stable release:
+Here is a new $(stable_or_lts) release:
 	https://fast.dpdk.org/rel/dpdk-${stable_release}.tar.xz
 
diff --git a/lib.sh b/lib.sh
index cf02d92..42d0669 100644
--- a/lib.sh
+++ b/lib.sh
@@ -45,5 +45,6 @@ get_last_release()
 describe_release()
 {
-	if [ "${stable_release%.*}" == "16.11" ]; then
+	if [ "${stable_release%.*}" == "17.11" ] ||
+	   [ "${stable_release%.*}" == "18.11" ] ; then
 		echo "$stable_release (LTS)"
 	else
@@ -55,5 +56,5 @@ stable_or_lts()
 {
 	# TODO: let it be data-file driven
-	if [ "${stable_release%.*}" == "16.11" ] ||
+	if [ "${stable_release%.*}" == "18.11" ] ||
 	   [ "${stable_release%.*}" == "17.11" ] ; then
 		echo "LTS"
-- 
2.20.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-stable] [PATCH v2] lib: update LTS releases
  2019-04-09 15:30 ` [dpdk-stable] [PATCH v2] " Kevin Traynor
@ 2019-04-09 16:09   ` Luca Boccassi
  0 siblings, 0 replies; 3+ messages in thread
From: Luca Boccassi @ 2019-04-09 16:09 UTC (permalink / raw)
  To: Kevin Traynor, stable, yskoh; +Cc: thomas, ferruh.yigit

On Tue, 2019-04-09 at 16:30 +0100, Kevin Traynor wrote:
> This updates so "LTS" vs. "stable" will be used where appropriate.
> 
> Also update 6-announce-release to use it in the body.
> 
> Signed-off-by: Kevin Traynor <
> ktraynor@redhat.com
> >
> ---
> v2: removed local changes from lib.sh
> (that's what I get for testing the patch)
> 
>  6-announce-release | 2 +-
>  lib.sh             | 5 +++--
>  2 files changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/6-announce-release b/6-announce-release
> index 619065c..0a7a4fc 100755
> --- a/6-announce-release
> +++ b/6-announce-release
> @@ -29,5 +29,5 @@ Subject: DPDK $(describe_release) released
>  Hi all,
>  
> -Here is a new stable release:
> +Here is a new $(stable_or_lts) release:
>  	
> https://fast.dpdk.org/rel/dpdk-${stable_release}.tar.xz
> 
>  
> diff --git a/lib.sh b/lib.sh
> index cf02d92..42d0669 100644
> --- a/lib.sh
> +++ b/lib.sh
> @@ -45,5 +45,6 @@ get_last_release()
>  describe_release()
>  {
> -	if [ "${stable_release%.*}" == "16.11" ]; then
> +	if [ "${stable_release%.*}" == "17.11" ] ||
> +	   [ "${stable_release%.*}" == "18.11" ] ; then
>  		echo "$stable_release (LTS)"
>  	else
> @@ -55,5 +56,5 @@ stable_or_lts()
>  {
>  	# TODO: let it be data-file driven
> -	if [ "${stable_release%.*}" == "16.11" ] ||
> +	if [ "${stable_release%.*}" == "18.11" ] ||
>  	   [ "${stable_release%.*}" == "17.11" ] ; then
>  		echo "LTS"

Acked-by: Luca Boccassi <bluca@debian.org>

We should probably have lib.sh source a local config file that's in
.gitignore for the options

-- 
Kind regards,
Luca Boccassi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-04-09 16:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-09 15:23 [dpdk-stable] [PATCH] lib: update LTS releases Kevin Traynor
2019-04-09 15:30 ` [dpdk-stable] [PATCH v2] " Kevin Traynor
2019-04-09 16:09   ` Luca Boccassi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).