]> git.ipfire.org Git - thirdparty/asterisk.git/commit
git migration: Remove support for file versions 16/216/1
authorMatt Jordan <mjordan@digium.com>
Sun, 12 Apr 2015 17:59:22 +0000 (12:59 -0500)
committerMatt Jordan <mjordan@digium.com>
Wed, 22 Apr 2015 20:01:12 +0000 (15:01 -0500)
commit7d644797482396c2b49c4a3895520d32657bc3cb
tree2df7a0591baeaef4915470b422251beca5c24f49
parent9237e8b11e1b51bc337856975f72f6e2229c482a
git migration: Remove support for file versions

Git does not support the ability to replace a token with a version
string during check-in. While it does have support for replacing a
token on clone, this is somewhat sub-optimal: the token is replaced
with the object hash, which is not particularly easy for human
consumption. What's more, in practice, the source file version was often
not terribly useful. Generally, when triaging bugs, the overall version
of Asterisk is far more useful than an individual SVN version of a file.
As a result, this patch removes Asterisk's support for showing source file
versions.

Specifically, it does the following:
* main/asterisk:
  - Refactor the file_version structure to reflect that it no longer
    tracks a version field.
  - Alter the "core show file version" CLI command such that it always
    reports the version of Asterisk. The file version is no longer
    available.

* main/manager: The Version key now always reports the Asterisk version.

* UPGRADE: Add notes for:
  - Modification to the ModuleCheck AMI Action.
  - Modification of the "core show file version" CLI command.

Change-Id: Ia932d3c64cd18a14a3c894109baa657ec0a85d28
UPGRADE.txt
include/asterisk.h
main/asterisk.c
main/manager.c