X-lab2017 / open-digger

Open source analysis tools
https://open-digger.cn
Apache License 2.0
291 stars 86 forks source link

feat: add org and user repo meta and label meta #1301

Closed frank-zsy closed 1 year ago

frank-zsy commented 1 year ago

close #1270

Add org and user repos meta data to indicate which repos are indexed by OpenDigger.

close #1269

Add label info into meta data.

frank-zsy commented 1 year ago

With the new export functions, there will be a meta.json file for every exported org and user, like https://oss.x-lab.info/open_digger/github/X-lab2017/meta.json . In this file, there will be an array field called repos to indicate which repos exported for org X-lab2017 and also a labels field to indicate what labels does this org belong, like for X-lab2017, there will be X-lab community and China region label.

Label will also take effect to repos like https://oss.x-lab.info/open_digger/github/kubesphere/kubesphere/meta.json , all levels labels will be included like Cloud Native, Cloud Native - Platform, Cloud Native - Platform - Certified Kubernetes - Distribution.