[asterisk-bugs] [JIRA] Issue Comment Edited: (ASTERISK-20483) Allow Asterisk to report git SHAs in version string.

Shaun Ruffell (JIRA) noreply at issues.asterisk.org
Thu Sep 27 10:31:27 CDT 2012


    [ https://issues.asterisk.org/jira/browse/ASTERISK-20483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197668#comment-197668 ] 

Shaun Ruffell edited comment on ASTERISK-20483 at 9/27/12 10:29 AM:
--------------------------------------------------------------------

Attached [0001-build_tools-make_version-Allow-Asterisk-to-report-gi.patch|https://issues.asterisk.org/jira/secure/attachment/44766/0001-build_tools-Allow-Asterisk-to-report-git-SHAs-in-ver.patch].

      was (Author: sruffell):
    Attached [0001-build_tools-make_version-Allow-Asterisk-to-report-gi.patch|https://issues.asterisk.org/jira/secure/attachment/44765/0001-build_tools-make_version-Allow-Asterisk-to-report-gi.patch].
  
> Allow Asterisk to report git SHAs in version string.
> ----------------------------------------------------
>
>                 Key: ASTERISK-20483
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-20483
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Core/BuildSystem
>    Affects Versions: SVN
>            Reporter: Shaun Ruffell
>            Severity: Minor
>         Attachments: 0001-build_tools-Allow-Asterisk-to-report-git-SHAs-in-ver.patch
>
>
> From patch to be attached:
> {noformat}
> Make git more attractive for managing work-in-progress. Especially
> convenient when a potential patch set needs to be tested on multiple
> platforms since one can use git to keep all the test environments in
> sync independent of a subversion server.
> Now the Asterisk version will show the exact git SHA5 that was used
> when building (still appended by "M" if there are local
> modifications) from a git clone of the Asterisk repository so the
> developer can more easily know what is actually under test.
> You will now get this:
>   $ asterisk -V
>   Asterisk GIT-1698298
> Instead of this:
>   $ asterisk -V
>   Asterisk UNKNOWN__and_probably_unsupported
> This has zero impact for those not using git with the exception of
> an extra test in the configure script to gather the path of the git.
> This is necessary to prevent "sudo make install" from failing since
> git may not be in the path in make's shell environment.
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list