##// END OF EJS Templates
auth: don't break hashing in case of user with empty password....
auth: don't break hashing in case of user with empty password. In some cases such as LDAP user created via external scripts users might set the passwords to empty. The hashing uses the md5(password_hash) to store reference to detect password changes and forbid using the same password. In case of pure LDAP users this is not valid, and we shouldn't raise Errors in such case. This change makes it work for empty passwords now.

File last commit:

r1:854a839a default
r2203:8a18c3c3 default
Show More
create-a-repository.rst
60 lines | 1.8 KiB | text/x-rst | RstLexer
/ docs / usage / create-a-repository.rst

Repository Functions

Creating a |repo|

To create 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, complete the following |repo| details:
    • :guilabel:`Name`
    • :guilabel:`Description`
    • :guilabel:`Set the repository group`
    • :guilabel:`Set the repository type`
    • :guilabel:`Specify if it is a public or private repository`
  4. Select :guilabel:`Save`

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 a bit.

Cloning |repos|

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

  1. From the |RCE| interface, select :menuselection:`Admin --> Repositories` and choose the |repo| you wish to clone.
  2. Use the link in the :guilabel:`Clone URL` field to clone the |repo|
  3. To clone, open a terminal on you computer and use one of the following examples

For |git|, use git clone URL For |hg|, use hg clone URL