Solved

Best way to version PHP files (already using SVN)

Posted on 2009-05-19
2
165 Views
Last Modified: 2012-05-07
I am currently using SVN to version my PHP files, but that doesn't put any kind of reference in the file.  I am trying to find a piece of software or other practice that will append the version of the file within the project version into each file.  I have seen software using a system such as the code block I provided.  This would go at the top of each file.  Is there a way to create this automatically (automagically would be better) for each file?

Thanks!

/**
* Classname
* @version $Id: file.name.php 391 2009-02-22 11:53:16Z author $
* @package Package Name
* @copyright (C) year - year Company
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
* Extra Info
**/

Open in new window

0
Comment
Question by:termlimit
2 Comments
 
LVL 2

Accepted Solution

by:
estaticd earned 500 total points
ID: 24428834
0
 
LVL 4

Author Closing Comment

by:termlimit
ID: 31583374
That is exactly what I was looking for.  Thanks a lot for the quick reply.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question