Update PURLDB with all ABCTK releases
@pombredanne 已经在做这个了。
开始于 2025年3月15日。
评估
这个 Issue 还没有评估数据。
描述
We need an automated process to update PURLDB whenever we release a new version of any AboutCode.org package - we should start with aboutcode-toolkit. If we have each release in PURLDB then you should be able to get that data for a Product in DejaCode with the Improve Packages from PURLDB Action.
The steps seem to be:
- Use the PURLDB API to get the current list of PURLs for aboutcode-toolkit and their data
- Identify missing or incorrect data in the existing PURL data and correct it
- Identify the missing PURLs and add them to PURLDB
- Figure out how to automatically populate the PURLDB for each new release of aboutcode-toolkit
This is a pilot for a process to:
- Clean up existing PURLDB data for all AboutCode projects
- Automate adding PURLDB data for each new release of an AboutCode project
The initial focus should be on AboutCode projects that are published to PyPI to keep this simple.
An open question is how to handle the different types of packages that we usually publish for aboutcode-toolkit (and most other AboutCode projects). Using v11.0.0 AboutCode Toolkit v11.0.0 as an example, we have 4 downloads:
- aboutcode_toolkit-11.0.0-py3-none-any.whl
- aboutcode_toolkit-11.0.0.tar.gz
- v11.0.0.zip (Source Code)
- v11.0.0.tar.gz (Source Code)
For patch releases like AboutCode Toolkit v11.0.1 and v11.0.2 (and many older versions) we only release the source packages.
Since each PURLDB record has one Download URL we will need some way to record the four different PURLs.
This seems to call for a qualifier so that the records will be unique. My guess is that we might want to treat the wheel as primary in the PyPI context and perhaps not use a qualifier for it.
- 主要语言
- Python
- 星标
- 100
- 派生
- 48
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
aboutcode-org/aboutcode-toolkit 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
-
Enhance `about_resource` to reference multiple files.可能重新可做 @chinyeungli 于 247 天前认领,目前没有进行中的 PR。 未关闭
aboutcode-org/aboutcode-toolkit#566 · 2 条评论 · 已指派 1 人 ·
-
难度 3/5 1-2 天 新手友好度 45/100
-
Create test file with a few hundred items可能重新可做 @DennisClark 于 1712 天前认领,目前没有进行中的 PR。 未关闭
aboutcode-org/aboutcode-toolkit#491 · 已指派 2 人 ·
-
Clean up / Organize code可能重新可做 @sahil-MK2 于 1731 天前认领,目前没有进行中的 PR。 未关闭
aboutcode-org/aboutcode-toolkit#483 · 1 条评论 · 已指派 2 人 ·
查看 aboutcode-org/aboutcode-toolkit 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
pydantic/pydantic-ai#12091 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
CSS enhancement good first issue
难度 2/5 1-3 小时 新手友好度 70/100
pychess/pychess-variants#2448 ·
维护者通常 1 天内回复
-
Bump locked PyTensor so Apple clang 21 does not pass -ld64可能已有人在做 @drbenvincent 今天认领。 未关闭bug dev ops
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 2 天内回复
-
ai_p2 bug comp-datalake
难度 2/5 1-3 小时 新手友好度 85/100
ClickHouse/ClickHouse#128306 · 1 条评论 ·
维护者通常 1 天内回复