[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Add sequence number to 'xm info'


  • To: Xen Developers <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Dan Smith <danms@xxxxxxxxxx>
  • Date: Wed, 28 Sep 2005 15:35:58 -0700
  • Delivery-date: Wed, 28 Sep 2005 22:33:55 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

This patch causes the short changeset id or sequence number to be
included on the 'xen_changeset' line in the 'xm info' output.

We plan to use this sequence number as a very fuzzy way of sorting
test reports so that we can start looking for trends.  While we know
it won't result in a perfect ordering of changesets for reporting, it
will help us get close.

Signed-off-by: Dan Smith <danms@xxxxxxxxxx>
diff -r 5e5ae8340956 xen/Makefile
--- a/xen/Makefile      Wed Sep 28 20:06:49 2005
+++ b/xen/Makefile      Wed Sep 28 15:07:14 2005
@@ -99,7 +99,7 @@
            -e 's/@@version@@/$(XEN_VERSION)/g' \
            -e 's/@@subversion@@/$(XEN_SUBVERSION)/g' \
            -e 's/@@extraversion@@/$(XEN_EXTRAVERSION)/g' \
-           -e 's!@@changeset@@!$(shell (hg parents | awk -F: 
'/^changeset/{CS=$$3};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 
2>/dev/null || (head -n 6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{FS="date:[ 
]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information 
unavailable)!g' \
+           -e 's!@@changeset@@!$(shell (hg parents | awk '{FS="changeset:[ 
]+"}/^changeset/{CS=$$2};{FS="date:[ ]+"}/^date/{D=$$2}; END {print D, CS}') 
2>/dev/null || (head -n 6 ChangeLog | awk -F: '/^changeset/{CS=$$3};{FS="date:[ 
]+"}/^date/{D=$$2}; END {print D, CS}') 2>/dev/null || echo information 
unavailable)!g' \
            < include/xen/compile.h.in > $@.new
        @cat include/xen/banner.h >> $@.new
        @mv -f $@.new $@
-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.