Bug 10601

Summary: distrodata: replace MeeGo with Clear
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: Scripts and ToolsAssignee: Ross Burton <ross.burton>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: ross.burton
Version: 2.2   
Target Milestone: 2.3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Ross Burton 2016-11-04 12:27:29 UTC
distrodata does comparison with MeeGo, which is dead.  Replace this with Clear Linux.

https://github.com/clearlinux-pkgs/ is what they claim to be their source release.  You can get the list of repos in JSON form with from https://api.github.com/orgs/clearlinux-pkgs/repos?page=[1,2,3]&per_page=100

https://developer.github.com/guides/traversing-with-pagination/ explains how to determine how many pages there are.
Comment 1 Ross Burton 2016-11-04 15:36:17 UTC
Better approach: their archives at https://download.clearlinux.org/releases/.  For some reason the latest version doesn't have any content but /11420/ has clear/source/SRPMS/.  If some directories having no content is a problem they can fix then we can just load the latest one, otherwise we can scan backwards through the versions until we find a directory with content.
Comment 2 Ross Burton 2016-11-04 20:20:19 UTC
Clear fixed their problem, so it was trivial.  Patch on the list.
Comment 3 Ross Burton 2016-11-30 17:09:28 UTC
Fixed in oe-core 006c4db0974c42ff0f6950dd24e61c008f801679.