
Hi list, I am creating the NotificationMotd.pm file listed in the Dev Manual and I was curious if someone could explain the CVS line for the Source code header and what each part means and how I would write that line. The example from the NotificationMotd.pm file is: # $Id: module-format.xml,v 1.17.4.1 2007/03/20 11:13:40 martin Exp $ I understand that I should replace the date in the line with todays date and time that I created the format. But the part I am confused about is what module-format.xml is or means, if the version number is the version of the file I am writing or the version of OTRS I am using. Also, what does the "martin Exp $" part mean? Thanks for the help. Dan King Software Developer Canadian Resident Matching Service 613.237.0075 ext. 241 (Toll free) 877.CARMS.42 171 Nepean Street, Suite 300 Ottawa, ON, CAN K2P 0B4 www.carms.ca http://www.carms.ca ------------------------------------------------------------------------------------ This e-mail message, including any attachments, is for the sole use of the intended recipients and may contain confidential and or privileged information. If you are not the intended recipient or this information has been forwarded in error, please contact the sender by reply e-mail and destroy copies of the original message. Ce message (incluant toute pièce jointe) s'adresse uniquement au(x) destinataire(s) prévu(s) ou à une personne autorisée à le recevoir en son (leur) nom. Il pourrait contenir des renseignements confidentiels ou protégés. Si vous l'avez reçu par erreur, nous vous prions d'en informer l'auteur dans les meilleurs délais, de ne pas divulguer son contenu et de le supprimer de votre système. Merci.

HI Dan, On Do, Jul 12, 2007 at 11:43:32 -0400, Dan King wrote:
I am creating the NotificationMotd.pm file listed in the Dev Manual
Cool :).
and I was curious if someone could explain the CVS line for the Source code header and what each part means and how I would write that line. The example from the NotificationMotd.pm file is:
# $Id: module-format.xml,v 1.17.4.1 2007/03/20 11:13:40 martin Exp $
I understand that I should replace the date in the line with todays date and time that I created the format. But the part I am confused about is what module-format.xml is or means, if the version number is the version of the file I am writing or the version of OTRS I am using. Also, what does the "martin Exp $" part mean?
The cvs line in the file does not need to be edited, the cvs server does this for us :). So dont care about the line :). However, the format is: # $Id: -> This is a marker for the cvs server that tells that the line is starting module-format.xml, -> Just the name of the file. v 1.17.4.1 -> The current version number of the file 2007/03/20 11:13:40 -> The date and time when the file was commited the last time. martin -> The user who committed the file the last time Exp $ -> End of the line where all this information are stored.
Dan King
Regards, Christian -- ((otrs)) :: OTRS GmbH :: Norsk-Data-Strasse 1 :: 61352 Bad Homburg Fon: +49 (0) 9421 56818 0 :: Fax: +49 (0) 9421 56818 18 http://www.otrs.com/ :: Communication with success! Geschäftsführer: André Mindermann, Martin Edenhofer Handelsregister: HRB 9452 Bad Homburg Steuernummer: 003/240/97521

Hi Dan,
On 2007-07-12 at 17:43:32 [+0200], Dan King
I am creating the NotificationMotd.pm file listed in the Dev Manual and I was curious if someone could explain the CVS line for the Source code header and what each part means and how I would write that line.
Basically, just don't bother writing anything in there, as it will be overwritten anyway (see below).
The example from the NotificationMotd.pm file is:
# $Id: module-format.xml,v 1.17.4.1 2007/03/20 11:13:40 martin Exp $
This line is expanded by CVS during a commit, so you never edit it yourself. If you insert a line like # $Id: $ into a (text-)file and commit it into a CVS repository with activated keyword expansion, CVS will insert some information about the file into the Id - placeholder. The individual items within that line are: the filename where this $Id: $ line lives in the current CVS-revision of this file the date and time of last commit the name of the developer who did that commit the state (hm, what 'Exp' means in this context escapes me currently... ;-) So, please do not change anything in that line, it will be replaced whenever you commit that file to a CVS-repository. If you are not going to do that anytime soon, you might choose to reduce that line to # $Id: $ or even remove it completely. cheers, Oliver -- ((otrs)) :: OTRS GmbH :: Europaring 4 :: D - 94315 Straubing Fon: +49 (0) 9421 56818-0 :: Fax: +49 (0) 9421 56818-18 http://www.otrs.com/ :: Communication with success!
participants (3)
-
Christian Schoepplein
-
Dan King
-
Oliver Tappe