Skip to content

Refacto de l'alert-cli #945

Closed Answered by m-maillot
m-maillot asked this question in General
Discussion options

You must be logged in to vote

Utilisation de l'API github

L'idée est d'utiliser l'API github pour récupérer la diff entre les tags. On va s'appuyer sur ce type de résultat : SocialGouv/kali-data@v2.563.0...v2.564.0

On peut récupérer le tags ici : https://api.github.com/repos/SocialGouv/kali-data/tags?per_page=30&page=1

Ensuite, on peut obtenir la diff ici : https://api.github.com/repos/SocialGouv/kali-data/compare/v2.563.0...v2.564.0?per_page=30&page=1

on retrouve donc les informations nécessaires pour reproduire le comportement d'aujourd'hui sans nodegit.

Replies: 4 comments

Comment options

m-maillot
Jun 14, 2023
Maintainer Author

You must be logged in to vote
0 replies
Comment options

m-maillot
Jun 14, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by m-maillot
Comment options

m-maillot
Jun 14, 2023
Maintainer Author

You must be logged in to vote
0 replies
Comment options

m-maillot
Jun 14, 2023
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant