Skip to contentSkip to conversation

docs: Pull Xen version from canonical location

PATCH In review Andrew Cooper 3 participants 7 messages Jul 2, 2013 – Jul 3, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs: Pull Xen version from canonical location

rather than hard coding it and being wrong every time we branch for a release.

--
This should be placed in unstable, and backported to 4.3 and 4.2

---
 docs/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/Makefile +1 -1
index 72bd5e4..472b7ed 100644
@@ -2,7 +2,7 @@ XEN_ROOT=$(CURDIR)/..
 include $(XEN_ROOT)/Config.mk
 -include $(XEN_ROOT)/config/Docs.mk
 
-VERSION		= xen-unstable
+VERSION		:= $(shell $(MAKE) -C $(XEN_ROOT)/xen --no-print-directory xenversion)
 
 DOC_MAN5SRC	:= $(wildcard man/*.pod.5)
 DOC_MAN1SRC	:= $(wildcard man/*.pod.1)
Signature · 1 line
1.7.10.4
Acked-by on v1 1/1
#1 lore raw
Quoted 3 lines · Andrew Cooper

rather than hard coding it and being wrong every time we branch for a release.

Quoted 20 lines

--
This should be placed in unstable, and backported to 4.3 and 4.2

---
 docs/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/Makefile +1 -1
index 72bd5e4..472b7ed 100644
@@ -2,7 +2,7 @@ XEN_ROOT=$(CURDIR)/..
 include $(XEN_ROOT)/Config.mk
 -include $(XEN_ROOT)/config/Docs.mk
 
-VERSION		= xen-unstable
+VERSION		:= $(shell $(MAKE) -C $(XEN_ROOT)/xen --no-print-directory xenversion)
 
 DOC_MAN5SRC	:= $(wildcard man/*.pod.5)
 DOC_MAN1SRC	:= $(wildcard man/*.pod.1)
#3 lore raw
Quoted 6 lines · George Dunlap
Quoted 3 lines · Andrew Cooper

rather than hard coding it and being wrong every time we branch for a release.

I'm not sure how this works, I can commit to staging but I can't then backport to 4.3. Shall I just do the former and leave the latter to IanJ or shall I leave it all to Ian?

Ian.

#4 lore raw
Quoted 11 lines · Ian Campbell
Quoted 6 lines · George Dunlap
Quoted 3 lines · Andrew Cooper

rather than hard coding it and being wrong every time we branch for a release.

I'm not sure how this works, I can commit to staging but I can't then backport to 4.3. Shall I just do the former and leave the latter to IanJ or shall I leave it all to Ian?

I've pushed this to staging now.

Apparently it is fine for me to push to 4.3, up until we actually release, so I shall do so too once I figure out the runes...

Ian.

#5 lore raw
Quoted 10 lines · Ian Campbell
Quoted 9 lines · Ian Campbell
Quoted 5 lines · George Dunlap
Quoted 3 lines · Andrew Cooper

rather than hard coding it and being wrong every time we branch for a release.

I'm not sure how this works, I can commit to staging but I can't then backport to 4.3. Shall I just do the former and leave the latter to IanJ or shall I leave it all to Ian?

Quoted 7 lines

I've pushed this to staging now.

Apparently it is fine for me to push to 4.3, up until we actually release, so I shall do so too once I figure out the runes...

Ian.

Cool. Presumably the backport to 4.2 needs to go through the official channels?

~Andrew

#6 lore raw
Quoted 11 lines · Andrew Cooper
Quoted 10 lines · Ian Campbell
Quoted 9 lines · Ian Campbell
Quoted 5 lines · George Dunlap
Quoted 3 lines · Andrew Cooper

rather than hard coding it and being wrong every time we branch for a release.

I'm not sure how this works, I can commit to staging but I can't then backport to 4.3. Shall I just do the former and leave the latter to IanJ or shall I leave it all to Ian?

Quoted 7 lines
Quoted 4 lines

I've pushed this to staging now.

Apparently it is fine for me to push to 4.3, up until we actually release, so I shall do so too once I figure out the runes...

Cool. Presumably the backport to 4.2 needs to go through the official channels?

I suppose so.