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

Parsing metadata file error from gitea. #257

Open
1 of 2 tasks
LEEYATWAH opened this issue May 5, 2022 · 2 comments
Open
1 of 2 tasks

Parsing metadata file error from gitea. #257

LEEYATWAH opened this issue May 5, 2022 · 2 comments
Assignees
Labels

Comments

@LEEYATWAH
Copy link

LEEYATWAH commented May 5, 2022

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

  • I'm running a supported QGIS version according to the official roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

No response

@LEEYATWAH LEEYATWAH added the bug label May 5, 2022
@Guts Guts self-assigned this May 7, 2022
@Guts
Copy link
Contributor

Guts commented May 7, 2022

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
Copy link
Author

LEEYATWAH commented May 16, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants