2010/03/22

The Labs.Com Admin Lab MyVersion
Last update 2001/05/07

The Labs - Design & Functionality For The Net

$MyVersion: 0.036 - Fri May 4 03:55:21 CEST 2001 - kiwi$

  1. Introduction
  2. Download
  3. Usage
  4. History
MyVersion
1. Introduction
MyVersion is a small version control program, with the ability to keep record of the history. It does not control or archive source(s) like RCS and alike systems do.

MyVersion
2. Download

myversion (perl-source)

MyVersion
3. Usage

  • myversion - first-call: you install the required files
  • myversion - further calls: you update all files with recent version-number
  • myversion new - increase version number by 0.001
  • myversion new version - define version-number
  • myversion update file1 ... fileN - add files for updating
  • myversion history comment - add comment with current date
  • myversion history - display history
Within your source-files (perl, C, html etc) you can add following term once or multiple times:

 $myversion$ 

In example within a perl-source:

 $version = "$myversion$"; 

then call myversion. Make sure the files are in the update-list of myversion.

Note: Only the first occurance of $myversion$ will be replaced.

Additionally you can include

 $MyHistory$ 
    29 Jul 1998: 0.035: history bug fix . 
    25 Jul 1998: 0.034: history tracking added . 

which will be replaced by the example below:

MyVersion
4. History

 $MyHistory$ 
    29 Jul 1998: 0.035: history bug fix . 
    24 Jul 1998: 0.034: history tracking added . 

Note: the last '.' at the end indicates that the line is a history-line, do not remove it.

                                                                                                                                   

Net Security Admin LabMyLogger

Hipocrisy of the finest: "I agree that no single company can create all the hardware and software. Openness is central because it's the foundation of choice."
-- Steve Balmer (Microsoft) blaming Apple regarding iPhone, February 18, 2009

Last update 2001/05/07

All Rights Reserved - (C) 1997 - 2009 by The Labs.Com

Top of Page

The Labs.Com