[asterisk-bugs] [Asterisk-GUI 0012988]: [patch] Add the ability to actually put the SVN revision in the GUI

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jul 3 15:34:59 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12988 
====================================================================== 
Reported By:                bkruse
Assigned To:                bkruse
====================================================================== 
Project:                    Asterisk-GUI
Issue ID:                   12988
Category:                   New/Feature
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 3398 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-03-2008 15:24 CDT
Last Modified:              07-03-2008 15:34 CDT
====================================================================== 
Summary:                    [patch] Add the ability to actually put the SVN
revision in the GUI
Description: 


Ever since we added the ability for svn to add the current $REVISION$ in
astman.js people get confused, because that is the last revision of the
updated file INSTEAD of the last revision of the gui/checkout, confusing me
trying to help, and people reporting the problem.

This patch (which I want someone else to look over before I commit it in)
will actually get the current svn revision of the whole branch (or last
changed revision if we decide to) and put it in the proper file.

It will also take the folder name if it is not an svn checkout (eg a
release like astgui-1.0 or something similar)

Need some feedback on whether or not this is an acceptable method.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-03-08 15:34  
---------------------------------------------------------------------- 
Repository: asterisk-gui
Revision: 3415

U   trunk/Makefile
U   trunk/config/scripts/astman.js

------------------------------------------------------------------------
r3415 | bkruse | 2008-07-03 15:34:58 -0500 (Thu, 03 Jul 2008) | 10 lines

Changed Makefile to actually put the correct
revision in astman.js (for display in the
system info tab, so the user can actually
report the correct revision)

Thanks seanbright for the svnversion command
over the cut hack.

(closes issue http://bugs.digium.com/view.php?id=12988)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk-gui?view=rev&revision=3415 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-03-08 15:34  svnbot         Checkin                                      
07-03-08 15:34  svnbot         Note Added: 0089710                          
======================================================================




More information about the asterisk-bugs mailing list