EuroPython / EuroPython/internal-bot

Add support for missing types of changes on the ProjectV2Item

Ouverte
#15 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
help wanted
Langage dominant
Python
Étoiles
5
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

We currently support changes in date fields (like start_date, end_date), and single choice fields (like status)

Would be great to add support for at least the following:

- [ ] #18
- [ ] #17
- [ ] #16

![Image](https://github.com/user-attachments/assets/93e01414-8181-467a-b5d2-46c28b9f5966)

This can be added here: https://github.com/EuroPython/internal-bot/blob/main/intbot/core/integrations/github.py#L168-L199

And the tests for this are here: https://github.com/EuroPython/internal-bot/blob/main/intbot/tests/test_integrations/test_github.py#L182-L249

Would be also great to refactor that changes parsing code, but that could be something for later :)

The example of the webhooks with different types of data are in the comments.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start in intbot/core/integrations/github.py at lines 168-199 and inspect the existing parsing for date and single-choice ProjectV2Item changes. Review the webhook examples in the issue comments and the related issues #16, #17, and #18, then use intbot/tests/test_integrations/test_github.py around lines 182-249 to guide coverage. Done means the requested additional change types are parsed and tested.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github, python
Domaine
devtools
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

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