-
Notifications
You must be signed in to change notification settings - Fork 445
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
added addApp and addJava to ash template like in bash template #866
Conversation
Hi @botany, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement: |
Hi Botany, Thanks a lot for trying to implement this :) How do you use the newly introduced functions? I guess you are using the The
I would rather prefer the first option rather then supporting two if there's no good reason. The Regarding the tests, we currently don't have any on our CI running, but please add one that shows things are working in the sbt-test/ash directory. We may also start documenting the features supported by the AshScript here. The Developer Guide describes how to build the documentation and run the tests. |
Hi Nepomuk, Yep, I'm adding them via which explicitly support adding configuration properties via different options.
Unfortunately the way it works for the bash script isn't the way it works for the ash script. You will see that all I did is moved some parts into the ash script and fixed some minor syntax things as sh and bash aren't the same. To my humble opinion it's too late to change this confusing behavior for the bash template cause breaking things for existing users is not good. On the other hand the ash template behavior should probably be similar to the bash template cause essentially they are the same. Regarding tests, I will take a look, tnx. |
My hope was to keep only the relevant stuff in the ash script and not build another big ball of bash. However I see your point. Switching the start script template should not change the behavior. A feature may not be available, but it never should behave differently.
That's a valid point. If a clean up happens, we should perform it for every usage. In short: Code looks okay. Test and docs should be added :) |
Can you take a look at my comment in #878 . Maybe we can fix this along with your pr. |
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.
A test demonstrating a working behavior is missing. There are already test available you can use as an example.
Close in favor of #942 |
Fixes #862
I have only tested manually to generate tested in BusyBox v1.22.1.
If any tests needed for this functionality, please guide me how to do them.