wonder-sk / qgis-minimal-plugin

Minimalist plugin skeleton
GNU General Public License v2.0
96 stars 45 forks source link

Rename the repository to make a valid package name #9

Open Gustry opened 2 years ago

Gustry commented 2 years ago

When downloading this plugin has a ZIP from GitHub, we have a qgis-minimal-plugin-master zip.

We can then install this ZIP with the QGIS plugin manager.

But to make a valid Python package name, - would need to be _. So it would be nice to rename this repository, so the ZIP is correct and then we can develop straight after installing from ZIP in the QGIS plugin manager.

Poulpator commented 1 year ago

Renaming the repository would be a nice addition for people who don't want to bother with git. However, renaming it would also change the URL of the repository, and break every links to the repository.

Therefore it order to have a smooth transition we should try to notice most outside reference to the minimal plugin

For example, I myself came across it in the "Getting Started" section of the PyQGIS cookbook:

For educational purposes or whenever a minimalist approach is desired, the minimal plugin template provides the basic files (skeleton) necessary to create a valid QGIS Python plugin.

If there are too many external references, then I don't think renaming is worth it, since a quick fix is just renaming the folder

kannes commented 2 days ago

Incoming requests would get automatically redirected to the new URLs: https://docs.github.com/en/enterprise-cloud@latest/repositories/creating-and-managing-repositories/renaming-a-repository