Parcourir la source

Make the usage example in updateFallbackDirs.py actually work

And explain what it does.

Fixes bug 22270 in 0.3.0.3-alpha.
teor il y a 7 ans
Parent
commit
3f28824931
2 fichiers modifiés avec 10 ajouts et 1 suppressions
  1. 4 0
      changes/bug22270
  2. 6 1
      scripts/maint/updateFallbackDirs.py

+ 4 - 0
changes/bug22270

@@ -0,0 +1,4 @@
+  o Minor bugfixes (fallback directory mirrors):
+    - Make the usage example in updateFallbackDirs.py actually work.
+      (And explain what it does.)
+      Fixes bug 22270 in 0.3.0.3-alpha.

+ 6 - 1
scripts/maint/updateFallbackDirs.py

@@ -1,8 +1,13 @@
 #!/usr/bin/python
 
 # Usage:
+#
+# Regenerate the list:
 # scripts/maint/updateFallbackDirs.py > src/or/fallback_dirs.inc
-# scripts/maint/updateFallbackDirs.py check_existing > src/or/fallback_dirs.inc
+#
+# Check the existing list:
+# scripts/maint/updateFallbackDirs.py check_existing > fallback_dirs.inc.ok
+# mv fallback_dirs.inc.ok src/or/fallback_dirs.inc
 #
 # This script should be run from a stable, reliable network connection,
 # with no other network activity (and not over tor).