Community mailing list archives

community@mail.odoo.com

Re: "The way to iOdoo"

by
Eric Caudal
- 05/15/2015 07:28:39
Great! Thanks for the research

2015-05-15 19:12 GMT+08:00 Antonio Mas <amas@interpreta.es>:
Sorry, the list archive seems to cut my email, the interesting part:

Estimated licence distribution on OCA for v8:
TOTAL: 434 (100%)
AGPL: 420 (96,78%)
GPL: 10 (2,31%)
LGPL: 3 (0,70%)
OSL: 1 (0,23%)


The missed part:

$ diff TOTAL xGPL
210,211d209
 El 15/05/15 a las 07:38, Caudal Eric escribió:
>> A research might be interesting to perform in our github but basically yes
>>
>> Eric Caudal
>>
> 
> Some fast approximation:
> 
> #Get all the repos in OCA
> $ curl "https://api.github.com/orgs/OCA/repos?page=1&per_page=100"|grep
> clone_url| cut -d '"' -f 4 >>repos
> $ curl "https://api.github.com/orgs/OCA/repos?page=2&per_page=100"|grep
> clone_url| cut -d '"' -f 4 >>repos
> $ wc -l repos
> 105 repos
> 
> #Clone them
> $ for i in `cat repos`; do j=`echo $i|awk -F '[/.]' '{print $6}'`; mkdir
> $j; git clone $i $j; done
> [...]
> $ rm repos
> $ du -cs --apparent-size .
> 1325744 .
> 1325744 total
> $ ls -R|wc -l
> 43946
> 
> #Count modules for v8
> $ for i in `find . -maxdepth 2 -mindepth 2 -type d |grep -vi
> '__\|\.git\|OCB\|odoo-community'`; do if [ -d "$i" ]; then  echo $i; fi;
> done |wc -l
> 443
> 
> #Find 'Affero' on them
> $ for i in `find . -maxdepth 2 -mindepth 2 -type d |grep -vi
> '__\|\.git\|OCB\|odoo-community'`; do if grep -irq affero $i; then  echo
> $i; fi; done|wc -l
> 416
> 
> #Find 'Lesser General'
> $ for i in `find . -maxdepth 2 -mindepth 2 -type d |grep -vi
> '__\|\.git\|OCB\|odoo-community'`; do if grep -irq "lesser general" $i;
> then  echo $i; fi; done|wc -l
> 2
> $ for i in `find . -maxdepth 2 -mindepth 2 -type d |grep -vi
> '__\|\.git\|OCB\|odoo-community'`; do if grep -irq "gnu lesser" $i; then
>  echo $i; fi; done
> ./web/web_ckeditor4
> ./web/web_widget_color
> 
> #Find 'General Public'
> $ for i in `find . -maxdepth 2 -mindepth 2 -type d |grep -vi
> '__\|\.git\|OCB\|odoo-community'`; do if grep -irq -e "general public"
> $i; then  echo $i; fi; done|wc -l
> 428 # 428 - 416 AGPL - 2 LGPL = 10 GPL
> 
> #Not matching
> $ for i in `find . -maxdepth 2 -mindepth 2 -type d |grep -vi
> '__\|\.git\|OCB\|odoo-community'`; do if grep -irq -e "general public"
> $i; then  echo $i; fi; done >xGPL
> $ for i in `find . -maxdepth 2 -mindepth 2 -type d |grep -vi
> '__\|\.git\|OCB\|odoo-community'`; do if [ -d "$i" ]; then  echo $i; fi;
> done > TOTAL
> $ diff TOTAL xGPL
> 210,211d209
>   277d274
>  337d333
>  362,363d357
>   380,381d373
>   383,384d374
>   412d401
>  422,425d410
>     
> 
> Estimated licence distribution on OCA:
> TOTAL: 434 (100%)
> AGPL: 420 (96,78%)
> GPL: 10 (2,31%)
> LGPL: 3 (0,70%)
> OSL: 1 (0,23%)
> 
> 
> 
> 
> 
>> On May 15, 2015 8:43 AM, "Alberto Barrionuevo" <abarrio@opentia.es
>> <mailto:abarrio@opentia.es>> wrote:
>>
>>     On 15/05/15 02:28, Caudal Eric wrote:
>>     > Please remind that OCA promotes OSI compliant licenses
>>     > (http://opensource.org/licenses/alphabetical), not only AGPL3.
>>     >
>>     Correct, actually this is one of the simplifications I took the freedom 
>>     to use.  :-)
>>
>>     The reality is that near to all the contributions currently may be 
>>     AGPL3, except the older ones that surely were GPL2/3. Am I right?
>>
>>     Best,
>>     //Alberto.
>>
>>     _______________________________________________
>>     Mailing-List: https://www.odoo.com/groups/community-59
>>     Post to: mailto:community@mail.odoo.com <mailto:community@mail.odoo.com>
>>     Unsubscribe: https://www.odoo.com/groups?unsubscribe
>>
>> _______________________________________________
>> Mailing-List: https://www.odoo.com/groups/community-59
>> Post to: mailto:community@mail.odoo.com
>> Unsubscribe: https://www.odoo.com/groups?unsubscribe
>>
> 

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe




--
Eric CAUDAL
+86 186 21 36 16 70