|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #50758 Print revision number
Submitted: 2010-01-14 21:55 UTC Modified: 2015-04-16 18:47 UTC
From: hannes dot magnusson at gmail dot com Assigned:
Status: Open Package: Doc Build problem
PHP Version: 5.3SVN-2010-01-14 (snap) OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: hannes dot magnusson at gmail dot com
New email:
PHP Version: OS:


 [2010-01-14 21:55 UTC] hannes dot magnusson at gmail dot com
Currently the PHP manual prints the build date (i.e. when the manual 
was rendered), but that doesn't help figuring out how up2date the 
manual actually is.

If we could print out revision number, or even figuring out the last 
'svn up' timestamp, and print that with the builddate..

maybe introduce a PI for it?
<?getSVNRevision?> or something?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-01-15 00:15 UTC]
As the manual is a collection of a LOT of files, each page would have a 
different date though surely?

 [2010-01-15 08:26 UTC]
I was just thinking about the current checkout revision, not per-file.

I think figuring out the revision/last modification date for every 
single file would be a bit to much hassle.
 [2010-01-15 12:29 UTC]
If $Revision became $Id in the XML files (a one of BIG hit with all 
that that entails for translators), then a PI could extract the 
elements from the $Id entry.

But that is a massive issue for translators.

Unless there is a way to alter a file in SVN _WITHOUT_ it updating the 
Revision - which, thinking about it, sorts of invalidates the whole 
Revision process really.

But, running ...

svn info phpdoc/modules/doc-all/en

outputs ...

Path: phpdoc\modules\doc-all\en
Repository Root:
Repository UUID: c90b9560-bf6c-de11-be94-00142212c4b1
Revision: 293572
Node Kind: directory
Schedule: normal
Last Changed Author: stas
Last Changed Rev: 293566
Last Changed Date: 2010-01-15 01:58:44 +0000 (Fri, 15 Jan 2010)

Processing that should be fairly easy.
 [2010-03-12 16:20 UTC]
-Type: Bug +Type: Feature/Change Request
 [2015-04-16 18:47 UTC]
-Summary: [FR] Print revision number +Summary: Print revision number
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 05:01:30 2024 UTC