Closed nephros closed 2 months ago
Sounds reasonable to me.
AFAIR @rinigus designed this.
Sounds reasonable to me as well. It was for historical reasons only, I have added packaging repo later and didn't think about the order at that time. Feel free to change
SailfishOS VERSION: any
HARDWARE : any
SailfishOS:Chum GUI application VERSION: 0.6.6
QUESTION
We currently try to get source repo metadata (like number of issues etc) in chumpackage.cpp:
https://github.com/sailfishos-chum/sailfishos-chum-gui/blob/baf9f3bd04cdcbe704b55e8af74030d8e02c3b52/src/chumpackage.cpp#L232
where:
m_repo_url
is the value of theRepo:
tag in metadata,m_url
theHomepage:
tag from chum metadata if present, theURL:
tag from the .spec file otherwise.m_packaging_repo_url
is the one of thePackagingRepo:
tag in metadata.These three URLs are tried in sequence, and if one of the code repo implementations (github, gitlab, ..., also tried in that order) claims it can find a repository under that url, it is used to retrieve remote metadata.
I believe the order should be changed to
assuming that if
PackagingRepo
is present, it is the preferred place to handle Issues, and surely is the authoritative source for Releases.In other words, I'd like to