summaryrefslogtreecommitdiff
path: root/upgrading
diff options
context:
space:
mode:
Diffstat (limited to 'upgrading')
-rw-r--r--upgrading/4.3.0.txt29
-rw-r--r--upgrading/4.4.0.txt17
-rw-r--r--upgrading/4.4.1.txt6
3 files changed, 52 insertions, 0 deletions
diff --git a/upgrading/4.3.0.txt b/upgrading/4.3.0.txt
new file mode 100644
index 0000000..78f9455
--- /dev/null
+++ b/upgrading/4.3.0.txt
@@ -0,0 +1,29 @@
+1. Add a column to store ownership notification settings:
+
+----
+ALTER TABLE Users ADD COLUMN OwnershipNotify TINYINT(1) NOT NULL DEFAULT 1;
+----
+
+2. Resize the LastLoginIPAddress column:
+
+----
+ALTER TABLE Users MODIFY LastLoginIPAddress VARCHAR(45) NULL DEFAULT NULL;
+----
+
+3. Add a new column to store repository information of official providers:
+
+----
+ALTER TABLE OfficialProviders ADD COLUMN Repo VARCHAR(64) NOT NULL;
+----
+
+4. Add a column to store users' homepages:
+
+----
+ALTER TABLE Users ADD COLUMN Homepage TEXT NULL DEFAULT NULL;
+----
+
+5. Resize LangPreference to fit Latin American Spanish language code:
+
+--
+ALTER TABLE Users MODIFY LangPreference VARCHAR(6);
+--
diff --git a/upgrading/4.4.0.txt b/upgrading/4.4.0.txt
new file mode 100644
index 0000000..afe01be
--- /dev/null
+++ b/upgrading/4.4.0.txt
@@ -0,0 +1,17 @@
+1. Resize the URL column of the Packages table:
+
+----
+ALTER TABLE Packages MODIFY URL VARCHAR(8000) NULL DEFAULT NULL;
+----
+
+2. Resize the Source column of the PackageSources table:
+
+----
+ALTER TABLE PackageSources
+ MODIFY Source VARCHAR(8000) NOT NULL DEFAULT "/dev/null";
+----
+
+3. The location of the Git interface scripts was changed. Make sure you update
+ your aurweb configuration, as well as the SSH daemon and AUR Git repository
+ configurations to point to the new wrapper scripts which are located in
+ /usr/local/bin/ by default.
diff --git a/upgrading/4.4.1.txt b/upgrading/4.4.1.txt
new file mode 100644
index 0000000..726f9e2
--- /dev/null
+++ b/upgrading/4.4.1.txt
@@ -0,0 +1,6 @@
+1. The default configuration file search path now points to /etc/aurweb/config.
+ Make sure you copy your aurweb configuration to the new location before
+ upgrading.
+
+2. The maintenance scripts have been prefixed by "aurweb-" and can now be
+ installed using `python3 setup.py install`.