Re: Any script to populate debian/copyright file ?
On Mon, 16 Jul 2012 06:42:19 +, Bart Martens wrote: I'm personally not a fan of DEP5, because I have not yet seen any benefits, only more work for the packager, and less readable for humans than plain text. Side remark: I personally find a structured Copyright-Format 1.0 file much easier to read than some free-form prose where I have to hunt down the relevant info. -- I guess humans and there preferences are different :) Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT SPI, fellow of the Free Software Foundation Europe `- signature.asc Description: Digital signature
Re: Any script to populate debian/copyright file ?
Bart Martens ba...@debian.org writes: I'm personally not a fan of DEP5, because I have not yet seen any benefits, I wrote git-copyright-scan to be able to automatically update the list of copyright holders from git: http://lists.debian.org/debian-project/2011/04/msg7.html I couldn't imagine doing this manually, there are hundreds of copyright holders. -Timo -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/84boj7tu62@sauna.l.org
Re: Any script to populate debian/copyright file ?
On Sun, Jul 15, 2012 at 06:00:59PM -0400, Aliaksei Sheshka wrote: On Sun, Jul 15, 2012 at 2:04 PM, Bart Martens ba...@debian.org wrote: On Sun, Jul 15, 2012 at 10:51:46AM -0400, Aliaksei Sheshka wrote: I've read the policy but still confused, if some one can help, please take a look. Do you have specific questions on debian-policy ? Yes. W: irrtoolset source: syntax-error-in-dep5-copyright line 1201: Continuation line outside a paragraph. I understand that file is wrong, but don't know where to find a good and correct example of multi copyright multi license fine. One way to solve this is to switch to plain text, because DEP5 is not mandatory for debian-policy. http://www.debian.org/doc/debian-policy/ch-docs.html#s-copyrightfile Use of this format is optional. I'm personally not a fan of DEP5, because I have not yet seen any benefits, only more work for the packager, and less readable for humans than plain text. If there would be any benefit, then I'm not sure it's worth all the trouble. Regards, Bart Martens -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120716064219.gb31...@master.debian.org
Re: Any script to populate debian/copyright file ?
Aliaksei Sheshka sheshka...@gmail.com writes: On Sun, Jul 15, 2012 at 2:04 PM, Bart Martens ba...@debian.org wrote: If you intend to package this software, then please retitle [bug report #392333] to ITP and set yourself as the owner. I would like, but not sure yet I have skills *today*. Why I've build a package and use it myself, I'm not sure it correct according all Debian policies, and debian/copyright in particular. One of the better ways to gain the skills you're talking about is to work in public on packaging, with the goal of releasing a package for inclusion in Debian. If you choose to do that, indicating it earlier is better than later in order to encourage collaboration rather than parallel duplication of work. That is, if someone else wants to also work on packaging this software, they will have a better chance of working together with you if they can see that you're already intending to make the package. I will fix package util I get everything right before asking to upload/sponsor it. That's good. But in the meantime, please explicitly indicate your intent to anyone searching the bug tracker, as Bart recommends. W: irrtoolset source: syntax-error-in-dep5-copyright line 1201: Continuation line outside a paragraph. This probably indicates you have an indented line (leading whitespace on the line) where it's not expected. It's good that you discovered this now so you can learn how to fix it before releasing the package. If you are writing your ‘debian/copyright’ file to conform with the recommended format in Policy, read and learn from the specification in ‘/usr/share/doc/debian-policy/copyright-format-1.0.*’ (your choice of text or HTML format; you have installed all the developer documentation, right?) In particular, to conform with that format, all information needs to be in fields, and all fields must be of the form: Field-Name: value on a single line or Field-Name: value on multiple lines with consistent whitespace indentation on all continuation lines Be sure to always edit files in a text editor which shows trailing whitespace as an error, and be sure to remove it before saving. Does that help identify the problem? If not, please point us to exactly where this file is so we can see its content. -- \ “The man who is denied the opportunity of taking decisions of | `\ importance begins to regard as important the decisions he is | _o__)allowed to take.” —C. Northcote Parkinson | Ben Finney -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/874np8vv01@benfinney.id.au
Re: Any script to populate debian/copyright file ?
Aliaksei Sheshka sheshka...@gmail.com writes: 1) should a package 'inherit' license from the original COPYING file if not stated otherwise ? I don't know how to understand that sentence. If you are asking whether the mere presence of a ‘COPYING’ file, but no explicit license grant, applies to files in the package: the answer is no, the mere presence of a license text does not imply any grant of license. The grant needs to be explicit, written, specifying exactly what work is being licensed, in a statement from the copyright holder. Ideally of the form: This is NAME OF WORK, consisting of SPECIFIC FILES. You may DO THESE SPECIFIC THINGS with this work under the terms FULL LICENSE TERMS OR UNAMBIGUOUS REFERENCE TO FULL LICENSE TERMS. 2) Which license do have auto generated files, like 'configure', 'Makefile', *am', etc ? If there is no human creativity in the generation of the files, then my understanding of international copyright law is that such files are not subject to copyright and hence they are merely an automatic non-creative transformation from the source form of the work; they would be under whatever license the source document is under. You should consult your lawyer though. (You can also consult the ‘debian-legal’ forum, who may also advise you to consult your lawyer.) 3) What to do if a file have authors, licence, but a copyright year ? I don't know how to understand that sentence; I guess you men “but … does not have a copyright year”. If so, you need to gather that information yourself; contacting the copyright holders directly to answer your questions would be one way. -- \ “The future always arrives too fast, and in the wrong order.” | `\—Alvin Toffler | _o__) | Ben Finney -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87txx8ufz1@benfinney.id.au
Re: Any script to populate debian/copyright file ?
On Monday 16 July 2012 04:00:17 Aliaksei Sheshka wrote: You still have to look through your debian/copyright file manually to check for any mistakes or inconsistencies, but at the very least, the syntax would be correct. There's also a DEP-5 parser that you can use to check the syntax afterwards; see [1]. Thanks! Validator is very useful. You can also use this tool as a graphical editor with 'cme edit dpkg- copyright'. cme will handle the syntax details. Hope this helps -- https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/-o- irc: dod at irc.debian.org -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201207161345.36403@debian.org
Re: Any script to populate debian/copyright file ?
On Mon, Jul 16, 2012 at 7:01 AM, Ben Finney ben+deb...@benfinney.id.auwrote: Aliaksei Sheshka sheshka...@gmail.com writes: 1) should a package 'inherit' license from the original COPYING file if not stated otherwise ? I don't know how to understand that sentence. If you are asking whether the mere presence of a ‘COPYING’ file, but no explicit license grant, applies to files in the package: the answer is no, the mere presence of a license text does not imply any grant of license. The grant needs to be explicit, written, specifying exactly what work is being licensed, in a statement from the copyright holder. Ideally of the form: This is NAME OF WORK, consisting of SPECIFIC FILES. You may DO THESE SPECIFIC THINGS with this work under the terms FULL LICENSE TERMS OR UNAMBIGUOUS REFERENCE TO FULL LICENSE TERMS. Does that count: Several parties hold copyright to various parts of IRRToolSet. One or more of the following licenses may apply to the code contained within this distribution. , or too unclear ? 2) Which license do have auto generated files, like 'configure', 'Makefile', *am', etc ? If there is no human creativity in the generation of the files, then my understanding of international copyright law is that such files are not subject to copyright and hence they are merely an automatic non-creative transformation from the source form of the work; they would be under whatever license the source document is under. You should consult your lawyer though. (You can also consult the ‘debian-legal’ forum, who may also advise you to consult your lawyer.) 3) What to do if a file have authors, licence, but a copyright year ? I don't know how to understand that sentence; I guess you men “but … does not have a copyright year”. If so, you need to gather that information yourself; contacting the copyright holders directly to answer your questions would be one way. Policy is there not complain but to obey, I know. I chose couple of random packets, most likely I don't understand something If consider file http://irrtoolset.isc.org/browser/trunk/src/peval/peval.cc I can't understand what is copyright date is. Don't get me wrong, Idea of a machine-readable copyright file is a good thing. Butt I picked couple of random packets, and none of them have that new format. I don know any real life proper multi-license new format Debian package to use as a reference, which makes packaging for beginner even harder. I'm asking to check file above in order to understand what is missing and ask proper questions to upstream.
Re: Any script to populate debian/copyright file ?
Aliaksei Sheshka sheshka...@gmail.com writes: On Mon, Jul 16, 2012 at 7:01 AM, Ben Finney ben+deb...@benfinney.id.auwrote: The grant needs to be explicit, written, specifying exactly what work is being licensed, in a statement from the copyright holder. Ideally of the form: This is NAME OF WORK, consisting of SPECIFIC FILES. You may DO THESE SPECIFIC THINGS with this work under the terms FULL LICENSE TERMS OR UNAMBIGUOUS REFERENCE TO FULL LICENSE TERMS. Does that count: Several parties hold copyright to various parts of IRRToolSet. One or more of the following licenses may apply to the code contained within this distribution. , or too unclear ? It depends on who wrote it. If the copyright holders did not make that statement, it's worthless for the purpose of having a grant of license. “May apply” is of no help in knowing that one has a license, so isn't sufficient, IMO. The only statement which counts for this purpose, IMO, is an explicit written grant of license from the copyright holders of whatever part of the work is specified. If there are different license grants for different parts of the work, you need each grant to explicitly specify which parts the grant applies to. If you don't have that, my understanding is that you don't have an effective grant of license to the relevant parts. This may involve tedious work on your part in communicating with the copyright holders, to clarify which parts they grant what license to recipients. You need to keep careful track, to be sure that you don't distribute any part of the work without license grant from the copyright holders of that part. -- \己所不欲、勿施于人。 | `\(What is undesirable to you, do not do to others.) | _o__)—孔夫子 Confucius (551 BCE – 479 BCE) | Ben Finney -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87obnfu9c0@benfinney.id.au
Re: Any script to populate debian/copyright file ?
On Mon, Jul 16, 2012 at 08:59:51AM -0400, Aliaksei Sheshka wrote: I don know any real life proper multi-license new format Debian package to use as a reference, cd /usr/share/doc find . -name copyright |xargs grep 'http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/' -- 1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333 -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120716134119.ga14...@io.zumbi.com.ar
Re: Any script to populate debian/copyright file ?
On Mon, Jul 16, 2012 at 9:41 AM, gustavo panizzo gfa g...@zumbi.com.arwrote: On Mon, Jul 16, 2012 at 08:59:51AM -0400, Aliaksei Sheshka wrote: I don know any real life proper multi-license new format Debian package to use as a reference, cd /usr/share/doc find . -name copyright |xargs grep 'http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/' Sorry, but not helpful. They only represent ~13% on nearly default Wheezy setup and second package I semi-randomly piked has: Files: cpan/Win32/* Copyright: unknown License: GPL-1+ or Artistic There are no copyright notices or license information in this distribution.
Re: Any script to populate debian/copyright file ?
On 2012-07-16 10:35:03 -0400 (-0400), Aliaksei Sheshka wrote: Sorry, but not helpful. They only represent ~13% on nearly default Wheezy setup [...] While still not a perfect example, my weather-util package has ISC-licensed and public domain components... http://packages.debian.org/changelogs/pool/main/w/weather-util/weather-util_2.0-1/weather-util.copyright Hope that helps clarify the format a little! -- { IRL(Jeremy_Stanley); WWW(http://fungi.yuggoth.org/); PGP(43495829); WHOIS(STANL3-ARIN); SMTP(fu...@yuggoth.org); FINGER(fu...@yuggoth.org); MUD(kin...@katarsis.mudpy.org:6669); IRC(fu...@irc.yuggoth.org#ccl); } -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120716144908.gn3...@yuggoth.org
Re: Any script to populate debian/copyright file ?
On Mon, Jul 16, 2012 at 10:35:03AM -0400, Aliaksei Sheshka wrote: On Mon, Jul 16, 2012 at 9:41 AM, gustavo panizzo gfa g...@zumbi.com.arwrote: On Mon, Jul 16, 2012 at 08:59:51AM -0400, Aliaksei Sheshka wrote: I don know any real life proper multi-license new format Debian package to use as a reference, cd /usr/share/doc find . -name copyright |xargs grep 'http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/' Sorry, but not helpful. They only represent ~13% on nearly default Wheezy setup and i don't know (or care) how many packages use copyright format 1.0 vavoom, i know for sure, is a multi-license package using copyright format 1.0 mysql server too second package I semi-randomly piked has: if you *really* want to get your package into debian, you should look more than just 2 packages - IMHO -- 1AE0 322E B8F7 4717 BDEA BF1D 44BB 1BA7 9F6C 6333 -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120716145218.gb14...@io.zumbi.com.ar
Re: Any script to populate debian/copyright file ?
On Monday 16 July 2012 14:59:51 Aliaksei Sheshka wrote: I don know any real life proper multi-license new format Debian package to use as a reference, which makes packaging for beginner even harder. Here's one that was not trivial to write: http://packages.debian.org/changelogs/pool/main/p/pan/current/copyright -- https://github.com/dod38fr/config-model/ -o- http://search.cpan.org/~ddumont/ http://ddumont.wordpress.com/-o- irc: dod at irc.debian.org -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/201207161655.58474@debian.org
Re: Any script to populate debian/copyright file ?
On Mon, Jul 16, 2012 at 10:55 AM, Dominique Dumont d...@debian.org wrote: On Monday 16 July 2012 14:59:51 Aliaksei Sheshka wrote: I don know any real life proper multi-license new format Debian package to use as a reference, which makes packaging for beginner even harder. Here's one that was not trivial to write: http://packages.debian.org/changelogs/pool/main/p/pan/current/copyright Now, I closer to understanding of the right format. Need to clarify some questions with upstream now. -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/caorymjv2ionu5hyqjkop_3_dzzdt6rsdebpr_64baewzpen...@mail.gmail.com
Re: Any script to populate debian/copyright file ?
Ben Finney ben+deb...@benfinney.id.au writes: Aliaksei Sheshka sheshka...@gmail.com writes: 2) Which license do have auto generated files, like 'configure', 'Makefile', *am', etc ? If there is no human creativity in the generation of the files, then my understanding of international copyright law is that such files are not subject to copyright and hence they are merely an automatic non-creative transformation from the source form of the work; they would be under whatever license the source document is under. For good or ill, there is a long tradition in Debian of not requiring people to document the licenses of files that are only internal to the build system, *provided that* (a) those licenses are free, (b) those licenses are compatible with the rest of the source, and (c) those files are not part of any binary package. I'm not personally all that fond of that loophole and document all the licenses for the build system as well, but be aware that doing this thoroughly is quite a bit more difficult than it appears. (For example, several of those files have multiple license statements and multiple copyright holders scattered throughout the file, so just looking at the top of each file isn't sufficient.) I have a rather extensive (and highly ideosyncratic) script that I use that generates DEP-5 license files for my packages for which I'm also upstream, which is far, far stricter than licensecheck and the CDBS tools. For packages for which I'm not upstream, in my newer packages, I try to produce an approximation by hand; for many of my older packages, I've not bothered. Documenting the build system licenses, particularly in the common case of Autoconf, Automake, and Libtool where all those licenses are known to be free, is not something that ftpmaster has ever previously required. Unfortunately, there is not good documentation of exactly what's required in copyright files. There are a lot of open bugs against Policy about this. -- Russ Allbery (r...@debian.org) http://www.eyrie.org/~eagle/ -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87a9yzcup5@windlord.stanford.edu
Re: Any script to populate debian/copyright file ?
Aliaksei Sheshka sheshka...@gmail.com writes: I don know any real life proper multi-license new format Debian package to use as a reference, which makes packaging for beginner even harder. http://packages.debian.org/changelogs/pool/main/r/remctl/current/copyright includes all of the Autoconf-based build system licenses. -- Russ Allbery (r...@debian.org) http://www.eyrie.org/~eagle/ -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87629ncun5@windlord.stanford.edu
Re: Any script to populate debian/copyright file ?
On Mon, Jul 16, 2012 at 9:41 AM, gustavo panizzo gfa g...@zumbi.com.arwrote: cd /usr/share/doc find . -name copyright |xargs grep 'http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/' Le Mon, Jul 16, 2012 at 10:35:03AM -0400, Aliaksei Sheshka a écrit : Sorry, but not helpful. They only represent ~13% on nearly default Wheezy setup Dear Aliaksei, you can find more examples in the following repository: http://anonscm.debian.org/viewvc/collab-qa/packages-metadata/ There, 1,047 out of 3,302 copyright files declare that they follow the machine-readable format version 1.0. These files are refreshed each time the package is uploaded, and sometimes more often, as they are picked directly from the package's VCS. See the following URL for details. http://wiki.debian.org/UpstreamMetadata Have a nice day, -- Charles Plessy Tsurumi, Kanagawa, Japan -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120716220655.gc2...@falafel.plessy.net
Re: Any script to populate debian/copyright file ?
On Sun, Jul 15, 2012 at 10:51:46AM -0400, Aliaksei Sheshka wrote: Hi Debian-Mentors! Is anyone aware/have a script to populate debian/copyright file ? No idea. I'm trying to build a package for irrtoolset http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392333 If you intend to package this software, then please retitle that bug to ITP and set yourself as the owner. but the source code has multiple licenses, one file licence a, another b and so on. I've told that I have to list each of it as a separate entry, so I did: http://ipcluster.com/deb/irrtoolset/ looks like it's not good since lintian complains. What are the lintian messages you need help with ? I've read the policy but still confused, if some one can help, please take a look. Do you have specific questions on debian-policy ? Regards, Bart Martens -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120715180425.gc32...@master.debian.org
Re: Any script to populate debian/copyright file ?
On Sun, Jul 15, 2012 at 06:04:25PM +, Bart Martens wrote: On Sun, Jul 15, 2012 at 10:51:46AM -0400, Aliaksei Sheshka wrote: Hi Debian-Mentors! Is anyone aware/have a script to populate debian/copyright file ? No idea. Probably not. As far as I have seen the debian/copyright file is carefully made, since not only the licenses must be listed but the copyright owners too. -- Daniel Martí - mv...@mvdan.cc - GPG 0x58BF72C3 pgpIzbnj93WY9.pgp Description: PGP signature
Re: Any script to populate debian/copyright file ?
* Daniel Martí mv...@mvdan.cc [120715 20:17]: Is anyone aware/have a script to populate debian/copyright file ? No idea. Probably not. As far as I have seen the debian/copyright file is carefully made, since not only the licenses must be listed but the copyright owners too. Hello, licensecheck will output copyright and license information. Combined to the CDBS licensecheck2dep5 tool, it can generate a debian/copyright file (See #472199). I agree that it's better to do it manually, though. -- Etienne Millon -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20120715182205.GA16626@klow
Re: Any script to populate debian/copyright file ?
Hi, On 15/07/12 20:08, Daniel Martí wrote: On Sun, Jul 15, 2012 at 06:04:25PM +, Bart Martens wrote: On Sun, Jul 15, 2012 at 10:51:46AM -0400, Aliaksei Sheshka wrote: Hi Debian-Mentors! Is anyone aware/have a script to populate debian/copyright file ? No idea. Probably not. As far as I have seen the debian/copyright file is carefully made, since not only the licenses must be listed but the copyright owners too. There is no tool to make it for you, but there is a tool to help: licensecheck from the devscripts package. Eric PS: and actually I even found a patch for this command that I had prepared but never submitted... licensecheck.patch.gz Description: GNU Zip compressed data
Re: Any script to populate debian/copyright file ?
On Sun, Jul 15, 2012 at 2:04 PM, Bart Martens ba...@debian.org wrote: On Sun, Jul 15, 2012 at 10:51:46AM -0400, Aliaksei Sheshka wrote: Hi Debian-Mentors! Is anyone aware/have a script to populate debian/copyright file ? No idea. I'm trying to build a package for irrtoolset http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392333 If you intend to package this software, then please retitle that bug to ITP and set yourself as the owner. I would like, but not sure yet I have skills *today*. Why I've build a package and use it myself, I'm not sure it correct according all Debian policies, and debian/copyright in particular. I will fix package util I get everything right before asking to upload/sponsor it. but the source code has multiple licenses, one file licence a, another b and so on. I've told that I have to list each of it as a separate entry, so I did: http://ipcluster.com/deb/irrtoolset/ looks like it's not good since lintian complains. What are the lintian messages you need help with ? W: irrtoolset source: syntax-error-in-dep5-copyright line 1201: Continuation line outside a paragraph. I've read the policy but still confused, if some one can help, please take a look. Do you have specific questions on debian-policy ? Yes. W: irrtoolset source: syntax-error-in-dep5-copyright line 1201: Continuation line outside a paragraph. I understand that file is wrong, but don't know where to find a good and correct example of multi copyright multi license fine. Regards, Bart Martens
Re: Any script to populate debian/copyright file ?
On Sun, Jul 15, 2012 at 7:51 AM, Aliaksei Sheshka sheshka...@gmail.com wrote: Hi Debian-Mentors! Is anyone aware/have a script to populate debian/copyright file ? $ licensecheck --copyright -r . | /usr/lib/cdbs/licensecheck2dep5 debian/copyright You still have to look through your debian/copyright file manually to check for any mistakes or inconsistencies, but at the very least, the syntax would be correct. There's also a DEP-5 parser that you can use to check the syntax afterwards; see [1]. Regards, Vincent [1] http://ddumont.wordpress.com/2011/01/13/debian-copyright-dep5-parsereditorvalidatormigrator-is-released/ -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CACZd_tAzj5Sq=2YYysJBob-oqTe3JTgLV3t9Qx7uK=0-6cv...@mail.gmail.com
Re: Any script to populate debian/copyright file ?
On Sun, Jul 15, 2012 at 6:11 PM, Vincent Cheng vincentc1...@gmail.comwrote: On Sun, Jul 15, 2012 at 7:51 AM, Aliaksei Sheshka sheshka...@gmail.com wrote: Hi Debian-Mentors! Is anyone aware/have a script to populate debian/copyright file ? $ licensecheck --copyright -r . | /usr/lib/cdbs/licensecheck2dep5 debian/copyright Tnaks! Did't know that commands. You still have to look through your debian/copyright file manually to check for any mistakes or inconsistencies, but at the very least, the syntax would be correct. There's also a DEP-5 parser that you can use to check the syntax afterwards; see [1]. Thanks! Validator is very useful. Regards, Vincent [1] http://ddumont.wordpress.com/2011/01/13/debian-copyright-dep5-parsereditorvalidatormigrator-is-released/
Re: Any script to populate debian/copyright file ?
Vincent Cheng vincentc1...@gmail.com writes: $ licensecheck --copyright -r . | /usr/lib/cdbs/licensecheck2dep5 debian/copyright You still have to look through your debian/copyright file manually to check for any mistakes or inconsistencies, but at the very least, the syntax would be correct. You also need to be aware of the caveat that ‘licensecheck’ can only find information in the files; if there are files with no copyright information declared, the tool obviously can't find it. The Debian package maintainer role entails responsibility for the assertions in the ‘debian/copyright’ file; you need to be ready to defend the completeness of the information in that file. If you're not confident that the work's copyright holders and license terms are completely (which means “no significant omissions”) documented in the ‘debian/copyright’ file, your package isn't ready to release. No tool can do that for you; it can help you begin the task, but there is effort and investigation you need to do yourself. -- \ “Buy not what you want, but what you need; what you do not need | `\ is expensive at a penny.” —Cato, 234–149 BCE, _Relique_ | _o__) | Ben Finney -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87bojgwdxk@benfinney.id.au
Re: Any script to populate debian/copyright file ?
On Mon, Jul 16, 2012 at 12:03 AM, Ben Finney ben+deb...@benfinney.id.auwrote: Vincent Cheng vincentc1...@gmail.com writes: $ licensecheck --copyright -r . | /usr/lib/cdbs/licensecheck2dep5 debian/copyright You still have to look through your debian/copyright file manually to check for any mistakes or inconsistencies, but at the very least, the syntax would be correct. You also need to be aware of the caveat that ‘licensecheck’ can only find information in the files; if there are files with no copyright information declared, the tool obviously can't find it. The Debian package maintainer role entails responsibility for the assertions in the ‘debian/copyright’ file; you need to be ready to defend the completeness of the information in that file. If you're not confident that the work's copyright holders and license terms are completely (which means “no significant omissions”) documented in the ‘debian/copyright’ file, your package isn't ready to release. No tool can do that for you; it can help you begin the task, but there is effort and investigation you need to do yourself. That is interesting information. 1) should a package 'inherit' license from the original COPYING file if not stated otherwise ? 2) Which license do have auto generated files, like 'configure', 'Makefile', *am', etc ? 3) What to do if a file have authors, licence, but a copyright year ? -- \ “Buy not what you want, but what you need; what you do not need | `\ is expensive at a penny.” —Cato, 234–149 BCE, _Relique_ | _o__) | Ben Finney -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87bojgwdxk@benfinney.id.au