Skip to content

Releases: xlr8harder/model-mirror

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 04 Aug 17:07

Changed

  • Update previews now print the apply command on its own indented line for
    easier copying.

Fixed

  • Commit updates now replace an existing payload file whose old version is
    larger than the target without feeding the old bytes into target-sized
    torrent hashing state.

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 04 Aug 07:00

Added

  • Added a top-level, non-mutating diff command for inspecting a recorded
    upstream commit change, with capped human output, --verbose, and a stable
    --json schema containing complete path groups.

Changed

  • The README is now a concise installation and everyday-workflow entry point;
    detailed archive operations, configuration/storage, and experimental torrent
    guidance moved into focused documents under docs/.
  • Added a repository-wide agent contract and consolidated detailed development
    guidance in the conventional CONTRIBUTING.md.

Fixed

  • Failed first-time mirrors now resolve and validate the upstream snapshot
    before creating an archive entry. Misspelled, inaccessible, and invalid
    repositories no longer leave an empty in_progress mirror behind, while
    failures after a commit-pinned download begins remain explicitly resumable.
  • Mirror failures now print a concise categorized result and exact retry or
    resume command instead of exposing an uncaught traceback for expected Hub and
    transport errors.

v0.2.3

Choose a tag to compare

@github-actions github-actions released this 29 Jul 08:55

Added

  • repair --update --dry-run previews the recorded commit transition, file and
    payload-size deltas, candidate downloads, removals, and reusable files without
    mutating the mirror. --verbose shows every affected path, and removal impact
    is reported as both file and byte percentages.
  • Verification now reports file count, payload size, bytes hashed, and duration,
    with automatic interactive progress plus explicit --progress and
    --no-progress controls.

Changed

  • model-mirror list is now a deprecated compatibility alias shown with
    status instead of appearing as a separate top-level command.
  • Verification output links changed upstreams to both preview and apply
    commands.
  • Applying an upstream update removes paths made obsolete by the prior pinned
    snapshot while preserving unrelated local extras.

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 28 Jul 16:54

Added

  • Status now reports only exceptional runtime-cache state, distinguishes
    identified interrupted staging from untracked data, and prints exact resume
    and cleanup commands.
  • Download staging now records its repository and resolved commit so crash
    residue can be diagnosed without recursively scanning large archives.
  • Verification failures now show categorized file-level causes and actionable
    next commands.
  • Snapshot, download, checksum, repair, and publication paths now share
    canonical-path, duplicate-path, regular-file, and symlink safety checks.

Fixed

  • Verification no longer imposes format-specific file or layout requirements;
    model payload formats are treated as opaque bytes.
  • Forced cache cleanup now refuses to run while repository or runtime-cache
    locks show active work.

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 28 Jul 10:45

Added

  • Added model-mirror version and model-mirror version --json to compare the
    installed distribution with PyPI and show published release notes when an
    update is available.

Changed

  • All repo-targeted commands now use the configured repo_type when
    --repo-type is omitted. The initial configured default remains model.
  • Archive-wide list and status still include every repo type, while torrent
    imports continue to use the type embedded in the publication descriptor.

v0.2.0

Choose a tag to compare

@xlr8harder xlr8harder released this 28 Jul 10:45

Added

  • Initial public PyPI release of the model-mirror-cli distribution and
    model-mirror command.
  • Commit-pinned Hugging Face mirroring, verification, repair, explicit upstream
    updates, offline-only preservation, fast metadata status, and safe resumable
    removal.
  • Experimental hybrid v1/v2 torrent publication, managed seeding, external
    client handoff, torrent recovery/import, and reusable hash coverage.