##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r1:854a839a default
r2777:f1cc2e3d default
Show More
import-a-repository.rst
27 lines | 791 B | text/x-rst | RstLexer
/ docs / usage / import-a-repository.rst

Importing a |repo|

To import a |repo| in |RCE|, use the following steps.

  1. From the |RCE| interface, select :menuselection:`Admin --> Repositories`
  2. From the |repo| page, select :guilabel:`Add Repository`
  3. On the :guilabel:`Add Repository` page, select :guilabel:`Import existing repository`
  4. In the :guilabel:`clone from` input field, specify the URL to the repository you want to import.
  5. Complete the following repository details:
    • Name
    • Description
    • Set the |repo| group
    • Set the |repo| type
    • Specify if it is a public or private |repo|
  6. Select :guilabel:`Add`

Note

Make sure your |RCE| server can access the external |repo|.

Depending on the size of the repository the clone process may take some time.