You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "mindlesscloud (via GitHub)" <gi...@apache.org> on 2023/06/09 15:10:20 UTC

[GitHub] [incubator-devlake] mindlesscloud opened a new pull request, #5423: feat: Jira dev panel regex APIs

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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] abeizn merged pull request #5423: feat: Jira dev panel regex APIs

Posted by "abeizn (via GitHub)" <gi...@apache.org>.
abeizn merged PR #5423:
URL: https://github.com/apache/incubator-devlake/pull/5423


-- 
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: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org