2
0
Эх сурвалжийг харах

Use borg compact --dry-run in Borg 1.2.9+.

Dan Helfman 1 өдөр өмнө
parent
commit
5f468c4261

+ 1 - 1
NEWS

@@ -4,7 +4,7 @@
    use.
    use.
  * When running tests, use Ruff for faster and more comprehensive code linting and formatting,
  * When running tests, use Ruff for faster and more comprehensive code linting and formatting,
    replacing Flake8, Black, isort, etc.
    replacing Flake8, Black, isort, etc.
- * Switched from pipx to uv for installing development tools, and added tox-uv for speeding up test
+ * Switch from pipx to uv for installing development tools, and added tox-uv for speeding up test
    environment creation. See the developer documentation for more information:
    environment creation. See the developer documentation for more information:
    https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/
    https://torsion.org/borgmatic/docs/how-to/develop-on-borgmatic/
 
 

+ 1 - 1
borgmatic/borg/feature.py

@@ -36,7 +36,7 @@ FEATURE_TO_MINIMUM_BORG_VERSION = {
     Feature.EXCLUDED_FILES_MINUS: parse('2.0.0b5'),  # --list --filter uses "-" for excludes
     Feature.EXCLUDED_FILES_MINUS: parse('2.0.0b5'),  # --list --filter uses "-" for excludes
     Feature.ARCHIVE_SERIES: parse('2.0.0b11'),  # identically named archives form a series
     Feature.ARCHIVE_SERIES: parse('2.0.0b11'),  # identically named archives form a series
     Feature.NO_PRUNE_STATS: parse('2.0.0b10'),  # prune --stats is not available
     Feature.NO_PRUNE_STATS: parse('2.0.0b10'),  # prune --stats is not available
-    Feature.DRY_RUN_COMPACT: parse('1.4.1'),  # borg compact --dry-run support
+    Feature.DRY_RUN_COMPACT: parse('1.2.9'),  # borg compact --dry-run support
 }
 }