Origin: Developer UI Add From Git complains about invalid URL

Created on 14 Nov 2019  路  5Comments  路  Source: openshift/origin

UI Git Repo URL accepts only http or https urls without port number.
Even ssh://[email protected]... is not accepted

Version

Client Version: v4.2.5
Server Version: 4.2.2
Kubernetes Version: v1.14.6+868bc38

Steps To Reproduce
  1. Add+ -> From Git, Add value to GIt Repo URL form field
  2. add any git http(s) that has port number
  3. add any ssh git url
Current Result
Expected Result
Additional Information
lifecyclrotten

Most helpful comment

I confirm,
if you try to add a Git Repo URL with either : a port number (:port) or a user (gituser@server), Openshift complains about the validity of the URL with "Invalid Git URL".

To be able to use our internal Bitbucket server with Openshift, I need to be able to use URL like this :

ssh://[email protected]:7999/dci/docker-sftp.git
https://git.domain.net:8443/scm/dci/docker-sftp.git

All 5 comments

I confirm,
if you try to add a Git Repo URL with either : a port number (:port) or a user (gituser@server), Openshift complains about the validity of the URL with "Invalid Git URL".

To be able to use our internal Bitbucket server with Openshift, I need to be able to use URL like this :

ssh://[email protected]:7999/dci/docker-sftp.git
https://git.domain.net:8443/scm/dci/docker-sftp.git

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

crobby picture crobby  路  4Comments

guangxuli picture guangxuli  路  4Comments

syui picture syui  路  3Comments

thincal picture thincal  路  5Comments

crobby picture crobby  路  4Comments