Sorry Owen, I am not sure about how to check the version number. I have
just downloaded the current version, 1.6.5-2 and listing the contents of
the archive gives:
tar -t --file=dcache-v1.6.5-2.tar
dcache_deploy/
dcache_deploy/d-cache-client-1.0-100-RH73.i386.rpm
dcache_deploy/d-cache-client-1.0-100.i386.rpm
dcache_deploy/d-cache-core-1.5.2-83.i386.rpm
dcache_deploy/d-cache-opt-1.5.3-84.i386.rpm
dcache_deploy/dCache-installation-instructions.txt
dcache_deploy/pnfs-3.1.10-15.i386.rpm
dcache_deploy/Release.notes
So it is not clear how the different component numbers are combined
together to give the final version number. Could you speak to the dCache
developers about this?
Cheers,
Greig
On Tue, 19 Jul 2005, Owen Synge wrote:
> 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
>
--
=======================================================================
Dr Greig A Cowan http://www.ph.ed.ac.uk/~gcowan1
School of Physics, University of Edinburgh, James Clerk Maxwell Building
DCACHE PAGES: http://www.gridpp.ac.uk/deployment/admin/dcache/index.html
=======================================================================
|