diff options
-rw-r--r-- | INSTALL | 5 | ||||
-rw-r--r-- | scripts/mirror-repos | 3 |
2 files changed, 6 insertions, 2 deletions
@@ -291,7 +291,7 @@ To enable LDAP: And under the "# User alias specification" add the following line: - %rhodecode ALL=(ALL) NOPASSWD: /usr/sbin/groupadd, /usr/sbin/groupmod, /usr/bin/gpasswd, /usr/bin/change-repo-ownership + %rhodecode ALL=(ALL) NOPASSWD: /usr/sbin/groupadd, /usr/sbin/groupmod, /usr/bin/gpasswd, /usr/bin/change-repo-ownership, /usr/bin/getent Configuration ============= @@ -431,3 +431,6 @@ from the rhodecode-config base directory: the code base will be updated. * $CO_DIR: path to the directory where Rhodecode was previously cloned. * $DB_NAME: Database name for Rhodecode (default is: rhodecode) + +After upgrade, the Apache config should be copied manually to the +/etc/apache2/sites-available/ directory. diff --git a/scripts/mirror-repos b/scripts/mirror-repos index 31c6a4e..ab830d3 100644 --- a/scripts/mirror-repos +++ b/scripts/mirror-repos @@ -206,7 +206,8 @@ def rescan_git_directory(api_key, api_host, user=None): api_host_cmd = "--apihost=%s" % api_host api_cmd = os.path.join(bin_dir, "rhodecode-api") - cmd_args = [api_cmd, api_key_cmd, api_host_cmd, "rescan_repos"] + cmd_args = [api_cmd, api_key_cmd, api_host_cmd, "rescan_repos", + "remove_obsolete:True"] if actual_user == DEFAULT_USER or not user: execute_command(cmd_args) else: |