-
Notifications
You must be signed in to change notification settings - Fork 283
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
refactor(plugin-odap-hermes): rename package, variables ODAP -> SATP #3006
refactor(plugin-odap-hermes): rename package, variables ODAP -> SATP #3006
Conversation
b783cb6
to
55e9298
Compare
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.
@AndreAugusto11 LGTM with comment(s)
- Please update the commit subject line to go like the string I just set the PR title to (
refactor(plugin-odap-hermes): rename package, variables ODAP -> SATP
) this way it's clearer which specific plugin had the renaming done and also that it's not a new feature just a refactor of an existing feature. The reason why I pick on this is the generated release notes which would include it as a new feature but we had it for quite a while!
55e9298
to
2a7b5a7
Compare
@petermetz, that makes much sense. Fixed! Thanks |
2a7b5a7
to
598cbea
Compare
Note: an important takeaway from this PR is that variable names in a package should not be so dependent on the name of the package (e.g., instead of calling a log |
@AndreAugusto11 I agree with what you said, but I can also see why the higher specificity of the naming can help in situations where the code imports from multiple different plugins and then there would be multiple different Note for future: Don't forget to re-request review. I'm only seeing this now because I was going through older messages but it wasn't (still isn't) in my PR review queue. |
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.
LGTM
@AndreAugusto11 Looks good but fix required tests |
ae523b0
to
6ec60d3
Compare
Have a good point there! This is probably more suited to local variable names in function arguments, test files, etc... |
@petermetz @outSH thank you both for your comments!! |
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.
@AndreAugusto11 Plus one to @outSH 's request above! Otherwise LGTM!
Error: yarn codegen script produced version control side-effects: source files have been changed by it that are otherwise are under version control. This means (99% of the time) that you need to run the yarn codegen script locally and then include the changes it makes in your own commit when submitting your pull request.
* renamed every variable from odap to satp * left out CHANGELOG files Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
6ec60d3
to
b76a5e0
Compare
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.
@AndreAugusto11 Thank you for fixing the codegen
check! LGTM
*implement the repository design pattern to make storage technology-agnostic * due to the deprecation of the ipfs package, this allows one to choose another storage * refactoring of the tests and the CBDC example that is based on the SATP * implement the remote log storage as a SQLite database * add post-build instruction to copy knex files to dist/ closes hyperledger-cacti#2984 depends on hyperledger-cacti#3006 Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
*implement the repository design pattern to make storage technology-agnostic * due to the deprecation of the ipfs package, this allows one to choose another storage * refactoring of the tests and the CBDC example that is based on the SATP * implement the remote log storage as a SQLite database * add post-build instruction to copy knex files to dist/ closes hyperledger-cacti#2984 depends on hyperledger-cacti#3006 Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
*implement the repository design pattern to make storage technology-agnostic * due to the deprecation of the ipfs package, this allows one to choose another storage * refactoring of the tests and the CBDC example that is based on the SATP * implement the remote log storage as a SQLite database * add post-build instruction to copy knex files to dist/ closes hyperledger-cacti#2984 depends on hyperledger-cacti#3006 Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
*implement the repository design pattern to make storage technology-agnostic * due to the deprecation of the ipfs package, this allows one to choose another storage * refactoring of the tests and the CBDC example that is based on the SATP * implement the remote log storage as a SQLite database * add post-build instruction to copy knex files to dist/ closes #2984 depends on #3006 Signed-off-by: André Augusto <andre.augusto@tecnico.ulisboa.pt>
Closes #2809
cc @RafaelAPB