Skip to content

Comments

Maven Auto Fix#1064

Open
orto17 wants to merge 9 commits intojfrog:v3_erfrom
orto17:maven-fix
Open

Maven Auto Fix#1064
orto17 wants to merge 9 commits intojfrog:v3_erfrom
orto17:maven-fix

Conversation

@orto17
Copy link
Contributor

@orto17 orto17 commented Feb 18, 2026

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.
  • Update documentation about new features / new supported technologies

@orto17 orto17 added new feature Automatically generated release notes safe to test Approve running integration tests on a pull request labels Feb 18, 2026
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Feb 18, 2026
@orto17 orto17 requested a review from eranturgeman February 18, 2026 10:54
@orto17 orto17 added the safe to test Approve running integration tests on a pull request label Feb 18, 2026
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Feb 18, 2026
Copy link
Contributor

@attiasas attiasas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!, take a look at my comments.

  1. consider fixing linter issues
  2. consider adding more test cases to expand coverage

@eranturgeman eranturgeman added improvement Automatically generated release notes and removed improvement Automatically generated release notes labels Feb 22, 2026
Copy link
Collaborator

@eranturgeman eranturgeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my comments

# Conflicts:
#	packageupdaters/commonpackageupdater_test.go
#	scanrepository/scanrepository.go
@orto17 orto17 added the safe to test Approve running integration tests on a pull request label Feb 24, 2026
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Feb 24, 2026
@orto17 orto17 added the safe to test Approve running integration tests on a pull request label Feb 24, 2026
@github-actions github-actions bot removed the safe to test Approve running integration tests on a pull request label Feb 24, 2026
@github-actions
Copy link
Contributor

👍 Frogbot scanned this pull request and did not find any new security issues.


}
// Working buffer for the update chain. Each update returns a new slice (e.g. regexp.ReplaceAll),
// so we never mutate the original content. No backup or revert—we only write to the file on success.
currentContent := content
Copy link
Collaborator

@eranturgeman eranturgeman Feb 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can simply work on 'content' as 'currentContent := content' simply creates a pointer to 'content', but if you still want to have it for clearer naming you can leave it

Copy link
Collaborator

@eranturgeman eranturgeman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! please see failing test in Package Updaters Tests (TestUpdateDependency/maven-direct-dep)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new feature Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants