-
Notifications
You must be signed in to change notification settings - Fork 189
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
No CLI parameter to specify installation path directly from command line (unable to use ubuntu-make in chef) #403
Comments
Hey @TomaszDom. That's indeed a good idea! I have only thought about "set the path manually if you don't want to be prompted for the default paths about it". I think this is quite easy to achieve. I'll accept any good PR with tests for that (I don't think I have time to add this feature myself for now, maybe in few weeks). Opening it up for contributions for now, as people can set themselve in chef or such via |
@TomaszDom I agree, additionally with #79 it makes ubuntu-make quite useless :( |
Here's my workaround recipe in chef:
|
@TomaszDom |
My use case does not go beyond accepting the default folder as you can see from my workaround from two months ago. It's an ugly solution to a simple problem, but it works. |
I was trying to figure out how to fix this in umake directly.
Would a command to automatically accept the default path without having to
pass it as a parameter help?
…On Tue 18 Apr 2017, 21:01 TomaszDom, ***@***.***> wrote:
My use case does not go beyond accepting the default folder as you can see
from my workaround from two months ago. It's an ugly solution to a simple
problem, but it works.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#403 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGyLRRWyWa-D-dKJ0SmEj8qn73Unnggbks5rxQihgaJpZM4Lwjv->
.
|
Definitely a switch or something like that would help, e.g. "-y" or "--y", I'd then be able to get rid of that ugly code from production and make it a little more robust (although I haven't had any issues with it so far). If anyone needs a custom installation path in automated environments, they will figure out a workaround like I did or adapt the code found here. |
@TomaszDom I have another workaround that might be simpler, try |
@LyzardKing that would work for me, will try to make some time to test it, thanks! |
Great! Let me know when you test it.
…On 10 Nov 2017 11:38, "Holger" ***@***.***> wrote:
@LyzardKing <https://github.com/lyzardking> that would work for me, will
try to make some time to test it, thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#403 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGyLRdClvrqpJMlrBE9q1fBCKCVY01qeks5s1Ce1gaJpZM4Lwjv->
.
|
Does anyone have a reliable workaround to automatically accept the default installation path when prompted? Specifically for ide eclipse-jee.
I tried using "yes", but then it doesn't set the default installation path at all and installs it into the void. "Expect" also gets confused, what I need is to set the installation path directly:
umake ide eclipse-jee --path "/home/vagrant/.local/share/umake/ide/eclipse-jee"
This would make umake useful in automatic configuration management tools (e.g. chef).
The text was updated successfully, but these errors were encountered: