SkygearIO / features

Feature Tracking Repo for Skygear
Apache License 2.0
3 stars 12 forks source link

Making a opensource dependency list #120

Open rickmak opened 7 years ago

rickmak commented 7 years ago

Description

A Skygear version of this: https://www.docker.com/components-licenses

Related Issues

Progress Tracker

Advice

cheungpat commented 7 years ago

@rickmak it would be great if you could include the list and/or how you created the list

rickmak commented 7 years ago

I have manually created a list for skygear-server, py-skygear and skygear-SDK-iOS due to some client consulting request. The used lib are as follow.

golang: https://github.com/pmezard/licenses > licenses ./… py-skygear: yolk skygear-SDK-iOS: https://gist.github.com/rickmak/b896d73bd1063cac0efe00dc997356f4 skygear-SDK-JS: nlf

To make the opensource dependency list manageable, I suggest the follow approach:

  1. Make all CI script on git tag to upload a files to a agreed place as in API doc.
    1. i.e. skygear-SDK-iOS -> https://docs.skygear.io/ios/reference/{v1.1.2}/license.txt
    2. i.e. skygear-SDK-JS -> https://docs.skygear.io/js/reference/{v1.1.2}/license.txt
    3. …etc
    4. the file can be public, format is open, as long as easy to parse. i.e. tab separate list will works
  2. The skygear-doc CD process will fetch the files, the file list is hardcoded.
    1. parse the list
    2. build the html to https://doc.skygear.io/components-licenses