]> git.ipfire.org Git - thirdparty/asterisk.git/commit
git migration: Remove support for file versions 08/208/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 19:46:45 +0000 (14:46 -0500)
commit7175c668f12e78ea4a4bbe37d1f8b25b85963618
tree9cc1cf44fe314192fa2cf41831471daa630909e8
parentd783053f3da2fd9fb0378f2b4184720b34e11d9b
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 to the CLI "core show file version" command.

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