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

switch to pathlib and improve type checking #65

Merged
merged 6 commits into from
Apr 9, 2024
Merged

switch to pathlib and improve type checking #65

merged 6 commits into from
Apr 9, 2024

Commits on Mar 6, 2024

  1. prefer pathlib over string paths

    also add more typehints
    Johann Bahl committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    f4ed3da View commit details
    Browse the repository at this point in the history
  2. mypy: check untyped defs

    Johann Bahl committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    dc323d3 View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2024

  1. clean up chunked backend

    Johann Bahl committed Mar 7, 2024
    Configuration menu
    Copy the full SHA
    7d03b30 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. support mixed backends

    It is now possible to open a revision with any (supported) backend type,
    instead of only supporting the current default backend.
    Johann Bahl committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    d8e6c2e View commit details
    Browse the repository at this point in the history
  2. use the same parent revision in source and backend

    The parent of a revision was previously selected independently of
    additional source constraints. This could result in a revision C having
    the parent B, but with a delta of A -> C applied by the source (e.g.
    the snapshot for B is missing).
    This did not cause any issues until now because ceph always includes
    the chunks of the delta B->C in A->C (even when A->B is the inverse of
    B->C), but we should not rely on this behaviour.
    
    The file source also gained the ability to select a trusted parent
    instead of falling back to a non-cow copy when a distrusted revision
    exists.
    Johann Bahl committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    fadf958 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2024

  1. review

    Johann Bahl committed Apr 8, 2024
    Configuration menu
    Copy the full SHA
    f55f0d6 View commit details
    Browse the repository at this point in the history