-
Notifications
You must be signed in to change notification settings - Fork 48
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
Introducing node.js to get all features demonstrated in the project. #24
Conversation
Thanks for the PR @AnselmHa! I'm currently swamped with other matters, but I will review this PR as soon as I have some availability. |
Ok, thanks. I'm preparing a second one, maybe you find time for both then. |
…eration are now also unchanged after generation.
…eration are now also unchanged after generation. - Enabled again "RenameFileCodeWritern to rename existing files"
Ideally these would be submitted as two separate PRs to be reviewed and merged individually. I can review/test these two new features simultaneously if you prefer since they're currently together on your branch, but going forward it would be best to submit this type of thing as two separate. |
I agree. I was not able to two part two without part one. Next one is separated :) |
Reviewing this now. Can you please help me understand the benefit of this new approach vs. the previous approach? I agree that some folks may be pretty familiar with doing things from node, but the overall execution of the tool is already pretty simple - build the jar with a single maven command (all AEM devs already have maven), copy the jar to your project, and configure the JSON file. My main concerns with what we'd have with this PR:
If node is truly buying us big benefits vs. the current usage, I'd entertain a discussion of whether or not it is uniformly better and should become the new way for everyone. Otherwise, if this is just a personal preference that is different but not necessarily better than the current usage I think the node build option would more appropriately remain in a fork. Side note, if you want to create a separate PR for the code that prevents file renaming if the generated file has not changed, I can definitely review that one while this issue is being discussed. |
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.
Setting review to "request changes" while we discuss.
Thanks for taking time to discuss this. I guess we talk here about the perspective of the generator and different use cases within the README.md.
Long story short, I changed the following:
|
@HitmanInWis did you found time to discuss the nodejs integration. In the meantime I added more templating functions... I don't know if this is the way you like too enhance the templating possibilities therefore I added it to same branch so yo�u can test it easily all together. If you like the change I can separate it. |
Hi @AnselmHa. I've been absolutely buried lately, so trying to fit in reviews when I can. I will get to these, just can't promise exactly when. However, the best thing you could do would be to separate your changes (now 3) into separate pull requests, because some of the minor changes are easier to approve/merge. I know that's a bit more work on your end to separate these features back out, but generally when submitting features to an open source project it is best to have one pull request per feature. Do you think that's something you can do? |
@HitmanInWis yes, of course. I don't how if you are willing to bring this in the project. And there are some dependencies between the changes, so I will split them when I now what you like. Would that be ok with you? |
Here's the co-mingled features I'm seeing in this PR.
Though code cleanup can be good, it makes some of these incremental changes more difficult to validate and keep separate. It might make sense to have a separate PR or even a couple for #5, with no other changes, as prep before doing the rest of these. Lastly, for your feature #4, I believe a simpler version of this in PR #26 is going to be merged soon, so you may want to wait for that to avoid crazy merge conflicts. |
@HitmanInWis ok:
|
Closing this PR in anticipation of separate PRs for the different features. |
No description provided.