-
Notifications
You must be signed in to change notification settings - Fork 16
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?
Commits on Jan 30, 2022
-
Removing side-effects:
add_release
->extract_release
.Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 129b759 - Browse repository at this point
Copy the full SHA 129b759View commit details -
Configuration menu - View commit details
-
Copy full SHA for a445c12 - Browse repository at this point
Copy the full SHA a445c12View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6eb6cae - Browse repository at this point
Copy the full SHA 6eb6caeView commit details -
Renamed
unlink
->strip_link
. It was confusing.Name `unlink` should only be used for File System.
Configuration menu - View commit details
-
Copy full SHA for 484fbad - Browse repository at this point
Copy the full SHA 484fbadView commit details -
Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fca4d8b - Browse repository at this point
Copy the full SHA fca4d8bView commit details -
Function
to_dict
uses dataclass internally.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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 87c80c8 - Browse repository at this point
Copy the full SHA 87c80c8View commit details -
Function
to_raw_dict
uses dataclass internally.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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 88ab376 - Browse repository at this point
Copy the full SHA 88ab376View commit details -
Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c3e205d - Browse repository at this point
Copy the full SHA c3e205dView commit details -
Function
from_dict
uses dataclass internally.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 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cac2ec6 - Browse repository at this point
Copy the full SHA cac2ec6View commit details -
Uses
freezegun
for mocking datetimes.Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1de44fe - Browse repository at this point
Copy the full SHA 1de44feView commit details -
Function
release
uses dataclass internally.The order in which the changes appear is now deterministic. There were some minor inconsistencies before. Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 578736b - Browse repository at this point
Copy the full SHA 578736bView commit details -
Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8667a76 - Browse repository at this point
Copy the full SHA 8667a76View commit details -
Removed more unused symbols. Moved
to_semantic
internally.Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 067c59b - Browse repository at this point
Copy the full SHA 067c59bView commit details -
Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5df39a0 - Browse repository at this point
Copy the full SHA 5df39a0View commit details -
Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dc6bc56 - Browse repository at this point
Copy the full SHA dc6bc56View commit details -
More tests. Now 100% coverage.
I split them into 2 commits, to have git give a correct diff (because of file renaming). Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5a8985d - Browse repository at this point
Copy the full SHA 5a8985dView commit details -
New features: multiline and sub-items.
Multiline: Items can have several lines. Sub-items: Items can contain other items. Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for abb74ab - Browse repository at this point
Copy the full SHA abb74abView commit details -
Added
to_list
functionality, fixed some backward compatibility. (<3.8)Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 054cd3a - Browse repository at this point
Copy the full SHA 054cd3aView commit details -
Added simple
to_sorted_semantic
.Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 796ac7d - Browse repository at this point
Copy the full SHA 796ac7dView commit details -
Bump version
2.0.0.dev3
. UpdatedCHANGELOG
andREADME
.Added pragma no cover to skip Version-specific lines. GitHub Action added on Pull Request. Signed-off-by: Samuel Giffard <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3f07aec - Browse repository at this point
Copy the full SHA 3f07aecView commit details