-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(tibuild): fix src image checking regexp #233
Conversation
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes look straightforward, but it's important to ensure that the modified regular expression works correctly in all scenarios. |
Signed-off-by: wuhuizuo <[email protected]>
5982166
to
2bbc581
Compare
Key Changes:
Potential Problems:
Fixing Suggestions:
By addressing these suggestions, you can ensure that the changes in the pull request are robust, well-tested, and well-documented. |
…ession for hostnames Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes look reasonable, but thorough testing and refinement of the regular expressions are recommended to ensure accurate matching of URLs. |
/review does it works for image url: |
Review of Pull Request
FeedbackThe changes to the regular expressions seem appropriate and should now match URLs from the specified domains. However, to verify if the updated regular expression works for the provided image URL, manual testing is recommended. The developer should consider testing the updated regular expression against a variety of URLs, including the one mentioned by the user, to ensure that the matching criteria are working as expected. If manual testing confirms that the regular expression is working correctly for the provided image URL and other relevant cases, the changes can be approved for merging into the codebase. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wuhuizuo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: wuhuizuo <[email protected]>
Key Changes:
Potential Problems:
Fixing Suggestions:
Overall, the changes look good, but thorough testing is recommended to ensure the regular expressions are working as intended. |
This pull request includes a modification to the regular expression used to match source image URLs in the
artifact_helper.go
file. The change expands the scope of acceptable URLs to include additional domains.Changes to regular expression:
tibuild/pkg/rest/service/artifact_helper.go
: Updated thesource_image_reg
regular expression to match URLs fromqa
,pingcap
, andtikv
domains.