Does anyone have a definitive way of checking the D-Cache version number, I tried the following commands
[root@dev01 root]# head -n3 /opt/d-cache/bin/dcache-core
#!/bin/sh
# $Id: dcache-core,v 1.3 2005/01/17 09:22:15 ernst Exp $
#
[root@dev01 root]# rpm -qa | grep cache
d-cache-opt-1.5.3-73
distcache-0.4.2-9.3
d-cache-client-1.0-76
d-cache-lcg-5.0.0-1
d-cache-gpp-1.1.2l-1
distcache-devel-0.4.2-9.3
d-cache-core-1.5.2-74
d-cache-gpp-admin-1.1.2l-1
As you can see the numbers don't match this would be useful for all involved downstream of the core development team and maybe them when they want to know what version a users bug is in. We would use it to check upgrades and make bug reports more specific.
This can be accomplished using plain old CVS version numbers and using the CVS built in of variables being populated from tags
https://www.cvshome.org/docs/manual/cvs-1.11.20/cvs_12.html#SEC97
If each file in
/opt/d-cache/dcap/bin
/opt/d-cache/srm/bin
/opt/d-cache/dcap/bin
had a version option it would be good. I should also like each file in
/opt/d-cache/etc
to contain the version number so we could see which version a file started as.
Also
/opt/d-cache/docs
Could probably benefit from some version numbering too.
These version numbers can also generate the RPM's version number as well as the applications version number from the same CVS tag so making everything clear and no fear of duplication and forking.
Regards
Owen Synge
Begin forwarded message:
Date: Fri, 15 Jul 2005 14:36:14 +0100
From: "Matt Doidge" <[log in to unmask]>
To: "Synge, OM \(Owen\)" <[log in to unmask]>
Subject: silly question
hello,
i tried yesterday to update our dcache on fal-pygrid-20 and attached
node to 2_5_0, i did this over the top of the existing set up.
Everything still works, and the cynic in me would like to know if the
upgrade went succesfully- so how can you tell what dcache version your
using? I can't seem to find a nice VERSION file or any magic command
that tells me. It seems like a silly thing not to know how to do!
cheers, hope you have a good weekend.
matt
|