Clone URL

it_staff's Avatar

it_staff

05 Jul, 2017 11:28 PM

Hi, this might seem like a dumb question, but for some of my users the Clone URL has the FQDN for my Rhodecode server and for other users only the hostname is shown. Why is that? Is it set on a per user basis? If so where? e.g. Clone URL could be "https://host.domain.com/scm/repo-group/repo" or "https://host/scm/repo-group/repo"

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 06 Jul, 2017 08:15 AM

    Marcin Kuzminski's Avatar

    Hi,

    Clone url can be configured via a CLONE _URI template available under admin > settings > visual

    The default value is {scheme}://{user}@{netloc}/{repo}

    the schema and netloc is figured out based on your host settings, and DNS. If this is wrong please check those settings on the machine.

    If you can't you can change the clone url template to e.g.

    https://{user}@yourhost.com/{repo}

  2. 2 Posted by it_staff on 06 Jul, 2017 01:57 PM

    it_staff's Avatar

    Thanks Marcin. I looked all over for a parameter to set the value...I guess I just didn't
    scroll down far enough on the Visual page. I set my parameter to your suggested
    https://{user}@myhost.mydomain.com/{repo} and it looks like it is working fine.
    I assume that if I use:
    {scheme}://{user}@myhost.mydomain.com/{repo}
    that would be OK too?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

23 Nov, 2017 03:02 PM
21 Nov, 2017 06:38 PM
03 Oct, 2017 08:26 PM
03 Oct, 2017 05:48 PM
28 Sep, 2017 05:55 PM