-
Notifications
You must be signed in to change notification settings - Fork 285
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
fix(connector-corda): codegen missing prior removal of files #1559
Labels
bug
Something isn't working
Corda
dependencies
Pull requests that update a dependency file
P4
Priority 4: Low
Comments
petermetz
added
bug
Something isn't working
Corda
dependencies
Pull requests that update a dependency file
P4
Priority 4: Low
labels
Nov 23, 2021
elenaizaguirre
added a commit
to elenaizaguirre/cactus
that referenced
this issue
Nov 23, 2021
folders in connector-corda. call this new script in generate-server script, before call openapi-generator-cli Closes: hyperledger-cacti#1559 Signed-off-by: Elena Izaguirre <e.izaguirre.equiza@accenture.com>
elenaizaguirre
added a commit
to elenaizaguirre/cactus
that referenced
this issue
Nov 23, 2021
generate-server script calls this new script before call openapi-generator-cli Closes: hyperledger-cacti#1559 Signed-off-by: Elena Izaguirre <e.izaguirre.equiza@accenture.com>
elenaizaguirre
added a commit
to elenaizaguirre/cactus
that referenced
this issue
Nov 26, 2021
added new pattern to 'clean' script to remove autogenerated files from corda main-server Closes: hyperledger-cacti#1559 Signed-off-by: Elena Izaguirre <e.izaguirre.equiza@accenture.com>
elenaizaguirre
added a commit
to elenaizaguirre/cactus
that referenced
this issue
Nov 29, 2021
added new pattern to 'clean' script to remove autogenerated files from corda main-server Closes: hyperledger-cacti#1559 Signed-off-by: Elena Izaguirre <e.izaguirre.equiza@accenture.com>
elenaizaguirre
added a commit
to elenaizaguirre/cactus
that referenced
this issue
Dec 1, 2021
added new pattern to 'clean' script to remove autogenerated files from corda main-server Closes: hyperledger-cacti#1559 Signed-off-by: Elena Izaguirre <e.izaguirre.equiza@accenture.com>
petermetz
pushed a commit
that referenced
this issue
Dec 1, 2021
added new pattern to 'clean' script to remove autogenerated files from corda main-server Closes: #1559 Signed-off-by: Elena Izaguirre <e.izaguirre.equiza@accenture.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
Corda
dependencies
Pull requests that update a dependency file
P4
Priority 4: Low
Describe the bug
Based on this discussion 1 with @elenaizaguirre it seems like the files are not being deleted prior to them being regenerated which most likely lead to the strange situation we've found ourselves where files that are no longer being generated by the generator are still hanging around in/under version control simply because they were never deleted.
To Reproduce
Delete the codegen kotlin code, run a build and observe that there is a git diff which there should be none if this was working fine.
Expected behavior
Deleting generated code and then running the build should always produce equivalent, consistent code.
Hyperledger Cactus release version or commit (git rev-parse --short HEAD):
1.0.0-rc.2
Hyperledger Cactus Plugins/Connectors Used
Additional context
Came up during: #1294
more specifically
#1294 (comment)
The text was updated successfully, but these errors were encountered: