qgis-plugin-ci icon indicating copy to clipboard operation
qgis-plugin-ci copied to clipboard

The uploaded plugin to the official repo is different than the packaged one

Open Guts opened this issue 2 years ago • 1 comments

Strange on here:

I'm working on the automatic packaging of a plugin which requires heavy 3rd party packages dependencies (Scikit-Learn) so I've a CI workflow like this:

  1. Build dependencies on a Windows VM and store them as artifact
  2. Download the artifact
  3. Amend the gitignore to make the git archive (working under the hood of qgis-plugin-ci) the usely excluded files (especially pyd files)
  4. Package the plugin and save it as artefact --> it works - see this one. You can see that the size of final archive is a bit more/less 6.15 Mo.
  5. Deploying the plugin - see log showing dependencies being include:
  • ✔️ as github release asset - see here = same expected size

image

  • 🚫 to QGIS plugins official repository - it works BUT the plugin archive does not contain the dependencies = 21 Ko 🤔

image

Note: I've manually reupdated the archive to plugins.qgis.org so it can't be seen there.

Any idea? Because I'm quite confused...

Guts avatar Jan 12 '22 19:01 Guts