[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#920355: marked as done (debian-policy: Permit branch specifications ("-b") in Mercurial Vcs-Hg headers)



Your message dated Sun, 07 Jul 2019 15:34:50 +0000
with message-id <E1hk9Bi-000H6m-5q@fasolo.debian.org>
and subject line Bug#920355: fixed in debian-policy 4.4.0.0
has caused the Debian Bug report #920355,
regarding debian-policy: Permit branch specifications ("-b") in Mercurial Vcs-Hg headers
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
920355: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=920355
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-policy
Version: 4.3.0.1
Severity: minor

Hi,

Policy §5.6.26 permits "-b" only in the case of Vcs-Git:

    In the case of Git, the value consists of a URL, optionally
    followed by the word -b and the name of a branch in the
    indicated repository.

However, Mercurial (ie. "Vcs-Hg") supports this too in its
equivalent "hg clone" command. This change was triggered via
#920314 in Lintian.

A simple patch (also attached) might be:

    commit 3e66c9e470053fcc77169efa82833252971d211c
    Author: Chris Lamb <lamby@debian.org>
    Date:   Thu Jan 24 16:55:21 2019 +0100

	Permit branch specifications ("-b") in Mercurial Vcs-Hg headers too, not just Vcs-Git. (Closes: #-1)

    diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst
    index 44080c9..013aae4 100644
    --- a/policy/ch-controlfields.rst
    +++ b/policy/ch-controlfields.rst
    @@ -973,10 +973,11 @@ repository where the Debian source package is developed.
	 - Mtn (Monotone)
	 - Svn (Subversion)
     
    -    In the case of Git, the value consists of a URL, optionally followed
    -    by the word ``-b`` and the name of a branch in the indicated
    -    repository, following the syntax of the ``git clone`` command. If no
    -    branch is specified, the packaging should be on the default branch.
    +    In the case of Git and Mercurial, the value consists of a URL,
    +    optionally followed by the word ``-b`` and the name of a branch in
    +    the indicated repository, following the syntax of the ``git clone``
    +    or ``hg clone`` command. If no branch is specified, the packaging
    +    should be on the default branch.
     
	 More than one different VCS may be specified for the same package.

Thank you for maintaining Policy.


Best wishes,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-
From 3e66c9e470053fcc77169efa82833252971d211c Mon Sep 17 00:00:00 2001
From: Chris Lamb <lamby@debian.org>
Date: Thu, 24 Jan 2019 16:55:21 +0100
Subject: [PATCH] Permit branch specifications ("-b") in Mercurial Vcs-Hg
 headers too, not just Vcs-Git. (Closes: #-1)

---
 policy/ch-controlfields.rst | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/policy/ch-controlfields.rst b/policy/ch-controlfields.rst
index 44080c9..013aae4 100644
--- a/policy/ch-controlfields.rst
+++ b/policy/ch-controlfields.rst
@@ -973,10 +973,11 @@ repository where the Debian source package is developed.
     - Mtn (Monotone)
     - Svn (Subversion)
 
-    In the case of Git, the value consists of a URL, optionally followed
-    by the word ``-b`` and the name of a branch in the indicated
-    repository, following the syntax of the ``git clone`` command. If no
-    branch is specified, the packaging should be on the default branch.
+    In the case of Git and Mercurial, the value consists of a URL,
+    optionally followed by the word ``-b`` and the name of a branch in
+    the indicated repository, following the syntax of the ``git clone``
+    or ``hg clone`` command. If no branch is specified, the packaging
+    should be on the default branch.
 
     More than one different VCS may be specified for the same package.
 
-- 
2.20.1


--- End Message ---
--- Begin Message ---
Source: debian-policy
Source-Version: 4.4.0.0

We believe that the bug you reported is fixed in the latest version of
debian-policy, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 920355@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Whitton <spwhitton@spwhitton.name> (supplier of updated debian-policy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 07 Jul 2019 15:40:41 +0100
Source: debian-policy
Architecture: source
Version: 4.4.0.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Policy Editors <debian-policy@lists.debian.org>
Changed-By: Sean Whitton <spwhitton@spwhitton.name>
Closes: 761219 897217 917431 920355 928199 930666
Changes:
 debian-policy (4.4.0.0) unstable; urgency=medium
 .
   [ Sean Whitton ]
   * Policy: Recommend use of dh
     Wording: Russ Allbery <rra@debian.org>
     Wording: Sean Whitton <spwhitton@spwhitton.name>
     Seconded: Sam Hartman <hartmans@debian.org>
     Closes: #930666
   * Policy: Permit -b in Vcs-Hg as well as Vcs-Git
     Wording: Chris Lamb <lamby@debian.org>
     Seconded: Holger Levsen <holger@layer-acht.org>
     Seconded: Sean Whitton <spwhitton@spwhitton.name>
     Closes: #897217, #920355
   * Policy: Document versioned Provides:
     Wording: Dominic Hargreaves <dom@earth.li>
     Seconded: Sean Whitton <spwhitton@spwhitton.name>
     Seconded: gregor herrmann <gregoa@debian.org>
     Closes: #761219
   * virtual-package-names-list: Add logind, default-logind
     Wording: Adam Borowski <kilobyte@angband.pl>
     Seconded: Jonathan Nieder <jrnieder@gmail.com>
     Seconded: Holger Levsen <holger@layer-acht.org>
     Closes: #917431
   * Add text to header of the virtual packages list describing the
     "(versioned)" annotation.
   * Fix reference to FHS section in Policy 9.1.2.
     Thanks to Juuso "Linda" Lapinlampi for the patch.
   * Process: Rewrite description of 'obsolete' usertag.
   * Process: Add 'stalled' usertag.
   * Add footnote to 2.3 with a list of licenses thought not to require the
     copying of all copyright notices into the package's copyright file
     (Closes: #928199).
     This was based on discussion between myself and FTP team members.
 .
   [ Russ Allbery ]
   * Fix formatting of the debian_revision explanation in Policy 5.6.12.
     Thanks to Emmanuel Arias for the patch.
Checksums-Sha1:
 1d47b9dafb23f4884e6c85917f09392bd4525288 2023 debian-policy_4.4.0.0.dsc
 8ff498c1af2fdff05655e25b0ad27e1295a08112 534372 debian-policy_4.4.0.0.tar.xz
Checksums-Sha256:
 ee28303c6baa55ff26f59ec03e51a09ff45ac38e496562d3b63164feb4b6ea8c 2023 debian-policy_4.4.0.0.dsc
 64ff2272e32ea1077cdd996a052cbe865bb589a5dc08733559b9d0feb79950df 534372 debian-policy_4.4.0.0.tar.xz
Files:
 5f2ca57de66982a6871d86d3433c90e5 2023 doc optional debian-policy_4.4.0.0.dsc
 2e2323b31177e50efa1e8a981cf48ab6 534372 doc optional debian-policy_4.4.0.0.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAl0iCZMACgkQaVt65L8G
YkCEXQ/8CNluZq2wvYEqUaZkruRScYjEvpDEhPNT3xNkK0euIIWeXFuOIhYs7Z0t
bb+c/tPudwu3RZlt2v891HYmy3kGxNmfD9EZSDsUWrS2fFqIBYwCCzx+g23gt9Lg
d/UDhjrvrxvKYdtC6SYWKlMnoIClxoo9J/g+/yLz6S8o3sBzcdLYknjsQUQjp53R
CY+GLOutO1QQmixxUYRxo4ub2Rm0PWF0SZ3GKLQDAlslB3li1D0okBoP4gD4ViFg
od5iUd5Ssbz03b28Dv8GsxCDJhSUpfww6Knzz4Tei6EnafpJl/5csPM3hQKUPDs2
P2+JqFimNKGrU90iBuKhYG+Es6nnWnOzKKQ0Bys9dK/LDFIYd8/OA7jOhODwq+uh
3Q6DEc3M/ptdhxV97or7t1xid04nMxFw/ygq/eIo04yOVmry6OX2jv2Xqo6ylfsS
XhoaP9GBOsZZA+AOufR/spY8mIwt+h2ZRJ7QrE3dPrXAePiD83ojQsg7QPrNFXrJ
ja2/bo4skoojDy79wLEN7sPzvyJmwOSieEHWDpRbq9wi5BHvt8UB4UqpJN3O/SM+
O0S2L1H6VBNA4F2MPjxCp0ZNh7zCizTJTmKN4w7C4xLY8RiAMFdqQHy3eEvvcv/W
SYDBbWeRxRifuv+qypsRHt8AGmXVYg+NStl9dSCZLSYMbwWexz0=
=atuX
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: