-
Notifications
You must be signed in to change notification settings - Fork 32
Feature/ruby gems support #88
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
…rom packageManagerToRepositoryPackageType mapping - Remove configureRuby function from setup command - Add design documentation - Ruby support now config-only via ruby-config command
…reateGradleBuildFile function in gradle.go (not needed for Ruby) - Revert configureGradle changes in setup.go (not related to Ruby) - Keep only Ruby-specific functionality in ruby.go
…declared but never used in the code - Clean up leftover code from Ruby implementation
d0a2569 to
3568e6b
Compare
artifactory/commands/ruby/ruby.go
Outdated
| // 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") | ||
| } |
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.
is this required since the scope is only to support ruby gems config?
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.
not needed, have removed it, Thanks
artifactory/commands/ruby/ruby.go
Outdated
| // 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 | ||
| } |
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.
not valid for the current scope
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.
yeah you are right, I have removed that.
4220169 to
476109c
Compare
Uh oh!
There was an error while loading. Please reload this page.