#5199 Failed to clone Pagure docs
Opened by jayman. Modified

Steps to reproduce

  1. Open this repo’s page.
  2. Click “Clone”.
  3. Click “Other Git URLs”.
  4. Copy the documentation repo’s URL.
  5. Run $ git clone <URL>.

Result

jayman@jason-lemur-pro:~/Documents/VC/Pagure$ git clone https://pagure.io/docs/pagure.git
Cloning into 'pagure'...
fatal: repository 'https://pagure.io/docs/pagure.git/' not found
jayman@jason-lemur-pro:~/Documents/VC/Pagure$

Metadata Update from @ngompa:
- Issue tagged with: doc

@pingou do you know if this is supposed to work? I can clone the docs from the authenticated URL, but I would expect that this should also work with the anonymous clone?

@pingou do you know if this is supposed to work? I can clone the docs from the authenticated URL, but I would expect that this should also work with the anonymous clone?

The docs are restricted in access iirc.
Now that I think of it, I'm not entirely sure if that makes sense

The docs are restricted in access iirc.
Now that I think of it, I'm not entirely sure if that makes sense

Regardless of whether or not restricting access makes sense, I think that pagure should be less misleading. It should either:

  • not show me the documentation URL because I’m not allowed to clone it, or
  • explicitly tell me that I’m not allowed to clone it (maybe with a message in the clone menu, with an HTTP 403 or with a message from the remote).

The docs are restricted in access iirc.
Now that I think of it, I'm not entirely sure if that makes sense

Regardless of whether or not restricting access makes sense, I think that pagure should be less misleading. It should either:

  • not show me the documentation URL because I’m not allowed to clone it, or

This is the behavior I'd expect

Metadata