Ticket #2031 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

change engine_getinfo() to return proper version numbers for Asterisk SVN branches

Reported by: p_lindheimer Assigned to:
Priority: minor Milestone: 2.3
Component: Core Version: 2.3-branch
Keywords: Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

right now it puts in 99 for some reason, need to fix the regex to deal with it properly.

Change History

06/27/07 06:41:00 changed by p_lindheimer

  • summary changed from change get_engine() to return proper version numbers for Asterisk SVN branches to change engine_getinfo() to return proper version numbers for Asterisk SVN branches.

06/27/07 08:51:54 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

r4249 (2.3)
r4250 (2.2)

changed engine_getinfo() to handle Asterisk SVN tags as the normal version number, and to handle SVN pulls from a branch where it is formatted as (example): Asterisk SVN-branch-1.2-r61786, it will return 1.2.61786 as the version with 61786 in addtional. This will allow it to work with version control although is not perfect, because if they are notkeeping up with their svn pulls, it may be lower than a proper version number. However, the previous way just hardcoded it to 99 which effectively did the same so ...