Merge ~powersj/cloud-init:devel/fix-debian-copyright into cloud-init:ubuntu/devel

Proposed by Joshua Powers
Status: Merged
Approved by: Scott Moser
Approved revision: b7cb83b25458a6aa89d178b16fc3601a1e9992de
Merged at revision: 02b6994803bc3538964f7cbc8083cf8dd4e173e2
Proposed branch: ~powersj/cloud-init:devel/fix-debian-copyright
Merge into: cloud-init:ubuntu/devel
Diff against target: 82 lines (+31/-18)
1 file modified
debian/copyright (+31/-18)
Reviewer Review Type Date Requested Status
Server Team CI bot continuous-integration Approve
Ryan Harper Needs Fixing
Steve Langasek Pending
Review via email: mp+331172@code.launchpad.net

Commit message

d/copyright: Reorganize file, add Apache 2.0 license

The license was updated to be dual-licensed under Apache 2.0 and
GPL 3.0, however, the text of the Apache 2.0 license was not added
to the debian/copyright file.

The file was also updated to be lintian clean and reorganized to
list the licenses at the bottom after declaring the metadata and
file information.

LP: #1718681

To post a comment you must log in.
Revision history for this message
Server Team CI bot (server-team-bot) wrote :

PASSED: Continuous integration, rev:9b26debc236bb99ba90243d9dc5be97123986f96
https://jenkins.ubuntu.com/server/job/cloud-init-ci/343/
Executed test runs:
    SUCCESS: Checkout
    SUCCESS: Unit & Style Tests
    SUCCESS: Ubuntu LTS: Build
    SUCCESS: Ubuntu LTS: Integration
    SUCCESS: MAAS Compatability Testing
    IN_PROGRESS: Declarative: Post Actions

Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/cloud-init-ci/343/rebuild

review: Approve (continuous-integration)
Revision history for this message
Ryan Harper (raharper) wrote :

I don't think we want to change the License: field, just add the 2.0 text

review: Needs Fixing
Revision history for this message
Scott Moser (smoser) wrote :

Hi, comment 'b' below I'm asking Steve for insight on
I have a few questions here. Things that were broken or unclear before, but we might as well fix.

a.) 'Files:' is required now. So lets add a 'Files: *'

b.) Lets fix the 'Format' line:
- Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
+ Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

c.) Are we supposed to have an empty line between 'Licence' fields?
Josh has no empty line, but the specification in examples has one.

d.) Should the 'License:' sections be at the bottom or in order?

Then, lets just get all 4 relevant 'copyright' files to have the same content.
  ubuntu/xenial:debian/copyright
  ubuntu/zesty:debian/copyright
  ubuntu/devel:debian/copyright
  master:packages/debian/copyright

Revision history for this message
Steve Langasek (vorlon) wrote :

> I don't think we want to change the License: field, just add the 2.0 text

Generally you do want to specify the version as part of the license field, same as is done for GPL, as this assists with automated analysis.

> b.) Lets fix the 'Format' line:
> - Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
> + Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/

Is this the bit you wanted my insight on? The new declaration is the current one that you want here, yes.

Revision history for this message
Joshua Powers (powersj) wrote :

@vorlon @smoser

Does this look right:
https://paste.ubuntu.com/25628692/

* Updated format
* Added "Files: *"
* Added blank lines between licenses
* Added line continuation in license text (e.g. ' .')

Revision history for this message
Joshua Powers (powersj) wrote :

I wasn't sure if I should put all three license's text at the bottom

Revision history for this message
Steve Langasek (vorlon) wrote :

On Wed, Sep 27, 2017 at 06:59:21PM -0000, Joshua Powers wrote:
> @vorlon @smoser

> Does this look right:
> https://paste.ubuntu.com/25628692/

> * Updated format
> * Added "Files: *"
> * Added blank lines between licenses
> * Added line continuation in license text (e.g. ' .')

This does not parse in dep5:

  This package was debianized by Soren Hansen <email address hidden> on
  Thu, 04 Sep 2008 12:49:15 +0200 as ec2-init. It was later renamed to
  cloud-utils by Scott Moser <email address hidden>

  Upstream Author: Scott Moser <email address hidden>
      Soren Hansen <email address hidden>
      Chuck Short <email address hidden>

IMHO putting the license: stanzas together at the bottom is more readable,
but there's no requirement in the standard that you do so.

And lintian should give you feedback about any syntax errors, if I'm not
mistaken.

Revision history for this message
Scott Moser (smoser) wrote :

lintian doesn't complain at all about the debian/copyright.
Steve can you give a quick look at
http://paste.ubuntu.com/25633185/

Changes versus Josh's last are:
  http://paste.ubuntu.com/25633193/

Revision history for this message
Server Team CI bot (server-team-bot) wrote :

PASSED: Continuous integration, rev:b7cb83b25458a6aa89d178b16fc3601a1e9992de
https://jenkins.ubuntu.com/server/job/cloud-init-ci/360/
Executed test runs:
    SUCCESS: Checkout
    SUCCESS: Unit & Style Tests
    SUCCESS: Ubuntu LTS: Build
    SUCCESS: Ubuntu LTS: Integration
    SUCCESS: MAAS Compatability Testing
    IN_PROGRESS: Declarative: Post Actions

Click here to trigger a rebuild:
https://jenkins.ubuntu.com/server/job/cloud-init-ci/360/rebuild

review: Approve (continuous-integration)
Revision history for this message
Steve Langasek (vorlon) wrote :

On Thu, Sep 28, 2017 at 01:01:36PM -0000, Scott Moser wrote:
> lintian doesn't complain at all about the debian/copyright.
> Steve can you give a quick look at
> http://paste.ubuntu.com/25633185/

LGTM.

There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/debian/copyright b/debian/copyright
index cf4a76f..c223670 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,35 +1,48 @@
1Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=1351Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
2Name: cloud-init2Upstream-Name: cloud-init
3Maintainer: Scott Moser <scott.moser@canonical.com>3Upstream-Contact: cloud-init-dev@lists.launchpad.net
4Source: https://launchpad.net/cloud-init4Source: https://launchpad.net/cloud-init
55
6This package was debianized by Soren Hansen <soren@ubuntu.com> on6Files: *
7Thu, 04 Sep 2008 12:49:15 +0200 as ec2-init. It was later renamed to
8cloud-utils by Scott Moser <scott.moser@canonical.com>
9
10Upstream Author: Scott Moser <smoser@canonical.com>
11 Soren Hansen <soren@canonical.com>
12 Chuck Short <chuck.short@canonical.com>
13
14Copyright: 2010, Canonical Ltd.7Copyright: 2010, Canonical Ltd.
15License: GPL-3 or Apache-2.08License: GPL-3 or Apache-2.0
9
10Files: cloudinit/boto_utils.py
11Copyright: 2006,2007, Mitch Garnaat http://garnaat.org/
12License: MIT
13
14License: GPL-3
16 This program is free software: you can redistribute it and/or modify15 This program is free software: you can redistribute it and/or modify
17 it under the terms of the GNU General Public License version 3, as16 it under the terms of the GNU General Public License version 3, as
18 published by the Free Software Foundation.17 published by the Free Software Foundation.
1918 .
20 This program is distributed in the hope that it will be useful,19 This program is distributed in the hope that it will be useful,
21 but WITHOUT ANY WARRANTY; without even the implied warranty of20 but WITHOUT ANY WARRANTY; without even the implied warranty of
22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 GNU General Public License for more details.22 GNU General Public License for more details.
2423 .
25 You should have received a copy of the GNU General Public License24 You should have received a copy of the GNU General Public License
26 along with this program. If not, see <http://www.gnu.org/licenses/>.25 along with this program. If not, see <http://www.gnu.org/licenses/>.
2726 .
28 The complete text of the GPL version 3 can be seen in27 The complete text of the GPL version 3 can be seen in
29 /usr/share/common-licenses/GPL-3.28 /usr/share/common-licenses/GPL-3.
3029
31Files: cloudinit/boto_utils.py30License: Apache-2.0
32Copyright: 2006,2007, Mitch Garnaat http://garnaat.org/31 Licensed under the Apache License, Version 2.0 (the "License");
32 you may not use this file except in compliance with the License.
33 You may obtain a copy of the License at
34 .
35 http://www.apache.org/licenses/LICENSE-2.0
36 .
37 Unless required by applicable law or agreed to in writing, software
38 distributed under the License is distributed on an "AS IS" BASIS,
39 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
40 See the License for the specific language governing permissions and
41 limitations under the License.
42 .
43 On Debian-based systems the full text of the Apache version 2.0 license
44 can be found in `/usr/share/common-licenses/Apache-2.0'.
45
33License: MIT46License: MIT
34 Permission is hereby granted, free of charge, to any person obtaining a47 Permission is hereby granted, free of charge, to any person obtaining a
35 copy of this software and associated documentation files (the48 copy of this software and associated documentation files (the
@@ -38,10 +51,10 @@ License: MIT
38 tribute, sublicense, and/or sell copies of the Software, and to permit51 tribute, sublicense, and/or sell copies of the Software, and to permit
39 persons to whom the Software is furnished to do so, subject to the fol-52 persons to whom the Software is furnished to do so, subject to the fol-
40 lowing conditions:53 lowing conditions:
4154 .
42 The above copyright notice and this permission notice shall be included55 The above copyright notice and this permission notice shall be included
43 in all copies or substantial portions of the Software.56 in all copies or substantial portions of the Software.
4457 .
45 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS58 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
46 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-59 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL-
47 ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT60 ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT

Subscribers

People subscribed via source and target branches