version info should contain build revision / #2132

Summary

open
Sep 20, 2006
Sep 20, 2006 / madlyr
May 4, 2008 / cody-somerville
 

Attached files

No files uploaded
Version info at bottom of every page should contain build revision.
I'm not shure if it is possible to add to php code any svs/cvs clause which automatically fills text when updateing project from repository. If this is possible, then let we do it.

Leaving it manual will be boring, and error prone ;-)

2 Comments

pixtur

Sep 25, 2006
Maybe with php?
we could add a flag at customize.inc.php which does:
  • open .svn/entities parse it's contents and creates a file _tmp/streber_revision.inc.php which could be part of the release:
<?php if(!function_exists('startedIndexPhp')) { header("location:../index.php"); exit;}
confChange("SVN_REVISION", 123);
?>

cody-somerville

May 4, 2008
View comment
This can be accomplished via a svn post-commit hook script. Everytime a commit occurs, it could write the revision number to a file or something.
 

Comment / Update