Update PURLDB with all ABCTK releases
@pombredanne ci sta già lavorando.
Dal 15/3/2025.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 100
- Fork
- 48
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di aboutcode-org/aboutcode-toolkit
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
-
Enhance `about_resource` to reference multiple files.Forse di nuovo libera @chinyeungli l’ha presa 246 giorni fa e non c’è nessuna pull request aperta. Aperta
aboutcode-org/aboutcode-toolkit#566 · 2 commenti · 1 assegnatario ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Create test file with a few hundred itemsForse di nuovo libera @DennisClark l’ha presa 1710 giorni fa e non c’è nessuna pull request aperta. Aperta
aboutcode-org/aboutcode-toolkit#491 · 2 assegnatari ·
-
Clean up / Organize codeForse di nuovo libera @sahil-MK2 l’ha presa 1730 giorni fa e non c’è nessuna pull request aperta. Aperta
aboutcode-org/aboutcode-toolkit#483 · 1 commento · 2 assegnatari ·
Tutte le issue di aboutcode-org/aboutcode-toolkit
Issue simili
-
factory
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Arize-ai/phoenix#17420 · 1 commento · 1 reazione ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
FireDynamics/LEDSmokeAnalysis#176 ·
I maintainer di solito rispondono entro 1 giorno
-
PC
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Make `ocifs` optionalApertadependencies
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
dlt-contrib/dlt-filesystem#51 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno