From ef72e9c33adfea4d6651f34ac8b70c9591c0f8da Mon Sep 17 00:00:00 2001 From: Milo Casagrande Date: Wed, 30 Jan 2013 14:39:17 +0100 Subject: Added section about directory rescan. --- INSTALL | 11 +++++++++++ 1 file changed, 11 insertions(+) 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: -- cgit v1.2.3