-
Notifications
You must be signed in to change notification settings - Fork 30
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
#317: added BuildCommandlet #340
#317: added BuildCommandlet #340
Conversation
added BuildCommandlet added BuildCommandletTest added BuildCommandletTest resources
set npm test to parameterized to enforce windows only
# Conflicts: # cli/src/main/resources/nls/Ide.properties # cli/src/main/resources/nls/Ide_de.properties
added missing val path property to nls files adjusted assertLogMessage (removed parameterized test)
Pull Request Test Coverage Report for Build 9806378442Details
💛 - Coveralls |
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.
Thank you for this PR. Everything seems fine to me.
cli/src/main/java/com/devonfw/tools/ide/commandlet/BuildCommandlet.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/commandlet/BuildCommandlet.java
Outdated
Show resolved
Hide resolved
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.
@jan-vcapgemini thanks for this PR. You did a great job implementing this and especially testing this commandlet with all its scenarios. 👍
However, there is some concern with the CLI properties and related behavior that differs from devonfw-ide. Please have a look at my review comments.
changed PathProperty to multivalued StringPropertery adjusted tests
added build documentation added mvn documentation added npm documentation added yarn documentation
replaced devon with ide
added default build options environment variables and handling added gradle documentation added default options to documentations added test for default options
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.
@jan-vcapgemini Thanks for your update. You did some great improvements 👍
Probably for complex stories I should next time do the reverse-engineering myself and write everything explicitly as requirements and acceptance criteria into the story. Due to lack of time, I created all the commandlet stories via copy&paste with a simple link to the old code and expected the developer to do the reverse-engineering. As it turns out this seems to be more tricky than expected...
Please have a look at my review comments.
cli/src/main/java/com/devonfw/tools/ide/commandlet/BuildCommandlet.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/commandlet/BuildCommandlet.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/variable/IdeVariables.java
Outdated
Show resolved
Hide resolved
cli/src/main/java/com/devonfw/tools/ide/variable/IdeVariables.java
Outdated
Show resolved
Hide resolved
cli/src/test/resources/ide-projects/build/project/settings/ide.properties
Outdated
Show resolved
Hide resolved
# Conflicts: # cli/src/main/java/com/devonfw/tools/ide/variable/IdeVariables.java # cli/src/main/resources/nls/Help.properties # cli/src/main/resources/nls/Help_de.properties
…dlet.java Co-authored-by: Jörg Hohwiller <[email protected]>
added default 'clean install' to mvn build opts added default 'clean dist' to gradle build opts
# Conflicts: # cli/src/main/java/com/devonfw/tools/ide/variable/IdeVariables.java # cli/src/main/resources/nls/Help.properties # cli/src/main/resources/nls/Help_de.properties
removed help adoc files added build.detail to help properties added German build.detail to help_de properties
adjusted default build params for mvn in tests and resources
added TODO with link to issue
adjusted order to fix test
added exception if build path is null
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.
@jan-vcapgemini thanks for your updates. Now you got everything right 👍
Ready for merge.
Fixes: #317
Implements