Say we want to run our own lucee version... what w...
# box-products
b
Say we want to run our own lucee version... what would be a good approach? Could it be done with bitbucket repo where we publish our own lucee.jar? Or do we need to publish a valid engine packege with a box.json and engine.war ?
z
i think you need to run your own mini forgebox instance, the ortus team will chime in with the exact details https://www.slideshare.net/ortussolutions/itb2019-forgebox-enterprise-private-software-directory-javier-quintero this is how we automatically generate forgebox builds as part of the Lucee CI process https://github.com/Ortus-Lucee/forgebox-cfengine-publisher out of interest, which of the outstanding issues is motivating using your own custom build?
b
out of interest, which of the outstanding issues is motivating using your own custom build?
These aresome of the issues which prevent a transfer of our codebase from adobe cf to lucee cf LDEV-3652 LDEV-2862 LDEV-3406 LDEV-3410
z
if you are going to do a custom build, how about first filing PRs including test cases? @pothys-mitrahsoft is looking into fixing the test case for https://luceeserver.atlassian.net/browse/LDEV-2862
👍 1
b
I see I need to make a PR against the 6.0 branch. How does it work when we want/need a fix in version 5.3.9 ?
LDEV-2862 already seems to have a test case. Is that correct?
z
yeah and it's being updated
Keep in mind, regarding the JSON stuff, Lucee does handle/preserve types differently to ACF, I think ACF recently improved their serialization, however, some of these are probably WONTFIX
any breaking changes we decide to implement would only go into 6.0
with the QoQ test cases and in general Lucee/CFML checks if the value can be cast to rather than converting to the specified type, same goes with arguments
b
how can I run just 1 unittest ?
for 5.3 just add a return (path contains 2862) here https://github.com/lucee/Lucee/blob/5.3/ant/run-testcases.xml#L169
b
@birdy1980 you don't need a custom forgebox... Just publish your own package on Forgebox with your own cf engine (the docs cover this). So you'd just start with a custom slug like Server start cfengine=my-custom-lucee@1.2.3
b
Thanks @bdw429s I'll look into it 🙂
b
Ok, the package is just the war and box.json in a zip file