QGIS-Contribution / QGIS-ResourceSharing

QGIS Resource Sharing Plugin
http://qgis-contribution.github.io/QGIS-ResourceSharing/
GNU Affero General Public License v3.0
38 stars 18 forks source link

Parsing metadata file error from gitea. #257

Open LEEYATWAH opened 2 years ago

LEEYATWAH commented 2 years ago

What is the bug or the crash?

I download the QGIS_Test-Resources from this Url https://github.com/QGIS-Contribution/QGIS_Test-Resources. I didn't modify any files and push all the files to my gitea repository. After that I try to add my gitea repository and it fail.

2022-05-05T11:34:07     WARNING    Unable to add repository: Error parsing metadata for liyihua:
             Error parsing metadata: File contains no section headers.
             file: '', line: 1
             '[Found](https://github.com/liyihua/qgis-Resources/raw/branch/master/metadata.ini).\n'

However I can add the repository https://github.com/QGIS-Contribution/QGIS_Test-Resources. It's the same file as my gitea repository and I didn't modify any files

Steps to reproduce the issue

1.Go to https://github.com/QGIS-Contribution/QGIS_Test-Resources. 2.Clone the project. 3.Push all the project files to a gitea repository. 4.Add the gitea repository

Versions

QGIS version: 3.22.3-Białowieża Plugin version: 1.0.0-beta1 Experimental Operating System: Windows 10

Supported QGIS version

New profile

Additional context

No response

Guts commented 2 years ago

Thanks for reporting here too!

The plugin officially supports GitHub, GitLab, Bitbucket and local repositories (see table on this page). But other generic git platform should work.

Can you provide the public gitea URL?

LEEYATWAH commented 2 years ago

Thanks for your reply. here is the public url :"https://git.tingyu.fun:24678/liyihua/Qgis-Resources.git" we have tried to use github to share a repository.No any problem when using github to share the repository . But the same files just ain't work when using gitea or local file system.