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

Remove ExecName method from Exec interface again #87

Closed
svengreb opened this issue Apr 24, 2021 · 0 comments · Fixed by #88
Closed

Remove ExecName method from Exec interface again #87

svengreb opened this issue Apr 24, 2021 · 0 comments · Fixed by #88

Comments

@svengreb
Copy link
Owner

svengreb commented Apr 24, 2021

In #79 a new ExecName() string method has been added to the Exec interface to improve the way how RunnerExec handles the name of the executable file, but it turns out that this is not useful at all and also breaks the separation of concern between the Task and Runner interfaces.
Therefore the method will be removed again.

@svengreb svengreb added this to the 0.6.0 milestone Apr 24, 2021
@svengreb svengreb self-assigned this Apr 24, 2021
@svengreb svengreb changed the title Remove Name method from Task interface again Remove ExecName method from Exec interface again Apr 24, 2021
svengreb added a commit that referenced this issue Apr 24, 2021
In GH-79 [1] a new `ExecName() string` method has been added to the
`Exec` interface [2] to improve the way how `RunnerExec` [3] handles the
name of the executable file, but it turned out that this is not useful
at all and also broke the separation of concern between the `Task` and
`Runner` interfaces.
Therefore the method has been removed again.

[1]: #79
[2]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#Exec
[3]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#RunnerExec

GH-87
svengreb added a commit that referenced this issue Apr 24, 2021
In GH-79 [1] a new `ExecName() string` method has been added to the
`Exec` interface [2] to improve the way how `RunnerExec` [3] handles the
name of the executable file, but it turned out that this is not useful
at all and also broke the separation of concern between the `Task` and
`Runner` interfaces.
Therefore the method has been removed again.

[1]: #79
[2]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#Exec
[3]: https://pkg.go.dev/github.com/svengreb/wand/pkg/task#RunnerExec

Closes GH-87
@svengreb svengreb removed their assignment Apr 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant