mindlesscloud opened a new pull request, #5423:
URL: https://github.com/apache/incubator-devlake/pull/5423

   ### Summary
   - **Remove All data** from `_tool_jira_scope_configs.remotelink_repo_pattern`
   - Provide API to generate regex from an URL pattern which maybe looks like 
`https://gitlab.com/{namespace}/{repo_name}/-/commit/{commit_sha}`
   - Provide API to preview the result that the regex applies to sample URLs
   - Change `JiraScopeConfig.RemotelinkRepoPattern` to type `[]CommitUrlPattern`
   ```go
   type CommitUrlPattern struct {
        Pattern string `json:"pattern"`
        Regex   string `json:"regex"`
   }
   ```
   ### Does this close any open issues?
   Closes #4304 
   
   ### Screenshots
   
![image](https://github.com/apache/incubator-devlake/assets/8455907/711d0eac-caaf-4c9f-92d6-f9bf3c3b0024)
   
![image](https://github.com/apache/incubator-devlake/assets/8455907/dcb0b837-7891-44ba-a241-4505717f5717)
   
   
   ### Other Information
   Any other information that is important to this PR.
   


-- 
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