Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename the repository to make a valid package name #9

Open
Gustry opened this issue Apr 19, 2022 · 2 comments
Open

Rename the repository to make a valid package name #9

Gustry opened this issue Apr 19, 2022 · 2 comments

Comments

@Gustry
Copy link
Contributor

Gustry commented Apr 19, 2022

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.

@ValentinBuira
Copy link

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
Copy link

kannes commented Jul 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants