{"id":38604355,"url":"https://github.com/hugegraph/license-kit","last_synced_at":"2026-01-17T08:36:33.633Z","repository":{"id":259875380,"uuid":"878995450","full_name":"hugegraph/license-kit","owner":"hugegraph","description":null,"archived":false,"fork":false,"pushed_at":"2025-11-07T06:13:06.000Z","size":383,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-07T08:19:27.625Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hugegraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-26T17:12:51.000Z","updated_at":"2025-11-07T06:13:02.000Z","dependencies_parsed_at":"2024-10-28T15:21:56.825Z","dependency_job_id":"280be6e6-a3c5-459e-82b3-05bee7cdd69d","html_url":"https://github.com/hugegraph/license-kit","commit_stats":null,"previous_names":["vgalaxies/hg-deps","hugegraph/license-kit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hugegraph/license-kit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugegraph%2Flicense-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugegraph%2Flicense-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugegraph%2Flicense-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugegraph%2Flicense-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hugegraph","download_url":"https://codeload.github.com/hugegraph/license-kit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hugegraph%2Flicense-kit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28504369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-01-17T08:36:32.713Z","updated_at":"2026-01-17T08:36:33.615Z","avatar_url":"https://github.com/hugegraph.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 前置准备\n\n1. install-dist 模块下 known-dependencies.txt 和 all_dependencies 下面的 jar 包\n2. mvn dependency:tree 的输出\n\n# 步骤\n\n- 通过 [url.py](url.py) 生成 [urls.json](urls.json)，其中包含 jar 包名和对应的 maven 仓库 url\n  - jffi-1.2.16-native.jar 和 jffi-1.2.16.jar 对应的 url 一样\n- 通过 [spider.py](spider.py) 在 url 中爬取 license 信息\n  - 有些可能爬不到，在后续 match 阶段特判\n  - 使用 [spider-checker.py](spider-checker.py)\n- 通过 [merger.py](merger.py) 将爬取 license 信息整合，以 url 为 key\n- 通过 [matcher.py](matcher.py) 匹配 license 规则\n  - 保证每个 jar 都有对应的 license 规则\n  - 如果有 jar 找不到 license\n    - 把 missing jar 写入 missing-license.txt\n    - python3 license-fetcher.py missing-license.txt \n      - 完成 license 信息的补全\n    - 将输出的 license 信息写入 to-be-merge-LICENSE.txt\n    - python3 merge-license.py to-be-merge-LICENSE.txt LICENSE \n      - 将 license 信息合并进 LICENSE 文件\n- 通过 [generator.py](generator.py) 生成 license 描述和文件\n  - 使用 [generator-checker.py](generator-checker.py) 检查 license 文件是否合法\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugegraph%2Flicense-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugegraph%2Flicense-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugegraph%2Flicense-kit/lists"}