Solved

Best way to version PHP files (already using SVN)

Posted on 2009-05-19
2
164 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

910 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now