Skip to content

Conversation

@agrasth
Copy link
Collaborator

@agrasth agrasth commented Jun 16, 2025

  • All tests passed. If this feature is not already covered by the tests, I added new tests.
  • All static analysis checks passed.
  • This pull request is on the dev branch.
  • I used gofmt for formatting the code before submitting the pull request.

@agrasth agrasth requested a review from bhanurp June 16, 2025 07:47
@agrasth agrasth changed the title Feature/ruby gems support 2 Feature/ruby gems support Jun 17, 2025
…declared but never used in the code - Clean up leftover code from Ruby implementation
@agrasth agrasth force-pushed the feature/ruby-gems-support-2 branch from d0a2569 to 3568e6b Compare June 18, 2025 07:14
Comment on lines 102 to 108
// CreateGemrc creates a .gemrc configuration file for authentication
func CreateGemrc(repoUrl, username, password string) error {
// TODO: Implement .gemrc creation logic
// This would create a .gemrc file in the user's home directory
// with the appropriate authentication configuration
return fmt.Errorf("CreateGemrc not yet implemented")
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this required since the scope is only to support ruby gems config?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

not needed, have removed it, Thanks

Comment on lines 92 to 100
// RunGemCommand runs a gem command with the provided arguments
func RunGemCommand(args []string) error {
cmd := exec.Command("gem", args...)
output, err := cmd.CombinedOutput()
if err != nil {
return errorutils.CheckErrorf("gem command failed with: %q, output: %s", err, string(output))
}
return nil
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

not valid for the current scope

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah you are right, I have removed that.

@agrasth agrasth force-pushed the feature/ruby-gems-support-2 branch from 4220169 to 476109c Compare June 20, 2025 13:17
@agrasth agrasth requested a review from bhanurp June 22, 2025 08:59
@agrasth agrasth merged commit 6eefa55 into jfrog:main Jun 22, 2025
9 checks passed
@agrasth agrasth added the improvement Automatically generated release notes label Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Automatically generated release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants