summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-05-22 10:54:15 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-05-22 10:54:15 +0200
commit913367606e27b5a5c72c63de4da4d5e09f499a03 (patch)
treea75f9d03c5fc3e4acd862e9b095e7f9055e6ec70
parent01bfae82ce90e5f98180fb920479ed72977c0385 (diff)
downloadaurweb-913367606e27b5a5c72c63de4da4d5e09f499a03.tar.xz
Update upgrade instructions for 4.0.0
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
-rw-r--r--upgrading/4.0.0.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/upgrading/4.0.0.txt b/upgrading/4.0.0.txt
index b1582f2..023dec0 100644
--- a/upgrading/4.0.0.txt
+++ b/upgrading/4.0.0.txt
@@ -1,14 +1,18 @@
+WARNING! Following these upgrade instructions will reset all packages! If you
+want to keep the package contents, please create a backup before starting the
+upgrade process and import the source tarballs into the Git repositories
+afterwards.
+
1. Add a field for the SSH public key to the Users table:
----
ALTER TABLE Users ADD COLUMN SSHPubKey VARCHAR(4096) NULL DEFAULT NULL;
----
-2. Create a new user and set up a patched version of the sshd as
-described in INSTALL.
+2. Create a new user and configure the sshd as described in INSTALL.
-3. Create a directory for the package base Git repositories and run
-init-repos.py to initialize them.
+3. Run gen-templates.py to initialize the Git repository template. Create a
+directory for the Git repositories and run init-repos.py to initialize them.
4. Reset the packager field of all package bases: