-
Notifications
You must be signed in to change notification settings - Fork 28
[cherrypick] 253 introducing pom for internal dependencies #828
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
base: 253
Are you sure you want to change the base?
[cherrypick] 253 introducing pom for internal dependencies #828
Conversation
* ✨ QD-11135 Add intellij-report-converter as downloadable from maven repo * ✨ QD-11135 Removed last traces of intellij-report-converter from TC * ✨ QD-11135 Moving resource dependencies to pom.xml to allow dependabot to take care of updates * ✨ QD-11135 Added comment explaining the pom.xml file * ✨ QD-11135 Co-pilot code review (cherry picked from commit 6631e73)
…dates (#823) * ⬆️ QD-12983: Bump the dependencies group across 1 directory with 2 updates Bumps the dependencies group with 2 updates in the /internal/tooling directory: org.jetbrains.qodana:publisher-cli and org.jetbrains.qodana:qodana-fuser. Updates `org.jetbrains.qodana:publisher-cli` from 3.0.11 to 3.0.12 Updates `org.jetbrains.qodana:qodana-fuser` from 1.0.26 to 1.0.28 --- updated-dependencies: - dependency-name: org.jetbrains.qodana:publisher-cli dependency-version: 3.0.12 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: org.jetbrains.qodana:qodana-fuser dependency-version: 1.0.28 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * rerun checks --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Andrzejewski <[email protected]> (cherry picked from commit 76061b3)
… 0.11.76 to 0.11.76.1 in /internal/tooling in the dependencies group (#824) * ⬆️ QD-12983: Bump org.jetbrains.qodana:intellij-report-converter Bumps the dependencies group in /internal/tooling with 1 update: org.jetbrains.qodana:intellij-report-converter. Updates `org.jetbrains.qodana:intellij-report-converter` from 0.11.76 to 0.11.76.1 --- updated-dependencies: - dependency-name: org.jetbrains.qodana:intellij-report-converter dependency-version: 0.11.76.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] <[email protected]> * rerun checks --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jakub Andrzejewski <[email protected]> (cherry picked from commit e6de200)
Qodana for Go36 new problems were found
☁️ View the detailed Qodana report Contact Qodana teamContact us at [email protected]
|
PetrovMikhail
left a comment
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
tooling/download-resource.go
Outdated
| } | ||
|
|
||
| func downloadFile(url, dest string) error { | ||
| resp, err := http.Get(url) |
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.
Shouldn't we use a timeout? The Get method can hang indefinitely
tooling/download-resource.go
Outdated
| dep.Version, | ||
| ) | ||
|
|
||
| destFile := filepath.Join(".", dep.ArtifactID+".jar") |
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.
It’s better to sanitize ArtifactID (and other path-related fields like GroupID or Version) to prevent potential Path Traversal. While not critical in our current setup, security team will likely flag this during the next review
Pull Request Details
Merge pom.xml versioning for internal dependencies to 253
Types of changes
Checklist