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

Copy LICENCE file from root directory to plugin package #255

Open
jmkerloch opened this issue Nov 23, 2023 · 2 comments
Open

Copy LICENCE file from root directory to plugin package #255

jmkerloch opened this issue Nov 23, 2023 · 2 comments

Comments

@jmkerloch
Copy link

We have some issue when using latest version (qgis-plugin-ci-2.8.1): https://gitlab.com/Oslandia/qgis/qwc2_tools/-/jobs/5598167137#L306

$ qgis-plugin-ci release ${CI_COMMIT_TAG} --allow-uncommitted-changes --osgeo-username $OSGEO_USER_NAME --osgeo-password $OSGEO_USER_PASSWORD
2023-11-22 17:24:14||ERROR||release||=== A fault occurred occurred ===
Fault code: 1
Fault string: <Fault 1: 'File upload must be a valid QGIS Python plugin compressed archive. Cannot find LICENSE in plugin package.'>

This seems to come from this commit of QGIS plugin repository : qgis/QGIS-Django@91b9576

# Checks for LICENCE file precense
    licensename = package_name + "/LICENSE"
    if licensename not in namelist:
        raise ValidationError(_("Cannot find LICENSE in plugin package."))

Do you think we should copy LICENCE file from root directory to plugin package ?

This will avoid a copy of the file in the CI.

@Gustry
Copy link
Collaborator

Gustry commented Nov 23, 2023

If the file exists in the root directory, I would say yes, let's package it.

@Guts
Copy link
Collaborator

Guts commented Nov 23, 2023

I let a comment on the issue to ask for reverting this breaking change in favor of a more open community driven change process: qgis/QGIS-Django#38

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