Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

Update PURLDB with all ABCTK releases

Ouverte
#582 2 commentaires 0 réactions 3 personnes assignées Voir sur GitHub

@pombredanne y travaille déjà.

Depuis le 15/3/2025.

Évaluation

Cette issue n'a pas encore été évaluée.

Description

Important needs design

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.

Langage dominant
Python
Étoiles
100
Forks
48
Métriques de merge des PR
Aucune PR mergée en 30 j

Préparer son environnement

  • Fournit un Dockerfile ou un fichier Docker Compose
  • Aucun modèle de pull request
  • Aucun guide de contribution

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de aboutcode-org/aboutcode-toolkit

Toutes les issues de aboutcode-org/aboutcode-toolkit

Issues similaires

Plus d'issues Python

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.