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

New object parser, 100% test coverage, Multiline and sub-items. #37

Open
wants to merge 20 commits into
base: develop
Choose a base branch
from

Commits on Jan 30, 2022

  1. Removing side-effects: add_release -> extract_release.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    129b759 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a445c12 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6eb6cae View commit details
    Browse the repository at this point in the history
  4. Renamed unlink -> strip_link. It was confusing.

    Name `unlink` should only be used for File System.
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    484fbad View commit details
    Browse the repository at this point in the history
  5. Added Dataclasses.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    fca4d8b View commit details
    Browse the repository at this point in the history
  6. 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]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    87c80c8 View commit details
    Browse the repository at this point in the history
  7. 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]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    88ab376 View commit details
    Browse the repository at this point in the history
  8. Changed function orders.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    c3e205d View commit details
    Browse the repository at this point in the history
  9. 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]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    cac2ec6 View commit details
    Browse the repository at this point in the history
  10. Uses freezegun for mocking datetimes.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    1de44fe View commit details
    Browse the repository at this point in the history
  11. 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]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    578736b View commit details
    Browse the repository at this point in the history
  12. Removed unused symbols.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    8667a76 View commit details
    Browse the repository at this point in the history
  13. Removed more unused symbols. Moved to_semantic internally.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    067c59b View commit details
    Browse the repository at this point in the history
  14. Changed function orders.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    5df39a0 View commit details
    Browse the repository at this point in the history
  15. Added a bunch of tests.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    dc6bc56 View commit details
    Browse the repository at this point in the history
  16. 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]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    5a8985d View commit details
    Browse the repository at this point in the history
  17. 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]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    abb74ab View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    054cd3a View commit details
    Browse the repository at this point in the history
  19. Added simple to_sorted_semantic.

    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    796ac7d View commit details
    Browse the repository at this point in the history
  20. Bump version 2.0.0.dev3. Updated CHANGELOG and README.

    Added pragma no cover to skip Version-specific lines.
    GitHub Action added on Pull Request.
    
    Signed-off-by: Samuel Giffard <[email protected]>
    Mulugruntz committed Jan 30, 2022
    Configuration menu
    Copy the full SHA
    3f07aec View commit details
    Browse the repository at this point in the history