Skip to content
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

command_path config parameter not honored #152

Closed
genebean opened this issue May 1, 2024 · 0 comments · Fixed by #153
Closed

command_path config parameter not honored #152

genebean opened this issue May 1, 2024 · 0 comments · Fixed by #153

Comments

@genebean
Copy link
Contributor

genebean commented May 1, 2024

It seems that the config option command_path for r10k is not honored. I tried setting it in version 2.3.0 but the server said exec: "r10k": executable file not found in $PATH, which is actually accurate in that the specified r10k executable is not in my path. I looked through the code and it seems to me that a helper is needed to parse out that config setting. I am working on a PR for this now.

genebean added a commit to genebean/webhook-go that referenced this issue May 1, 2024
Prior to this, the Config struct had a setting under the R10k struct
called CommandPath that could be set in the config file, but was
ignored as both places that would use it were hard coded to instead use
the string `r10k`. This resulted in the application looking in the path
for the r10k binary. A default is set in config.go also, but that seems
to have also been ignored.

This fixes voxpupuli#152
genebean added a commit to genebean/webhook-go that referenced this issue May 7, 2024
Prior to this, the Config struct had a setting under the R10k struct
called CommandPath that could be set in the config file, but was
ignored as both places that would use it were hard coded to instead use
the string `r10k`. This resulted in the application looking in the path
for the r10k binary. A default is set in config.go also, but that seems
to have also been ignored.

This fixes voxpupuli#152
genebean added a commit to genebean/webhook-go that referenced this issue May 7, 2024
Prior to this, the Config struct had a setting under the R10k struct
called CommandPath that could be set in the config file, but was
ignored as both places that would use it were hard coded to instead use
the string `r10k`. This resulted in the application looking in the path
for the r10k binary. A default is set in config.go also, but that seems
to have also been ignored.

This fixes voxpupuli#152
dhollinger pushed a commit that referenced this issue May 8, 2024
Prior to this, the Config struct had a setting under the R10k struct
called CommandPath that could be set in the config file, but was
ignored as both places that would use it were hard coded to instead use
the string `r10k`. This resulted in the application looking in the path
for the r10k binary. A default is set in config.go also, but that seems
to have also been ignored.

This fixes #152
dhollinger pushed a commit that referenced this issue May 8, 2024
Prior to this, the Config struct had a setting under the R10k struct
called CommandPath that could be set in the config file, but was
ignored as both places that would use it were hard coded to instead use
the string `r10k`. This resulted in the application looking in the path
for the r10k binary. A default is set in config.go also, but that seems
to have also been ignored.

This fixes #152
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant