From: Dan Smith <danms@us.ibm.com>
To: Xen Developers <xen-devel@lists.xensource.com>
Subject: [PATCH] Add sequence number to 'xm info'
Date: Wed, 28 Sep 2005 15:35:58 -0700 [thread overview]
Message-ID: <87r7b8x1kh.fsf@us.ibm.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 404 bytes --]
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@us.ibm.com>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: changeset.patch --]
[-- Type: text/x-patch, Size: 1004 bytes --]
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 $@
[-- Attachment #3: Type: text/plain, Size: 87 bytes --]
--
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@us.ibm.com
[-- Attachment #4: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2005-09-28 22:35 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-28 22:35 Dan Smith [this message]
2005-09-29 15:45 ` [PATCH] Add sequence number to 'xm info' Hollis Blanchard
2005-09-29 16:02 ` Sean Dague
2005-09-29 16:22 ` Hollis Blanchard
2005-09-29 16:05 ` Dan Smith
2005-09-29 17:41 ` Hollis Blanchard
-- strict thread matches above, loose matches on Subject: below --
2005-09-28 23:03 Ian Pratt
2005-09-29 0:14 ` Dan Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r7b8x1kh.fsf@us.ibm.com \
--to=danms@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.