aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-01-30 14:39:17 +0100
committerMilo Casagrande <milo@ubuntu.com>2013-01-30 14:39:17 +0100
commitef72e9c33adfea4d6651f34ac8b70c9591c0f8da (patch)
treecadd66d31405b814749fccb62ba1a040b35af407
parenta387ffb86640a7f1acc663c1eff02b125e5f49ca (diff)
downloadrhodecode-config-ef72e9c33adfea4d6651f34ac8b70c9591c0f8da.tar.gz
Added section about directory rescan.
-rw-r--r--INSTALL11
1 files changed, 11 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index b77cb1c..5c39491 100644
--- a/INSTALL
+++ b/INSTALL
@@ -299,6 +299,17 @@ To clone all git.linaro.org repositories:
python scripts/mirror-repos --repos-list config/git_repos.txt \
--checkout-dir /opt/rhodecode/git_repos --user rhodecode
+I order for RhodeCode to pick up the newly added respositories, it is necessary
+to trigger RhodeCode for a directory re-scan. To do so, the command used before
+will look like:
+
+ python scripts/mirror-repos --repos-list config/git_repos.txt \
+ --checkout-dir /opt/rhodecode/git_repos --user rhodecode --rescan-repos \
+ --api-key $ADMIN_API_KEY
+
+Where $ADMIN_API_KEY is found in the RhodeCode 'admin' user web profile.
+
+
The script will mirror the repositories maintaining their directory structures.
To update the repositories, as a cron job for the 'rhodecode' user, run: