Mailinglist Archive: opensuse-buildservice (258 mails)

< Previous Next >
[opensuse-buildservice] Keyword Substitution for OSB (osc) like CVS/RCS?!
  • From: "Degenfelder, Guenther" <guenther.degenfelder@xxxxxxxx>
  • Date: Thu, 19 Aug 2010 10:19:42 +0200
  • Message-id: <20100819081942.BE2ED1B7040@xxxxxxxxxxxxxxxxxxxxxxxx>
Is there a keyword substitution in OSB (osc) for inserting revision information
into the source codes like in CVS/RCS?!

And if not, when we will get it?!

Here an example:

The source of 'testprog' by User 'testuser' at first 'check in':

# $Header$
# $Log$
# $Date$
# $Author$
print "VERSION ".'$Revision$'."\n";

And then after later 'check out' of revision 1.3:

# $Header: /RCS/testprog 1.3 2010/08/18 12:00:00 testuser Exp $
# $Log: testprog $
# Revision 1.3 2010/08/18 12:00:00 testuser
# Description of changes of this revision...
#
# ...
#
# Revision 1.1 2010/08/18 12:00:00 testuser
# Initial revision
#
# $Date: 2010/08/18 12:00:00 $
# $Author: testuser $
print "VERSION ".'$Revision: 1.3 $'."\n";

Regards

Guenther
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >