Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
sub dep14_version_mangle ($) {
my ($v) = @_;
- # DEP-14 2014-11-05 "Version Mangling"
+ # DEP-14 patch proposed 2016-11-09 "Version Mangling"
$v =~ y/~:/_%/;
+ $v =~ s/\.(?=\.|$|lock$)/.#/g;
return $v;
}
GIT_ALTERNATE_OBJECT_DIRECTORIES in the pre-receive-hook.
* dgit-maint-merge(7): Explain how to change to this workflow
from an existing git workflow. [Sean Whitton] Closes:#847807.
+ * Version tags mangling: Protect dots, as per proposed update to DEP-14.
Test suite:
* Provide and use stunt lintian and debuild, to avoid lintian