-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
*_config_dir -> "*/Library/Application Support" (macOS), fixes #98 #132
Conversation
The discussion about why this should be done should be kept in the ticket, see #98. Feedback here should be just about the code in this PR. |
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.
Needs test.
We should put in a fix PR for pre commit first. |
About tests:
|
Sorry, the requirements of contribution to this repository is not to keep the status quo. Is to leave the place in a better place than you found it 😉 |
Well, I did. I don't feel obliged to add unrelated testing nobody cared about until now, though. |
The lack of testing for this behavior is considered a bug, and definitely in scope for fixing #98. This is non-negotiable, sorry. |
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.
Needs changelog entry too, here https://github.com/platformdirs/platformdirs/blob/main/CHANGES.rst
Under which version and release date shall the changelog entry be? |
I'd recommend adding as 2.7.0 and let's say release day today. |
So you don't consider it breaking enough to increase major? |
I guess we could make it major but is one of those that's on the edge of bug fix vs feature change. I'd be happy either way. |
Well, I meant it from the perspective of other projects using this code. It would mean they don't find their configs when upgrading to that version. |
Sure we can make it a major too 👍 |
Also: fix a doc string.
- that it doesn't include the version number was not the case (this is unrelated to my change) - it is back to Application Support, so that does not apply any more due to my change
see also 2.0.0 release. :-)
Check the 2.0.0 release changelog entry. Rebased on fixed main. |
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.
It still needs some tests to defend against regressions.
@gaborbernat Correct tests would fail here, but I added some to #137. |
Can you add it here so the change diff is self-container, please? |
@gaborbernat in case you want it all in one PR, just use #137, it includes all changesets. |
Also: fix a doc string.