Re: [QGIS-Developer] New tool for porting plugins to QGIS 3

2018-04-13 Thread Paolo Cavallini
Sent to plugin devs.
All the best, and thanks Marco!

Il 13/04/2018 14:07, Marco Bernasocchi ha scritto:
> Hi all I'd like to share a new tool we created to help plugin developers
> porting their plugins to QGIS3.
> 
> we called it (with a lot of fantasy) qgis2to3 and you can install it with
> 
> pip install qgis2to3
> 
> the package includes two commands:
> - qgis2to3 (a copy of the files found in
> https://github.com/qgis/QGIS/tree/master/scripts to allow for quick
> downloading and simple installation)
> 
> - qgis2apifinder (a tool based on qgis.org/api/api_break.html that helps
> you find usages of the QGIS API version 2 and gives hint on how to adapt
> the code for API version 3)
> 
> Documentation and source code are at https://github.com/opengisch/qgis2to3
> a blog post with more suggestions on how to port can be found here:
> http://www.opengis.ch/2018/04/13/porting-qgis-plugins-to-api-v3-strategy-and-tools/
> 
> 
> Have a good weekend porting your plugins ;)
> cheers
> Marco
> 
> -- 
> Marco Bernasocchi
> QGIS.org Co-chair
> ma...@opengis.ch 
> +41 (0)79 467 24 70 
> 
> OPENGIS.ch Logo 
> 
> 
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 


-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis



signature.asc
Description: OpenPGP digital signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] New tool for porting plugins to QGIS 3

2018-04-13 Thread Marco Bernasocchi
Hey Matteo


On 13.04.2018 14:24, matteo wrote:
> Hey Marco,
>
>> Hi all I'd like to share a new tool we created to help plugin developers
>> porting their plugins to QGIS3.
>>
>> we called it (with a lot of fantasy) qgis2to3 and you can install it with
>>
>> pip install qgis2to3
>>
>> the package includes two commands:
>> - qgis2to3 (a copy of the files found in
>> https://github.com/qgis/QGIS/tree/master/scripts to allow for quick
>> downloading and simple installation)
>>
>> - qgis2apifinder (a tool based on qgis.org/api/api_break.html that helps
>> you find usages of the QGIS API version 2 and gives hint on how to adapt
>> the code for API version 3)
>>
>> Documentation and source code are at https://github.com/opengisch/qgis2to3
>> a blog post with more suggestions on how to port can be found here:
>> http://www.opengis.ch/2018/04/13/porting-qgis-plugins-to-api-v3-strategy-and-tools/
>>
>>
>> Have a good weekend porting your plugins ;)
> thanks for this, really useful! One side note (maybe it depends on my
> local machine): I had to install it with sudo privileges, else the tool
> was not found on the system.
Thanks, it is written on the post, but I orgot to put it in the docs and
email.

Cheers
Marco
>
> Thanks again for this!
>
> Cheers
>
> Matteo
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>

-- 
Marco Bernasocchi
QGIS.org Co-chair
ma...@opengis.ch 
+41 (0)79 467 24 70 

OPENGIS.ch Logo 
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] New tool for porting plugins to QGIS 3

2018-04-13 Thread Paolo Cavallini
Il 13/04/2018 14:07, Marco Bernasocchi ha scritto:
> Hi all I'd like to share a new tool we created to help plugin developers
> porting their plugins to QGIS3.

Thanks Marco. Could you please add the instruction to the guide:
https://github.com/qgis/QGIS/wiki/Plugin-migration-to-QGIS-3
It might also be useful to do a mass mailing to all plugin devs.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all=IT=qgis,arcgis



signature.asc
Description: OpenPGP digital signature
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] New tool for porting plugins to QGIS 3

2018-04-13 Thread matteo
Hey Marco,

> Hi all I'd like to share a new tool we created to help plugin developers
> porting their plugins to QGIS3.
> 
> we called it (with a lot of fantasy) qgis2to3 and you can install it with
> 
> pip install qgis2to3
> 
> the package includes two commands:
> - qgis2to3 (a copy of the files found in
> https://github.com/qgis/QGIS/tree/master/scripts to allow for quick
> downloading and simple installation)
> 
> - qgis2apifinder (a tool based on qgis.org/api/api_break.html that helps
> you find usages of the QGIS API version 2 and gives hint on how to adapt
> the code for API version 3)
> 
> Documentation and source code are at https://github.com/opengisch/qgis2to3
> a blog post with more suggestions on how to port can be found here:
> http://www.opengis.ch/2018/04/13/porting-qgis-plugins-to-api-v3-strategy-and-tools/
> 
> 
> Have a good weekend porting your plugins ;)

thanks for this, really useful! One side note (maybe it depends on my
local machine): I had to install it with sudo privileges, else the tool
was not found on the system.

Thanks again for this!

Cheers

Matteo
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer