Pārlūkot izejas kodu

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

Dan Helfman 1 dienu atpakaļ
vecāks
revīzija
5f468c4261
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      NEWS
  2. 1 1
      borgmatic/borg/feature.py

+ 1 - 1
NEWS

@@ -4,7 +4,7 @@
    use.
  * When running tests, use Ruff for faster and more comprehensive code linting and formatting,
    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:
    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.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.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
 }