• Bug#610083: Remove requirement to document upstream source location in

    From Sean Whitton@21:1/5 to Charles Plessy on Sat Aug 26 23:50:02 2017
    XPost: linux.debian.bugs.dist

    control: tag -1 +patch

    On Mon, Jan 17, 2011 at 10:39:15AM +0900, Charles Plessy wrote:
    The difference between both sources of information is that Homepage is parseable, and debian/copyright is not. DEP-5 will not solve this
    problem: the Source field is more or less free-form. It may contain an
    URL, but not necessarly, and if there is an URL it is not guaranteed
    to be the one to the sources.

    Indeed.

    When the information is redundant, I would like the Policy to permit
    it to be in a single place. This will give a bit of flexibility to
    allow for evolutions. I think that the requirement to have the
    download URL in the debian/copyright file is one of the reasons why
    there is temptation to add other meta-data to it, and I think that it
    is not the place for this. Let's remember one of the last sentences of §12.5: ‘You should not use the copyright file as a general README
    file’.

    Agreed.

    I am seeking seconds for the following patch. Given what Julian pointed
    out, it only permits Homepage: to be used, not d/watch.

    diff --git a/policy/ch-docs.rst b/policy/ch-docs.rst
    index dc02bc6..d79f732 100644
    --- a/policy/ch-docs.rst
    +++ b/policy/ch-docs.rst
    @@ -186,8 +186,10 @@ information and distribution license in the file
    ``/usr/share/doc/package/copyright``. This file must neither be
    compressed nor be a symbolic link.

    -In addition, the copyright file must say where the upstream sources (if
    -any) were obtained, and should include a name or contact address for the
    +In addition, except in the case where the information would duplicate
    +exactly the contents of the :ref:`Homepage <s-f-Homepage>` field, the +copyright file must say where the upstream sources (if any) were
    +obtained, and should include a name or contact address for the
    upstream authors. This can be the name of an individual or an
    organization, an email address, a web forum or bugtracker, or any other
    means to unambiguously identify who to contact to participate in the

    --
    Sean Whitton

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

    iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlmh3GsACgkQaVt65L8G YkAZSQ/+K3zuOWTDtg/gEermvhDixmSixJE/uu5
  • From Russ Allbery@21:1/5 to Sean Whitton on Sun Aug 27 01:50:01 2017
    XPost: linux.debian.bugs.dist

    Sean Whitton <spwhitton@spwhitton.name> writes:

    I am seeking seconds for the following patch. Given what Julian pointed
    out, it only permits Homepage: to be used, not d/watch.

    diff --git a/policy/ch-docs.rst b/policy/ch-docs.rst
    index dc02bc6..d79f732 100644
    --- a/policy/ch-docs.rst
    +++ b/policy/ch-docs.rst
    @@ -186,8 +186,10 @@ information and distribution license in the file
    ``/usr/share/doc/package/copyright``. This file must neither be
    compressed nor be a symbolic link.

    -In addition, the copyright file must say where the upstream sources (if -any) were obtained, and should include a name or contact address for the
    +In addition, except in the case where the information would duplicate +exactly the contents of the :ref:`Homepage <s-f-Homepage>` field, the +copyright file must say where the upstream sources (if any) were
    +obtained, and should include a name or contact address for the
    upstream authors. This can be the name of an individual or an
    organization, an email address, a web forum or bugtracker, or any other
    means to unambiguously identify who to contact to participate in the

    Seconded with or without the following nit.

    Minor wording nit: I would put a period after "obtained" and make the next
    part a separate sentence. ("The copyright file should include a name or contact address for the upstream authors.") Otherwise, it could be read
    as saying that the copyright file can only omit the upstream source
    information if the URL pointed to by Homepage includes name or contact information, but (a) that's not the point of your change, and (b) we want
    that contact information to always be in the copyright file if available because upstream URLs tend to disappear.

    --
    Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to Russ Allbery on Sun Aug 27 02:20:01 2017
    XPost: linux.debian.bugs.dist

    control: tag -1 -patch

    On Sat, Aug 26 2017, Russ Allbery wrote:

    Seconded with or without the following nit.

    Minor wording nit: I would put a period after "obtained" and make the next part a separate sentence. ("The copyright file should include a name or contact address for the upstream authors.") Otherwise, it could be read
    as saying that the copyright file can only omit the upstream source information if the URL pointed to by Homepage includes name or contact information, but (a) that's not the point of your change, and (b) we want that contact information to always be in the copyright file if available because upstream URLs tend to disappear.

    I don't think this is so minor!

    The paragraph says that the upstream contact information can just be a
    URL, and if it is, then I think it could be omitted in favour of the
    Homepage: field. It was deliberate that my addition applies to both the
    'must' and the 'should' requirements.

    Do you disagree with this?

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlmh/38ACgkQaVt65L8G YkBRvxAAqV+5DKQDgayAadvNw9JBbN/vqcTo4La9Mrhj3tOYV3uw0G1E/D3cY+dF Lt8dWGaXmbUdowdD2plUlgCknoDbmLFNKRk6ytRy1kli02LhoucYphm4GKN1C/Nk YD0XOl42+Rxp+dvSUme33GW91hos9aBLbEjm/BLIrTtIcFkbi/eN9ALSvBEzIgDp SyI5P1hjs4yoBpqOWlbJyBgBa1ntHpkxEHGlym0KJillXREWII9pjqtbFClIf0C4 j2EEtEsz82dqaKYtWObpFlneYTpSRvSGoZEib9/oiAi2kwEjRB55a+c0zjBhc44+ jpjhMgQpShsurXg36kQpWm6oRsNCsNzntFdjOO5xTKo/sPoIbBzi3vo4om4iae1u rwgg3MFaX+EnjM8kYCCVm5BBpLWlm4iZx2OJ7wxcLlPQOtUP/zGUtoV2UAbTEfqu JLnOP3/9J8CbkphbQnejuDXDftxe7SJyDwxYbxxbNKfb0V1I9maL4fiuN9zcQ4Fd 6ej6yhzcmqXUrD/eI+i4+PEfpE0BprLQ2zDHKmNklFc2Cs55XEPpfZvqV0WbGW1P FBmC2cBnJtJThwEmagxe2vMiZ4NtEeZ630wEfgY0OJ4Z315xrjDwWWc72bXFzDz7 WX7jQaf/27FsHDOLMAY0bh29a49vUye2xgrNFsbvAKhSqB2k2zU=VmdS
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to Sean Whitton on Sun Aug 27 04:10:01 2017
    XPost: linux.debian.bugs.dist

    Sean Whitton <spwhitton@spwhitton.name> writes:
    On Sat, Aug 26 2017, Russ Allbery wrote:

    Seconded with or without the following nit.

    Minor wording nit: I would put a period after "obtained" and make the
    next part a separate sentence. ("The copyright file should include a
    name or contact address for the upstream authors.") Otherwise, it
    could be read as saying that the copyright file can only omit the
    upstream source information if the URL pointed to by Homepage includes
    name or contact information, but (a) that's not the point of your
    change, and (b) we want that contact information to always be in the
    copyright file if available because upstream URLs tend to disappear.

    I don't think this is so minor!

    The paragraph says that the upstream contact information can just be a
    URL, and if it is, then I think it could be omitted in favour of the Homepage: field. It was deliberate that my addition applies to both the 'must' and the 'should' requirements.

    Do you disagree with this?

    Well, it doesn't, exactly... it says that it can be a web forum or
    bugtracker, but doesn't say anything about being a URL. Hm.

    Something about this sits wrong with me, in that I feel like we should
    capture the upstream contact information directly rather than relying on a
    URL remaining present on the web. But I'm not sure it's that big of a
    deal one way or the other, so I'm still okay with the wording you proposed originally (and still second it).

    --
    Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sean Whitton@21:1/5 to Russ Allbery on Sun Aug 27 21:30:01 2017
    XPost: linux.debian.bugs.dist

    control: tag -1 +patch

    On Sat, Aug 26 2017, Russ Allbery wrote:

    Well, it doesn't, exactly... it says that it can be a web forum or bugtracker, but doesn't say anything about being a URL. Hm.

    Something about this sits wrong with me, in that I feel like we should capture the upstream contact information directly rather than relying on a URL remaining present on the web. But I'm not sure it's that big of a
    deal one way or the other, so I'm still okay with the wording you proposed originally (and still second it).

    The case I had in mind was where the only information available was a
    URI, with no maintainer name or e-mail address. In that case, Homepage:
    would duplicate that information, and that's what we're trying to avoid
    with this bug.

    On reflection I realise that such a case is rather unlikely. But I
    would still like to cover it with this change.

    --
    Sean Whitton

    --=-=-Content-Type: application/pgp-signature; name="signature.asc"

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

    iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlmjC+0ACgkQaVt65L8G YkCvgA//ZfpesFpa50r9Q36JCSbTVBwTV7KzmI7oUcM4mFm6pWgm+m2n2eMA++hP eN7aGbHoznuuHOhNgbLXv9I/25mfmZgObfLwNZ9MoKlP7QXNH9S7daIgPXHG7+ca YjpI0aCV8bOJE6iOsHd+ur8wPefg59sGNNaHxBVPQW+Ku6Czzc/CD66qeguVwCxk roNBJ2LOuOqG2K3pUlTEnXVfW0bxuu6MFji6f9+NOXkrwD2dpFF1c3JeCRfVCYkD 7eu+XtTKLkbxVAKjpGL4YwJarnoJkMlwpJgYRufC+khsrIT+7XUvUOyZvvUCritl gAFxLo6avT3Lo0T5ZdVPPTaZ25zCWeiN4Eg/7lXF0uchBt+sAEhcynebzyzyJHn7 yZx35a4QR/TBJf6trJfcD1lzyymnScPbmyFQ35MgzjqkmwAh9X7qx2kQxC/39Pkn Zc36lArc69W/kQ3TFbN3p54/XegwEtvSXCP2jdB6RlisFAiOEhyKTExGwvEDgIDs VZMtxwSNcdz6THlqbCvLwe/Yf6IYoyvfAnLgOpuXvY5oixrCzkF0eSYzQqXiqBHo Y4tySImGw3DUvxidInBCMSl+WRPIQSp25cHL2gQt0z65AoDx8EFis66Hu2bs4o3i 2ER9CgC5QD5jTUKkrriPAmysbvhztMyB2SvHOI+FaL919aT2jJQ=gtDu
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to Sean Whitton on Sun Aug 27 21:40:02 2017
    XPost: linux.debian.bugs.dist

    Sean Whitton <spwhitton@spwhitton.name> writes:
    On Sat, Aug 26 2017, Russ Allbery wrote:

    Well, it doesn't, exactly... it says that it can be a web forum or
    bugtracker, but doesn't say anything about being a URL. Hm.

    Something about this sits wrong with me, in that I feel like we should
    capture the upstream contact information directly rather than relying
    on a URL remaining present on the web. But I'm not sure it's that big
    of a deal one way or the other, so I'm still okay with the wording you
    proposed originally (and still second it).

    The case I had in mind was where the only information available was a
    URI, with no maintainer name or e-mail address. In that case, Homepage: would duplicate that information, and that's what we're trying to avoid
    with this bug.

    On reflection I realise that such a case is rather unlikely. But I
    would still like to cover it with this change.

    Yeah, makes sense. Works for me! We can always revisit later if we run
    into some issue with it.

    --
    Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)