[jira] [Commented] (OFBIZ-7808) Add Gradle Interactive tasks

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-7808) Add Gradle Interactive tasks

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-7808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393394#comment-15393394 ]

Taher Alkhateeb commented on OFBIZ-7808:
----------------------------------------

Thank you, please don't assume anything about my background and keep focus on the technical discussion.

My premise is as follows:
- interactive tasks are convenience tasks to reduce intimidation for beginners. That is the only reason for their existence as they server no other purpose and cannot be automated and add to the brittleness
- Changing the database from derby to another database is a more advanced task. Hence the person making the switch is capable easily of passing simple flags like -PuserName=whatever
- Many tasks by default do not require inputting data readers and I see no difference in particular to the createTenant task. I would also argue it is much more complex to figure out _what_ data readers to load than something trivial and minor as figuring out the syntax on how to pass a flag by typing -PtenantReaders=ext,demo,seed (which is also well documented in README.md)

Hence, and in reference to my above comments, the interactive tasks add no value as they just take on mandatory flag and pass it, stopping the build process in the middle and adding unnecessary code bloat.

> Add Gradle Interactive tasks
> ----------------------------
>
>                 Key: OFBIZ-7808
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-7808
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>             Fix For: Upcoming Branch
>
>
> As explained in OFBIZ-7772 and OFBIZ-7773 we want to test the possiblity to add Gradle Interactive tasks using https://github.com/tkruse/gradle-groovysh-plugin
> The idea is to have a good general solution to allow users to not feel a funtional regression with the 3 interactive tasks we had before, namely
> create-component
> create-admin-user-login
> create-tenant and all tasks it depends on



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)