Bug 1299870 - [GSS] (6.2.z) Business Central Repo Clone Fails To Clone SCP Style SSH URLs
Summary: [GSS] (6.2.z) Business Central Repo Clone Fails To Clone SCP Style SSH URLs
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: CR1
: 6.2.2
Assignee: manstis
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On: 1299619
Blocks: 1309326 1309327
TreeView+ depends on / blocked
 
Reported: 2016-01-19 12:57 UTC by Alessandro Lazarotti
Modified: 2020-03-27 20:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1299619
Environment:
Last Closed: 2020-03-27 20:03:18 UTC
Type: Bug


Attachments (Terms of Use)

Description Alessandro Lazarotti 2016-01-19 12:57:56 UTC
+++ This bug was initially created as a clone of Bug #1299619 +++

Description of problem:

Git supports two styles of URI's for SSH protocol. Business Central fails with "invalid URL format" when using the SCP style for SSH. This problematic because github by default uses the SCP style for SSH and does not seem to support the SSH style URL anymore.


Version-Release number of selected component (if applicable):
6.2.0 GA

How reproducible:
Everytime 

Steps to Reproduce:
1) Go to the admin tab
2) Click repositories->Clone Repository
3) Fill out the form using any ssh URL protocol provided by the github UI. I used git:sherl0cks/TestKnowledgeRepo.git

Actual results:
See screenshot. Error with "invalid URL format"

Expected results:
It clones the repo just like https URLs.


Additional info:

--- Additional comment from JBoss Product and Program Management on 2016-01-18 14:00:07 EST ---

Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 2 Kris Verlaenen 2016-02-23 13:31:39 UTC
See discussion in linked BZ, keys without passphrase can be supported by relaxing the url validation and should work.

Comment 9 Jan Hrcek 2016-03-07 09:23:10 UTC
Verified manually with 6.2.2 patch (setting org.uberfire.nio.git.ssh.passphrase property & cloning the repo mentioned in the description) and it's working fine.


Note You need to log in before you can comment on or make changes to this bug.