[QGIS-Developer] Problem with plugin upload

Jorge Gustavo Rocha jgr at di.uminho.pt
Mon Dec 7 03:10:05 PST 2020


Hi Joona,

I'm not sure if the problem was solved on the server side. I'm still
getting this "For security reasons, zip file cannot contain '.git'
directory" error with your plugin.

Can you do one more test, please? Remove these .gitignore files and
upload it again.

./resources/i18n/.gitignore
./resources/.gitignore
./resources/icons/.gitignore
./resources/ui/.gitignore
./logs/.gitignore

Good luck!

Jorge

Às 11:04 de 07/12/20, Denis Rouzaud escreveu:
> I just experienced the same issue a few minutes ago and it went back
> to normal.
> I thought it was thanks to a requirements.txt file removal, but I guess
> it was a server issue.
> 
> 
> 
> On Mon, 7 Dec 2020, 11:38 Joona Laine, <joona at gispo.fi
> <mailto:joona at gispo.fi>> wrote:
> 
>     Hi Jorge!
> 
>     Thanks for the fast reply! Here
>     <https://github.com/GispoCoding/FMI2QGIS/releases/download/0.1.1/FMI2QGIS.0.1.1.zip>
>     is a link to the zip file I tried originally (version 0.1.1) and
>     here
>     <https://github.com/GispoCoding/FMI2QGIS/releases/download/0.1.0/FMI2QGIS.0.1.0.zip>
>     is a link to the initial release zip file (version 0.1.0) that I
>     uploaded successfully on 1st December.
> 
>     -Joona
> 
>     <http://www.gispo.fi/>
> 
> 
>     On Mon, 7 Dec 2020 at 12:31, Jorge Gustavo Rocha <jgr at di.uminho.pt
>     <mailto:jgr at di.uminho.pt>> wrote:
> 
>         Hi Joona,
> 
>         Can you share a link to your zip file? It would help to see the
>         exact
>         contents you are trying to upload.
> 
>         Regards,
> 
>         Jorge Gustavo
> 
>         Às 10:27 de 07/12/20, Joona Laine escreveu:
>         > Hello Folks!
>         >
>         > I noticed that there might be a problem with QGIS plugin
>         repository
>         > while uploading plugins. I tried to add a new version to a plugin
>         > (FMI2QGIS <https://plugins.qgis.org/plugins/FMI2QGIS/>) first via
>         > qgis-plugin-ci <https://github.com/opengisch/qgis-plugin-ci>
>         and then
>         > manually on web page, but both methods failed with error messages:
>         >
>         > <Fault 1: "File upload must be a valid QGIS Python plugin
>         compressed
>         > archive. For security reasons, zip file cannot contain '.git'
>         directory">
>         >
>         > and
>         >
>         >  "There were errors reding plugin package (please check also your
>         > plugin's metadata). For security reasons, zip file cannot
>         contain '.git'
>         > directory".
>         >
>         > I double checked the metadata.txt file and made sure that
>         there were no
>         > .git -directory in the zip file but still the problem
>         persisted. I even
>         > tried to upload the previous version again with a different
>         version
>         > number to see if the problem might lie in the plugin upload
>         process
>         > instead and I couldn't upload that one either.
>         >
>         > Thanks!
>         >
>         > Best regards,
>         > Joona Laine, Gispo Ltd.
>         > <http://www.gispo.fi/>
>         >
>         > _______________________________________________
>         > QGIS-Developer mailing list
>         > QGIS-Developer at lists.osgeo.org
>         <mailto:QGIS-Developer at lists.osgeo.org>
>         > List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>         > Unsubscribe:
>         https://lists.osgeo.org/mailman/listinfo/qgis-developer
>         >
> 
>         J. Gustavo
>         -- 
>         Jorge Gustavo Rocha
>         Departamento de Informática
>         Universidade do Minho
>         4710-057 Braga
>         Gabinete 3.29 (Piso 3)
>         Tel: +351 253604480
>         Fax: +351 253604471
>         Móvel: +351 910333888
>         skype: nabocudnosor
>         _______________________________________________
>         QGIS-Developer mailing list
>         QGIS-Developer at lists.osgeo.org
>         <mailto:QGIS-Developer at lists.osgeo.org>
>         List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>         Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
>     _______________________________________________
>     QGIS-Developer mailing list
>     QGIS-Developer at lists.osgeo.org <mailto:QGIS-Developer at lists.osgeo.org>
>     List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>     Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

J. Gustavo
-- 
Jorge Gustavo Rocha
Departamento de Informática
Universidade do Minho
4710-057 Braga
Gabinete 3.29 (Piso 3)
Tel: +351 253604480
Fax: +351 253604471
Móvel: +351 910333888
skype: nabocudnosor


More information about the QGIS-Developer mailing list