aboutcode-org / aboutcode-org/fetchcode

Reuse/copy pip code for VCS and download

未关闭
#1 13 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
HTML
星标
13
派生
24
PR 合并指标
30 天内没有已合并 PR

描述

pip is a good starting point as https://github.com/pypa/pip/blob/master/src/pip/_internal/download.py is a solid and reliable download utility tested with billions of downloads.

There are a few ways to handle this:
1. use https://github.com/sarugaku/pip-shims and reuse pip code
2. copy and fork pip code
3. vendor pip code

Note pip also handles VCS URLs
See https://github.com/pypa/pip/tree/master/src/pip/_internal/vcs
The download location specified in SPDX is mostly derived from the pip URLs https://github.com/spdx/spdx-spec/blob/db06dc81e525e08035af34117127742337e1f1b6/chapters/3-package-information.md#37-package-download-location-

pip does not handle ftp AFAIK

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。