-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add JythonScriptEngineFactory #7208
Conversation
openhab#7208 (comment). Signed-off-by: Scott Rushworth <openhab@5iver.com>
41c49d1
to
383be8c
Compare
This will should be merged after I have created a separate package for the helper libraries, as discussed here... openhab#7208 (comment). For now, this was built to test using the helper libraries as a separate bundle. Signed-off-by: Scott Rushworth <openhab@5iver.com>
This will should be merged after I have created a separate package for the helper libraries, as discussed here... openhab#7208 (comment). For now, this was built to test using the helper libraries as a separate bundle. Signed-off-by: Scott Rushworth <openhab@5iver.com>
This will should be merged after I have created a separate package for the helper libraries, as discussed here... openhab#7208 (comment). For now, this was built to test using the helper libraries as a separate bundle. Signed-off-by: Scott Rushworth <openhab@5iver.com>
This will should be merged after I have created a separate package for the helper libraries, as discussed here... openhab#7208 (comment). For now, this was built to test using the helper libraries as a separate bundle. Signed-off-by: Scott Rushworth <openhab@5iver.com>
6028e49
to
6cdb895
Compare
This will should be merged after I have created a separate package for the helper libraries, as discussed here... openhab#7208 (comment). For now, this was built to test using the helper libraries as a separate bundle. Signed-off-by: Scott Rushworth <openhab@5iver.com>
This will should be merged after I have created a separate package for the helper libraries, as discussed here... openhab#7208 (comment). For now, this was built to test using the helper libraries as a separate bundle. Signed-off-by: Scott Rushworth <openhab@5iver.com>
5db9d8f
to
61ab8b9
Compare
This will should be merged after I have created a separate package for the helper libraries, as discussed here... openhab#7208 (comment). For now, this was built to test using the helper libraries as a separate bundle. Signed-off-by: Scott Rushworth <openhab@5iver.com>
d98ea61
to
cc01e06
Compare
This will should be merged after I have created a separate package for the helper libraries, as discussed here... openhab#7208 (comment). For now, this was built to test using the helper libraries as a separate bundle. Signed-off-by: Scott Rushworth <openhab@5iver.com>
ab745e2
to
a6e4b54
Compare
a6e4b54
to
a4f9a91
Compare
a4f9a91
to
6951449
Compare
Signed-off-by: Scott Rushworth <openhab@5iver.com>
Signed-off-by: Scott Rushworth <openhab@5iver.com>
Signed-off-by: Scott Rushworth <openhab@5iver.com>
7db1aa8
to
625cb00
Compare
@cweitkamp, thank you again for the review! It is very nice to see this building properly! I think I have made all of your suggested changes, except for removing the bnd file, which I believe is necessary. |
Signed-off-by: Scott Rushworth <openhab@5iver.com>
Travis tests were successfulHey @openhab-5iver, |
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.
Alright. I tested it and it is working. From my side an approval.
We now have to reach an agreement on the namespace in openhab/openhab-core#1319.
Yes, there is the question of the namespace, and also whether the helper libraries need to be included with the ScriptEngineFactories. I've provided as much of an argument as I can muster for the namespace that I used here (I have several more SEFs in queue!) and why it would be best to keep helper libraries separated from the SEFs. It would be very much appreciated if you could weigh in on these in 1319! Thanks again for the review! If you are interested in an addon for the Jython helper libraries, #7210 also needs reviewing 🙂. |
Honestly, there is not really a question on this. Add-ons in this repo have to follow the naming convention My suggestion for this PR was hence |
There are many more ScriptEngineFactory add-ons to submit, possibly some more helper library add-ons, but I would much rather work on a scripting API than helper libraries for each scripting language, and there are many community helper libraries that could be made into add-ons. Putting them all into this namespace will be ugly and difficult to manage, as I pointed out in openhab/openhab-core#1319 (comment). However, I will accept whatever namespace you force me to use in order to move this PR forward and to finally get it merged into 2.5.x. I suggest then to just take out the separators from the proposal I made three months ago...
|
I have the feeling that we talk about very different things and thus do not find to a common understanding here - see my comment on openhab/openhab-core#1319 (comment). |
Travis tests have failedHey @openhab-5iver, |
Automatic code migration to openHAB 3 succeeded. The resulting code can be found at https://ci.openhab.org/job/openHAB-Addons-Migration/79/artifact/bundles/. You can download the migrated code from there and create a new PR against the master branch of the openhab-addons repo to contribute it for being included in openHAB 3.x. Please see this issue about the details on how to proceed with your existing PR. |
@openhab-5iver Did you port this PR against the |
This pull request adds functionality for a JythonScriptEngineFactory and replaces openhab/openhab-core#1253. This PR only includes Jython 2.7.2 without any helper libraries, which have been submitted as a separate addon (#7210).
Signed-off-by: Scott Rushworth openhab@5iver.com