-
Notifications
You must be signed in to change notification settings - Fork 17
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
New object parser, 100% test coverage, Multiline and sub-items. #37
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Samuel Giffard <samuel@giffard.co>
Name `unlink` should only be used for File System.
Signed-off-by: Samuel Giffard <samuel@giffard.co>
The behaviour is the same, except for a few cases with `semantic_version` that didn't make sense. I consider it an improvement. Another change is a smarter parsing of `release_date`. Signed-off-by: Samuel Giffard <samuel@giffard.co>
It now properly keeps the empty lines and the case on `release_date`. The `semantic_version` bug is also fix (improved consistency). Signed-off-by: Samuel Giffard <samuel@giffard.co>
Signed-off-by: Samuel Giffard <samuel@giffard.co>
Note there is a weird quirk that uses `*` instead of `-` for the uncategorized bullet points. I kept this behaviour. But it could be fixed later (easy). Signed-off-by: Samuel Giffard <samuel@giffard.co>
Signed-off-by: Samuel Giffard <samuel@giffard.co>
The order in which the changes appear is now deterministic. There were some minor inconsistencies before. Signed-off-by: Samuel Giffard <samuel@giffard.co>
Signed-off-by: Samuel Giffard <samuel@giffard.co>
Signed-off-by: Samuel Giffard <samuel@giffard.co>
Signed-off-by: Samuel Giffard <samuel@giffard.co>
Signed-off-by: Samuel Giffard <samuel@giffard.co>
I split them into 2 commits, to have git give a correct diff (because of file renaming). Signed-off-by: Samuel Giffard <samuel@giffard.co>
Multiline: Items can have several lines. Sub-items: Items can contain other items. Signed-off-by: Samuel Giffard <samuel@giffard.co>
Signed-off-by: Samuel Giffard <samuel@giffard.co>
Signed-off-by: Samuel Giffard <samuel@giffard.co>
Added pragma no cover to skip Version-specific lines. GitHub Action added on Pull Request. Signed-off-by: Samuel Giffard <samuel@giffard.co>
d2dace7
to
3f07aec
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
@Colin-b Okay, now it should work. There's a need for approval to run the action, though? |
Thanks a lot. I just went through it quickly and this PR introduces a lot of changes and new features in one go. While I am glad, I can't realistically assess the impact this way. It's my fault for not clarifying this in the contributing documentation, my bad. Pull requests should be atomic. ie: contains a single change. If you would like to address more than the issue with the multi-line, I am all for it obviously. But it should be covered in an other pull request (and so on). As for the changes in the test suite, they should be avoided as much as possible, removing test cases should not make sense, unless some features are actually removed. If a PR intent to fix a bug, it should come up with the appropriate additional test cases, but not impact the existing one. (or you can come up with a PR dedicated to rewriting the test suite) That way I can now for sure that previous behavior was not impacted. I know this is a lot to ask, but could you split up this huge PR into multiple one? Each one focusing on one modification/fix/addition ? As you seemed to have split your commits this way, cherry picking on new branches should allow you to do it without too much hassle hopefully :/ |
Hi @Colin-b, Sorry for the long wait and thank you for your response. We now have 112 tests and 100% coverage ( https://github.com/Colin-b/keepachangelog/runs/5078766394?check_suite_focus=true#step:5:1 ), instead of 40 tests, 100% coverage ( https://github.com/Colin-b/keepachangelog/runs/4998576642?check_suite_focus=true#step:5:1 ). I was also under the impression that this would be on the way to a new major version (current is 2.0.0.dev2), therefore, it would be acceptable to have breaking changes (for example, All the tests show how it currently behaves and give guarantee to users about this. And of course, the 2.0.0.dev3 - 2022-01-30Added
Changed
Fixed
However, I understand that, even though the commits are well split, such a big PR can feel overwhelming. So, if you'd like, we can have a ~2h video call in a weekend and I'll do my best to help you during the review of this PR (and I speak French :-) ). Moreover, I'm back to Europe, so I'm guessing we're now in the same timezone :-). |
This is a follow-up of #32