]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dak.py
Added update system for the database, and the first update script
[dak.git] / dak / dak.py
index 193b465970a210a540c2658715fda01d69b3ad96..e8a7df03a3c52d2998d24dd2e73b7110230e1385 100755 (executable)
@@ -144,6 +144,8 @@ def init():
          "Sync PostgreSQL users with passwd file"),
         ("init-db",
          "Update the database to match the conf file"),
+        ("update-db",
+         "Updates databae schema to latest revision"),
         ("init-dirs",
          "Initial setup of the archive"),
         ("make-maintainers",
@@ -162,8 +164,6 @@ def init():
          "Split queue/done into a date-based hierarchy"),
         ("stats",
          "Generate statistics"),
-        ("symlink-dists",
-         "Generate compatability symlinks from dists/ into pool/"),
         ]
     return functionality