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

   ### 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
   
   I want to add my website's repo to my devlake. But it rejects 
`matrixji/jibin.net` as a valid repository in Config UI.
   I've checked the UI's code, and it uses the pattern `const repoRegExp = 
/([a-z0-9_-]){2,}\/([a-z0-9_-]){2,}$/gi` for check repository name with 
username/organization.
   
   Actually, GitHub allows dot(.) characters in the repository name. AIK, many 
users use the domain name as the repo name for hosting their website's source 
code.
   
   Ref: https://github.com/dead-claudia/github-limits#repository-names
   
   
   ### What do you expect to happen
   
   Hope the repository name supports dot(.) character 
   
   ### How to reproduce
   
   Create a blueprint with a GitHub connection, and try using some repo 
containing a dot(.).
   
   
![image](https://user-images.githubusercontent.com/183388/198987999-52e33402-a05d-4b8a-be41-5604aacc801d.png)
   
   
   ### Anything else
   
   N/A
   
   ### Version
   
   v0.14.2
   
   ### 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