[PATCH 5 of 6] docs: upgrade: recreating git hooks can only be done after starting Kallithea
Thomas De Schampheleire
patrickdepinguin at gmail.com
Fri Dec 28 22:07:56 UTC 2018
# HG changeset patch
# User Thomas De Schampheleire <thomas.de_schampheleire at nokia.com>
# Date 1546033595 -3600
# Fri Dec 28 22:46:35 2018 +0100
# Node ID 39dc6a4916af3d6f1b5e559e64749c79bbc55c32
# Parent c9b121231e8000ca300c2fcfbce61caaa5c1a933
docs: upgrade: recreating git hooks can only be done after starting Kallithea
The upgrade instructions lets the user click on UI links while Kallithea is
not yet started. Move those instructions down to fix the flow.
diff --git a/docs/upgrade.rst b/docs/upgrade.rst
--- a/docs/upgrade.rst
+++ b/docs/upgrade.rst
@@ -184,8 +184,29 @@ following command::
kallithea-cli front-end-build
-8. Update Git repository hooks
-------------------------------
+8. Rebuild the Whoosh full-text index
+-------------------------------------
+
+It is recommended that you rebuild the Whoosh index after upgrading since
+new Whoosh versions can introduce incompatible index changes.
+
+
+9. Start the Kallithea web application
+--------------------------------------
+
+This step once again depends entirely on the web server software used to
+serve Kallithea.
+
+Before starting the new version of Kallithea, you may find it helpful to
+clear out your log file so that new errors are readily apparent.
+
+.. note::
+ If you're using Celery, make sure you restart all instances of it after
+ upgrade.
+
+
+10. Update Git repository hooks
+-------------------------------
It is possible that an upgrade involves changes to the Git hooks installed by
Kallithea. As these hooks are created inside the repositories on the server
@@ -202,25 +223,4 @@ To update the hooks of your Git reposito
not necessary if you only have Mercurial repositories.
-9. Rebuild the Whoosh full-text index
--------------------------------------
-
-It is recommended that you rebuild the Whoosh index after upgrading since
-new Whoosh versions can introduce incompatible index changes.
-
-
-10. Start the Kallithea web application
----------------------------------------
-
-This step once again depends entirely on the web server software used to
-serve Kallithea.
-
-Before starting the new version of Kallithea, you may find it helpful to
-clear out your log file so that new errors are readily apparent.
-
-.. note::
- If you're using Celery, make sure you restart all instances of it after
- upgrade.
-
-
.. _virtualenv: http://pypi.python.org/pypi/virtualenv
More information about the kallithea-general
mailing list