[Libvirt-cim] [PATCH v3 0/8] Add Controller Device Support

John Ferlan jferlan at redhat.com
Mon Apr 14 14:19:29 UTC 2014



On 04/14/2014 03:43 AM, Xu Wang wrote:
> 
> 于 2014年03月28日 05:18, John Ferlan 写道:
>> I know this is a long cover letter, but it covers a lot of ground...
>>
>> I was just about done with all the merges this morning - I ran the cimtest
>> one more time and found that there's a couple of tests which associate
>> RASDs and Pools. So I jumped into the rabbit hole and wound my way through
>> the maze of twisty little passages. I even heard a babbling brook (it's an
>> old computer game reference).
>>
>> So here's where I'm at - I have cimtest completely passing again which keeps
>> me happy.  Although I have a pile of cimtest related changes that will also
>> need to be made, but I have to wait to do them until I get a libvirt-cim
>> revision number to compare against so as to be able to add conditional code
> I just wonder how to get that revision, apply it from some organization
> or company?
> 
> Thanks,
> Xu Wang

Not sure I understand the question, but I think you're asking where/how
the value is generated.... Well it's generated if/when you run
"autoconfiscate.sh"... It'll do the following:

if test -x $(which git); then
    git rev-parse --short HEAD > .changeset
    git rev-list HEAD | wc -l > .revision
else
    echo "Unknown" > .changeset
    echo "0" > .revision
fi


What I *really* wish is someone could write a patch to have a "make" or
"make rpm" do that as well. My build environment understanding is weak
and I'm not sure exactly the best way to do it.

John




More information about the Libvirt-cim mailing list