Bug#792853: debian-policy: please disallow colons in upstream_version
Control: tag -1 patch
Le Sun, Jul 19, 2015 at 01:48:14PM +0200, Jakub Wilk a écrit :
>
> Therefore, I'd like to propose to disallow colons in upstream_version.
Hello everybody,
following the positive reactions, here is a tentative patch to implement
Jakub's proposition.
Have a nice day,
--
Charles Plessy
Tsurumi, Kanagawa, Japan
>From f7d72a95a06ab83af6dec1b4eaaa41396e77fb88 Mon Sep 17 00:00:00 2001
From: Charles Plessy <plessy@debian.org>
Date: Thu, 24 Sep 2015 21:49:44 +0900
Subject: [PATCH] Policy: [5.6.12] forbid colons in package version numbers.
Wording: Charles Plessy <plessy@debian.org>
Seconded:
Seconded:
Closes: #792853
---
debian/changelog | 5 +++++
policy.sgml | 6 ++----
upgrading-checklist.sgml | 3 +++
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index d48eac8..e2aa3fa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -31,6 +31,11 @@ debian-policy (3.9.7.0) unstable; urgency=low
Seconded: Bill Allombert <ballombe@debian.org>
Seconded: Charles Plessy <plessy@debian.org>
Closes: #106073
+ * Policy: [5.6.12] forbid colons in package version numbers.
+ Wording: Charles Plessy <plessy@debian.org>
+ Seconded:
+ Seconded:
+ Closes; #792853
-- Bill Allombert <ballombe@debian.org> Fri, 08 May 2015 15:10:02 +0200
diff --git a/policy.sgml b/policy.sgml
index 404dc73..bbd7ea1 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -3224,11 +3224,9 @@ Package: libc6
Alphanumerics are <tt>A-Za-z0-9</tt> only.
</footnote>
and the characters <tt>.</tt> <tt>+</tt> <tt>-</tt>
- <tt>:</tt> <tt>~</tt> (full stop, plus, hyphen, colon,
+ <tt>:</tt> <tt>~</tt> (full stop, plus, hyphen,
tilde) and should start with a digit. If there is no
- <var>debian_revision</var> then hyphens are not allowed;
- if there is no <var>epoch</var> then colons are not
- allowed.
+ <var>debian_revision</var> then hyphens are not allowed.
</p>
</item>
diff --git a/upgrading-checklist.sgml b/upgrading-checklist.sgml
index ebb17fc..8f94b38 100644
--- a/upgrading-checklist.sgml
+++ b/upgrading-checklist.sgml
@@ -40,6 +40,9 @@ picking your way through this list.
Released xxx, 2015.
</p><p><taglist>
+<tag>5.6.12</tag>
+ <item> Forbid colons in package version numbers.
+ </item>
<tag>10.5</tag>
<item> Symbolic links must not traverse above the root directory.
</item>
--
2.1.4
Reply to: