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

implementation for archiving a pack file #138

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Commits on May 28, 2022

  1. Configuration menu
    Copy the full SHA
    804637c View commit details
    Browse the repository at this point in the history

Commits on May 29, 2022

  1. Added tests for pack path/pack id allocation

    Archive packs needs special handling.
    1. They should not be selected for writing
    2. They can reside on different locations
    zhubonan committed May 29, 2022
    Configuration menu
    Copy the full SHA
    5cb655e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1f53429 View commit details
    Browse the repository at this point in the history
  3. Added methods to "loosen" archives

    This allow an archived pack to be imported into other containers,
    without the need of the SQLite database file.
    zhubonan committed May 29, 2022
    Configuration menu
    Copy the full SHA
    8c499f4 View commit details
    Browse the repository at this point in the history
  4. Update tests and docstrings

    zhubonan committed May 29, 2022
    Configuration menu
    Copy the full SHA
    637a001 View commit details
    Browse the repository at this point in the history
  5. Update precommit settings

    zhubonan committed May 29, 2022
    Configuration menu
    Copy the full SHA
    37870b4 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2022

  1. Fix a bug about pack_id handling

    Sometimes it is a string, sometimes it can be an int. sqlite does
    not seem to care? But matching inside python differentiate the two.
    zhubonan committed May 30, 2022
    Configuration menu
    Copy the full SHA
    d41ed0f View commit details
    Browse the repository at this point in the history
  2. Added methods to get and set archive locations

    This allows archive files to exist outside of the container folder.
    zhubonan committed May 30, 2022
    Configuration menu
    Copy the full SHA
    2ddf561 View commit details
    Browse the repository at this point in the history
  3. get/set archive location and cli

    Allow archive locations to be set/updated, alow added CLI
    zhubonan committed May 30, 2022
    Configuration menu
    Copy the full SHA
    c8e2c94 View commit details
    Browse the repository at this point in the history
  4. Fix for tests on window

    zhubonan committed May 30, 2022
    Configuration menu
    Copy the full SHA
    bc62f1e View commit details
    Browse the repository at this point in the history
  5. CLI update

    zhubonan committed May 30, 2022
    Configuration menu
    Copy the full SHA
    083d63f View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2022

  1. Docstring update

    zhubonan committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    47d4400 View commit details
    Browse the repository at this point in the history
  2. Implement CompressMode other than KEEP for repacking

    Alow CompressMode.YES and CompressMode.NO to be used when repacking.
    Previously, there was no way to change compression once an object
    is stored in a packed file.
    zhubonan committed Jun 2, 2022
    Configuration menu
    Copy the full SHA
    c7af5af View commit details
    Browse the repository at this point in the history