-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Support for plugin repository tokens #285
Comments
Sure! Same for embedding the license file. |
Hi @Xpirix, Can you share us some documentation (md, OpenAPI JSON/YAML...) where we can find details about the POST request required to work those API token please? |
Hi @Guts Please find some POST request templates at https://github.com/qgis/QGIS-Django/blob/master/readme.md#token-based-authentication. Please let me know if you need more specific details. |
Thanks @Xpirix! I was thinking about something like swagger but I think we can move on for now with this example. Is there a development or test instance of plugins.qgis.org on which to base our unit tests in CI/CD to check if publishing works as expected? |
Yes, swagger is a good idea. I will try to implement it along with the incoming resources hub API. Please find the unit test for this feature at: https://github.com/qgis/QGIS-Django/blob/master/qgis-app/plugins/tests/test_token_auth.py |
It would be really appreciated! Do you want to me creating an issue? |
Yes please, thank you. |
Done in qgis/QGIS-Django#473 |
plugins.qgis.org now supports tokens, see qgis/QGIS-Django#326
It would be great to have support for this in here to use scoped tokens rather than personal access credentials for uploading plugins
The text was updated successfully, but these errors were encountered: