-
Notifications
You must be signed in to change notification settings - Fork 99
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
Deprecate unused variables #671
Conversation
Deprecate tva_ent
@@ -7,7 +7,7 @@ | |||
|
|||
setup( | |||
name = 'OpenFisca-France', | |||
version = '12.0.4', | |||
version = '12.0.5', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it a major change, to remove 2 variables?
@MattiSG any advice?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
En théorie, oui.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ce sont des reliquats qui ont été remplacés par d'autres variables sans avoir été supprimées.
C'est plus du nettoyage qu'autre chose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dépréciation = changement mineur à minima.
Suppression = changement majeur.
Cf. https://speakerdeck.com/mattisg/git-session-2-strategies?slide=81
Pour bien comprendre : |
## 12.0.5 | ||
|
||
* Minor version change because deprecating unused variables | ||
* Deprecate nbsala |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/deprecate/delete (?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jusqu'à maintenant on utilise plutôt deprecate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well 👌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour moi c'est un changement mineur.
|
Il n'y a pas à avoir d'évaluation personnelle : le schéma de versionnement est totalement normalisé et documenté sur http://semver.org :) S'il y a une suppression, cela change l'API publique de manière non rétro-compatible, et cela occasionne donc un changement du numéro de version majeur. |
|
||
* Deprecate `nbsala` | ||
* Deprecate `tva_ent` | ||
* Low impact changes since deprecating unused variables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I read this, I understand that you deprecated two variables and did other low impact changes.
I'm not even sure the third point is necessary at all. If you think it is important, please make sure to explain that is it not a change, but additional info about the two first lines.
For instance you can remove the bullet, and instead having a full sentence "These changes are low impact since the two deprecated variables were not used"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See Changelog
@fpagnoux is this GTM for you now ? |
No description provided.