Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Confinement" de la librairie Timex #4385

Merged
merged 13 commits into from
Dec 16, 2024
Merged

"Confinement" de la librairie Timex #4385

merged 13 commits into from
Dec 16, 2024

Conversation

thbar
Copy link
Contributor

@thbar thbar commented Dec 16, 2024

Timex est une dépendance de 10k lignes qui a à l'origine été créée pour remplir un manque dans le langage Elixir. Sa maintenance semble avoir ralenti, et entre temps le langage a pour partie rattrapé son retard.

Dans cette PR, j'isole les appels à Timex dans un module TimeWrapper, sans chercher pour le moment à supprimer l'usage de Timex directement.

J'ajoute une règle Credo pour nous encourager à éviter son usage, sachant qu'on utilise que quelques appels et qu'ils seraient remplaçables à peu de frais.

@thbar thbar added the dette technique Entretien & maintenance générale, nécessaire pour que le code reste de bonne qualité label Dec 16, 2024
@thbar thbar marked this pull request as ready for review December 16, 2024 14:12
@thbar thbar requested a review from a team as a code owner December 16, 2024 14:12
@thbar thbar added this pull request to the merge queue Dec 16, 2024
@thbar
Copy link
Contributor Author

thbar commented Dec 16, 2024

Merci @AntoineAugusti !

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 16, 2024
@thbar thbar added this pull request to the merge queue Dec 16, 2024
@thbar
Copy link
Contributor Author

thbar commented Dec 16, 2024

Le merge a échoué avec cette erreur:

CleanShot 2024-12-16 at 16 33 11@2x

Je relance.

Merged via the queue into master with commit 90e9097 Dec 16, 2024
4 checks passed
@thbar thbar deleted the confine-timex branch December 16, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dette technique Entretien & maintenance générale, nécessaire pour que le code reste de bonne qualité
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants