leric opened a new issue, #5991:
URL: https://github.com/apache/incubator-devlake/issues/5991

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   Failed to extract namespace part of a repo url like : 
https://gitlab.com/merico-dev/ee/tapd-test.git 
   
   Namespace should be "merico-dev/ee", it only extracted first segment in url 
path "merico-dev".
   
   
![image](https://github.com/apache/incubator-devlake/assets/863493/68d362c4-a4e4-43bc-aa1f-7369cd03b2b6)
   
   
   ### What do you expect to happen
   
   Use url path without the last segment as namespace
   
   ### How to reproduce
   
   repository url path has more than 2 segments, e.g. 
https://gitlab.com/merico-dev/ee/tapd-test.git  has 3 segments "merico-dev", 
"ee", "tapd-test.git"
   
   ### Anything else
   
   _No response_
   
   ### Version
   
   v0.18
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to