Skip to contentSkip to conversation

xen: Fix XEN_EXTRAVERSION after 4.19-rc1

PATCH In review Andrew Cooper 4 participants 6 messages Jul 2, 2024 – Jul 10, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xen: Fix XEN_EXTRAVERSION after 4.19-rc1

EXTRAVERSION needs a . separator for numbers. Currently, the banner reports:

  __  __            _  _    _  ___   ___
  \ \/ /___ _ __   | || |  / |/ _ \ / _ \    _ __ ___
   \  // _ \ '_ \  | || |_ | | (_) | | | |__| '__/ __|
   /  \  __/ | | | |__   _|| |\__, | |_| |__| | | (__
  /_/\_\___|_| |_|    |_|(_)_|  /_/ \___/   |_|  \___|

and xl reports:

  # xl info xen_version
  4.190-rc
Fixes 4a73eb4c205d ("Update Xen version to 4.19-rc")

---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>

For 4.19. This is a minor mistake when creating Xen-4.19-rc1.

---
 xen/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/Makefile +1 -1
index 58ce6e468eab..037c49f83d39 100644
@@ -6,7 +6,7 @@ this-makefile := $(call lastword,$(MAKEFILE_LIST))
 # All other places this is stored (eg. compile.h) should be autogenerated.
 export XEN_VERSION       = 4
 export XEN_SUBVERSION    = 19
-export XEN_EXTRAVERSION ?= 0-rc$(XEN_VENDORVERSION)
+export XEN_EXTRAVERSION ?= .0-rc$(XEN_VENDORVERSION)
 export XEN_FULLVERSION   = $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)
 -include xen-version
 

base-commit: 08daa72cdcb660c2f0aef52ee76a3704e2dd1b5b

Signature · 1 line
2.39.2
#1 lore raw

I forgot the for-4.19 in the subject.

Hopefully it's obvious why...

~Andrew

Quoted 41 lines · Andrew Cooper

EXTRAVERSION needs a . separator for numbers. Currently, the banner reports:

  __  __            _  _    _  ___   ___
  \ \/ /___ _ __   | || |  / |/ _ \ / _ \    _ __ ___
   \  // _ \ '_ \  | || |_ | | (_) | | | |__| '__/ __|
   /  \  __/ | | | |__   _|| |\__, | |_| |__| | | (__
  /_/\_\___|_| |_|    |_|(_)_|  /_/ \___/   |_|  \___|

and xl reports:

  # xl info xen_version
  4.190-rc
Fixes 4a73eb4c205d ("Update Xen version to 4.19-rc")

---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>

For 4.19. This is a minor mistake when creating Xen-4.19-rc1.

---
 xen/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/Makefile +1 -1
index 58ce6e468eab..037c49f83d39 100644
@@ -6,7 +6,7 @@ this-makefile := $(call lastword,$(MAKEFILE_LIST))
 # All other places this is stored (eg. compile.h) should be autogenerated.
 export XEN_VERSION       = 4
 export XEN_SUBVERSION    = 19
-export XEN_EXTRAVERSION ?= 0-rc$(XEN_VENDORVERSION)
+export XEN_EXTRAVERSION ?= .0-rc$(XEN_VENDORVERSION)
 export XEN_FULLVERSION   = $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)
 -include xen-version
 

base-commit: 08daa72cdcb660c2f0aef52ee76a3704e2dd1b5b

Acked-by on v1 1/1
#2 lore raw
In reply to Andrew Cooper
Quoted 1 line · Andrew Cooper

EXTRAVERSION needs a . separator for numbers.

Not exactly. It needs the 0 dropped, if we follow what we've done in the past. Then ...

Quoted 8 lines

Currently, the banner reports:

  __  __            _  _    _  ___   ___
  \ \/ /___ _ __   | || |  / |/ _ \ / _ \    _ __ ___
   \  // _ \ '_ \  | || |_ | | (_) | | | |__| '__/ __|
   /  \  __/ | | | |__   _|| |\__, | |_| |__| | | (__
  /_/\_\___|_| |_|    |_|(_)_|  /_/ \___/   |_|  \___|
Quoted 7 lines

and xl reports:

  # xl info xen_version
  4.190-rc
Fixes 4a73eb4c205d ("Update Xen version to 4.19-rc")
Quoted 26 lines

---
CC: Jan Beulich <[email protected]>
CC: Stefano Stabellini <[email protected]>
CC: Julien Grall <[email protected]>
CC: Oleksii Kurochko <[email protected]>

For 4.19. This is a minor mistake when creating Xen-4.19-rc1.

---
 xen/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
xen/Makefile +1 -1
index 58ce6e468eab..037c49f83d39 100644
@@ -6,7 +6,7 @@ this-makefile := $(call lastword,$(MAKEFILE_LIST))
 # All other places this is stored (eg. compile.h) should be autogenerated.
 export XEN_VERSION       = 4
 export XEN_SUBVERSION    = 19
-export XEN_EXTRAVERSION ?= 0-rc$(XEN_VENDORVERSION)
+export XEN_EXTRAVERSION ?= .0-rc$(XEN_VENDORVERSION)
 export XEN_FULLVERSION   = $(XEN_VERSION).$(XEN_SUBVERSION)$(XEN_EXTRAVERSION)
 -include xen-version
 

base-commit: 08daa72cdcb660c2f0aef52ee76a3704e2dd1b5b

#3 lore raw
Quoted 13 lines · Jan Beulich
Quoted 1 line · Andrew Cooper

EXTRAVERSION needs a . separator for numbers.

Not exactly. It needs the 0 dropped, if we follow what we've done in the past. Then ...

Quoted 8 lines

Currently, the banner reports:

  __  __            _  _    _  ___   ___
  \ \/ /___ _ __   | || |  / |/ _ \ / _ \    _ __ ___
   \  // _ \ '_ \  | || |_ | | (_) | | | |__| '__/ __|
   /  \  __/ | | | |__   _|| |\__, | |_| |__| | | (__
  /_/\_\___|_| |_|    |_|(_)_|  /_/ \___/   |_|  \___|
Quoted 8 lines
Quoted 7 lines

and xl reports:

  # xl info xen_version
  4.190-rc
Fixes 4a73eb4c205d ("Update Xen version to 4.19-rc")

I'm happy either way, but it definitely needs changing from what is here now.

~Andrew

#4 lore raw
Quoted 20 lines · Andrew Cooper
Quoted 19 lines · Jan Beulich
Quoted 1 line · Andrew Cooper

EXTRAVERSION needs a . separator for numbers.

Not exactly. It needs the 0 dropped, if we follow what we've done in the
past. Then ...

Quoted 13 lines

 Currently, the banner reports:

  __  __            _  _    _  ___   ___

  \ \/ /___ _ __   | || |  / |/ _ \ / _ \    _ __ ___
   \  // _ \ '_ \  | || |_ | | (_) | | | |__| '__/ __|
   /  \  __/ | | | |__   _|| |\__, | |_| |__| | | (__
  /_/\_\___|_| |_|    |_|(_)_|  /_/ \___/   |_|  \___|

and xl reports:

  # xl info xen_version
  4.190-rc
Quoted 7 lines
Quoted 3 lines
Quoted 2 lines
Fixes 4a73eb4c205d ("Update Xen version to 4.19-rc")

I'm happy either way, but it definitely needs changing from what is here
now.

~ Oleksii

#5 lore raw
In reply to Jan Beulich

Hi,

Quoted 5 lines · Jan Beulich
Quoted 1 line · Andrew Cooper

EXTRAVERSION needs a . separator for numbers.

Not exactly. It needs the 0 dropped, if we follow what we've done in the past. Then ...

From docs/process/release-technician-checklist.txt:

# - XEN_EXTRAVERSION should be as follows
# `.0-rc$(XEN_VENDORVERSION)' during freeze, first rc onwards (including staging, before branching)

So the original version from Andrew was correct...

Cheers,

Signature · 1 line
Julien Grall