CVS, -vsn(), .app

Sean Hinde Sean.Hinde@REDACTED
Thu Jan 31 17:33:00 CET 2002


Hal,

> 1. We use 
> -vsn('$Id: $ ').
> 
> This has more information than the $Revision$ tag. NO this wont break
> anything.
> 

And not only that, Here attached are two modules which we use to build whole
releases from cvs to tar.gz.

The idea is that you give it a .app file and it pulls out all of the correct
versions from cvs. It does some basic checks to make sure that you have the
latest/most appropriate versions of all files, runs an xref check and then
builds the whole thing.

It needs a very recent version of cvs.

It relies on tags in cvs in the format rel_1_4 to pull out all the files for
e.g app version 1.4.

 - Not many docs - read the source Luke! (hint - you will need to change the
path to cvs in more than one place..)

Usage release:all("App_name").

We also have a tool which put all the versions found in a system up on a web
page - both currently loaded and what is in the current path - vsn.erl helps
with this.

If you tart it up any (or find it useful) then let us know

Rgds,
Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.

      

-------------- next part --------------
A non-text attachment was scrubbed...
Name: vsn.erl
Type: application/octet-stream
Size: 2506 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20020131/9d76b208/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cvs.erl
Type: application/octet-stream
Size: 6964 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20020131/9d76b208/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: release.erl
Type: application/octet-stream
Size: 5458 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20020131/9d76b208/attachment-0002.obj>


More information about the erlang-questions mailing list