-
Notifications
You must be signed in to change notification settings - Fork 49
fix: add more validations to project attributes #1335
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
Conversation
We can ignore the quality gate failures on security hotspots. Those tests are needed. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #1335 +/- ##
==========================================
+ Coverage 93.87% 93.91% +0.04%
==========================================
Files 318 318
Lines 18667 18742 +75
==========================================
+ Hits 17523 17602 +79
+ Misses 1144 1140 -4
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
The e2e failure is fixed by https://github.com/ansible/eda-qa/pull/474. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Regarding the comment from @mkanoor raw strings r'...'
affects to how the backslashes are interpreted. Here they are escaped so it would not be necessary.
I personally prefer raw strings because it is easier to read and debug and less error prone. I suggest to change it but I won't block the PR for this. Up to you bill.
sonar is complaining about a non covered line |
@Alex-Izquierdo fixed all. Please review again |
There are two sonarqube reports on the "http" urls used in tests, because ("http://git.example.com/repo.git/sub/r2.git", True), # /NOSONAR IMHO either this, or let's ignore the issue altogether (which will show up in case those lines are changed again in the future). |
Now validate project url, branch, and refspec
|
Now validate project url, branch, and refspec
https://issues.redhat.com/browse/AAP-47166