Skip to content

hugegraph/license-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

前置准备

  1. install-dist 模块下 known-dependencies.txt 和 all_dependencies 下面的 jar 包
  2. mvn dependency:tree 的输出

步骤

  • 通过 url.py 生成 urls.json,其中包含 jar 包名和对应的 maven 仓库 url
    • jffi-1.2.16-native.jar 和 jffi-1.2.16.jar 对应的 url 一样
  • 通过 spider.py 在 url 中爬取 license 信息
  • 通过 merger.py 将爬取 license 信息整合,以 url 为 key
  • 通过 matcher.py 匹配 license 规则
    • 保证每个 jar 都有对应的 license 规则
    • 如果有 jar 找不到 license
      • 把 missing jar 写入 missing-license.txt
      • python3 license-fetcher.py missing-license.txt
        • 完成 license 信息的补全
      • 将输出的 license 信息写入 to-be-merge-LICENSE.txt
      • python3 merge-license.py to-be-merge-LICENSE.txt LICENSE
        • 将 license 信息合并进 LICENSE 文件
  • 通过 generator.py 生成 license 描述和文件

About

No description, website, or topics provided.

Resources

License

Unknown and 2 other licenses found

Licenses found

Unknown
LICENSE
Unknown
LICENSE.bk
Unknown
license-fetcher.py

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages