[QGIS-Developer] How to structure GitHub repository for different plugin versions

Sophie Crommelinck sophie.crommelinck at gmail.com
Fri Aug 24 05:45:37 PDT 2018

Hi Martin and Richard,

thanks for the fast reply. I will use branches (one master for QGIS3 and
one for QGIS2) instead of folders in GitHub.



On Fri, 24 Aug 2018 at 11:11, Richard Duivenvoorde <rdmailings at duif.net>

> On 08/24/2018 10:57 AM, Sophie Crommelinck wrote:
> > Hi,
> >
> > I would like to upload a QGIS3 version of a plugin that is now available
> > as QGIS2 version. Is there a general approach on how to structure the
> > plugin repository on GitHub accordingly? One idea would be to have two
> > folders e.g. 'QGIS2' and 'QGIS3' in the main plugin repository. Paolo
> > suggested there might be a general code of conduct on this one.
> Hi Sophie,
> not sure what the 'best' way is, but what I did when I created a new
> version of the pdokservicesplugin, is to create a separate  git branch
> for the qgis2 version, and I keep the master branch for qgis3, see
> https://github.com/rduivenvoorde/pdokservicesplugin/tree/qgis2branch
> vs
> https://github.com/rduivenvoorde/pdokservicesplugin/tree/master
> I made QGIS3 'master' because the qgis2 branch will get unused in near
> future.
> I checked out both branches in different folders on my dev laptop, so
> can code/commit independently from each other.
> Regards,
> Richard Duivenvoorde
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180824/749d50fe/attachment-0001.html>

More information about the QGIS-Developer mailing list