Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-15 Thread Markus Schneider
Hi all, short update from my side, as thinking about this topic. I recommend: A) Using Full Header as GNU Recommended or B) Using SPDX-License Header. This is new in Open Source and maybe will make its way. Frederik did already some research with that and we can scan complete projects of

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-12 Thread Lionel Sausin
As far as I know, copyright is implicitly granted to authors almost everywhere in the world, so writing the (c) in every file is useless. Authors can simply use git to prove their rights whenever they need to. Lionel Sausin. ___ Mailing list:

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-12 Thread Ovnicraft
On Mon, Jan 5, 2015 at 6:09 AM, Yannick Vaucher yannick.vauc...@camptocamp.com wrote: Most developers dislike redundancy, thus, all are tempted to reduce the size of source code by reducing or completly removing redundant license from source files. [1] Moreover, when writing a module you

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-12 Thread Alberto Barrionuevo
On 12/01/15 17:01, Ovnicraft wrote: Here we can do it better, there are some guides about this: # -*- coding: utf-8 -*- __author__= Full Name(email) __copyright__= Copyright (C) YEAR FULL NAME __license__= AGPL 3.0 __version__= 1.0 So in pythonic way we must add LICENSE file in each

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-12 Thread Leonardo LeartS Donelli
For example, it is quite common that code from other developers, installed on our customers systems, come to our company to work with. And many times it is really difficult to discover who are the actual authors, the actual license(s) (when not in Odoo) and the actual copyright date(s).

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-12 Thread Ovnicraft
On Mon, Jan 12, 2015 at 5:02 PM, Leonardo LeartS Donelli leart...@gmail.com wrote: For example, it is quite common that code from other developers, installed on our customers systems, come to our company to work with. And many times it is really difficult to discover who are the actual

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-12 Thread Alexandre Fayolle
Here we can do it better, there are some guides about this: # -*- coding: utf-8 -*- __author__ = Full Name(email) __copyright__ = Copyright (C) YEAR FULL NAME __license__ = AGPL 3.0 __version__ = 1.0 So in pythonic way we must add LICENSE file in each module, and as best practice

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-09 Thread Alejandro Santana
Hi, Yannick's proposal remains quite minimal and seems compliable with some standard. But, does it need to contain the copyright info? That is the main point that keeps hard to maintain: every file with copyright and authorship (and its related issues like collaborations). So, could this: # -*-

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-08 Thread Yannick Vaucher
This is a good idea to follow some standard. However, SPDX meta tag SPDX-License-Identifier is not yet widely used. It seems that it was firstly used by U-boot project https://github.com/linux-sunxi/u-boot-sunxi/commit/1a4596601fd395f3afb8f82f3f840c5e00bdd57a AFAICT it is still under draft

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-07 Thread Markus Schneider
I think you see it not so simple. The basic shipment unit of code is always a file. Not a module nor a git repositories. And if you can have modules with libs include with other license you want pretty see the kind of each class. So we don't need not to reinvent the wheel. Just stick to GNU best

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-07 Thread Jerry Van Baren
On 01/05/2015 06:09 AM, Yannick Vaucher wrote: Most developers dislike redundancy, thus, all are tempted to reduce the size of source code by reducing or completly removing redundant license from source files. [1] [snip] To be said I'm completely against removing completely the header I think

[Openerp-community] Licenses guidelines for OCA modules

2015-01-05 Thread Yannick Vaucher
Most developers dislike redundancy, thus, all are tempted to reduce the size of source code by reducing or completly removing redundant license from source files. [1] Moreover, when writing a module you often have py files with only few lines, thus the header takes a lot of place. I think it is

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-05 Thread Pedro Manuel Baeza Romero
I see perfect to reduce the overhead of the headers, because it's a nonsense, so I would say option b, but a recurring conflicting issue is about the copyright: this part doesn't reflect at all the reality of the code because: - People copy/paste from Odoo code and let Odoo copyright, which is

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-05 Thread Alejandro Santana
I put authorship, contributors and copyright info only in __openerp__.py. On other .py files I just use: # -*- coding: utf-8 -*- #License, author and contributors information in: # #__openerp__.py file at the root

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-05 Thread Lionel Sausin
Le 05/01/2015 12:09, Yannick Vaucher a écrit : b. We define a minimal header template like this as an altenative (mostly taken from David Beal's proposal) I think this is the simplest option. I'd even drop line 2 # Author: author name. We should also not put the licence in __openerp__.py but

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-05 Thread Sandy Carter
Avoid the # box, I find it very irking to have that many heavy characters like that. Besides: E265 block comment should start with '# ' (single space after the first hash). How about: # -*- coding: utf-8 -*- # # License, author and contributors information in: # __openerp__.py file at the root

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-05 Thread Alejandro Santana
Avoiding heavy characters case is perfectly fine, better indeed and less stress for the eyes. Alejandro Santana alejandrosant...@anubia.es ~ ANUBÍA, soluciones en la nube, S.L. www.anubia.es El 5/1/2015 15:59, Sandy Carter sandy.car...@savoirfairelinux.com escribió: Avoid the # box, I find it

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-05 Thread Leonardo LeartS Donelli
I agree with Pedro. Copyright notices are bad/useless - Often outdated and incorrect (because copy pasted without modifications, for example) - Don't (can't) reflect the complicated situation of OCA modules autorship/contributions - useless from a legal point (see:

Re: [Openerp-community] Licenses guidelines for OCA modules

2015-01-05 Thread Paul Catinean
Also agree to option b. Not to mention that if there should be an update to license it must be done in each and every .py file which is kind of nonsense and very impractical On Mon, Jan 5, 2015 at 5:21 PM, Leonardo LeartS Donelli leart...@gmail.com wrote: I agree with Pedro. Copyright notices