simplify naming
Description
Binary names and paths were too long.
This PR:
- interchain-security-cd => consumer
- interchain-security-cdd => democracy
- interchain-security-pd => provider
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.
I have...
- [x] Included the correct type prefix in the PR title
- [x] Added
!to the type prefix if API or client breaking change - [x] Targeted the correct branch (see PR Targeting)
- [ ] Provided a link to the relevant issue or specification
- [ ] Followed the guidelines for building SDK modules
- [ ] Included the necessary unit and integration tests
- [ ] Added a changelog entry to
CHANGELOG.md - [ ] Included comments for documenting Go code
- [ ] Updated the relevant documentation or specification
- [x] Reviewed "Files changed" and left comments if necessary
- [x] Confirmed all CI checks have passed
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.
I have...
- [ ] confirmed the correct type prefix in the PR title
- [ ] confirmed
!in the type prefix if API or client breaking change - [ ] confirmed all author checklist items have been addressed
- [ ] reviewed state machine logic
- [ ] reviewed API design and naming
- [ ] reviewed documentation is accurate
- [ ] reviewed tests and test coverage
This just changes the binary names? I like the idea
yep. I just need to clean it up and such, should be able to get to it tomorrow.
It is inspired by typing:
interchain-security-pd
too many times
:)
I'm getting test failures on this even after re-running. Can you check that the e2e tests all have the updated binary names?
ah that's why it is still on draft.
hmmmm I thought i had this working....
@jtremback please note that we could debug this directly on github, if we changed the automated tests to use the --verbose flag as seen in #867
that would:
- prioritize human time over machine time
- make agreeing on the state of bugs easier
- reduce overall time spent to diagnose and fix issues
... idk exactly how things work at Informal but at Notional we've noticed very consistently that machines are dramatically cheaper than the people who program them.
For reference, 5/5 vietnamese undersea cables have some kind of fault right now.
Thus, i am still downloading docker containers.
LGTM but looks like some merge conflicts snuck in
Set this to draft, but once the merge conflicts are fixed I'm happy to review
hey really sorry guys!
this one has been a while 1 moment while I do the conflict resolution dance.
There's an sdk pattern that binary names have a d appended, was there reasoning around avoiding that pattern?
Ex: providerd or provider-d
@smarshall-spitzbart it's broken inconssitently throughout the ecosystem. I don't mind appending d's to the names though, and prefer consistency, so I'll mark this as draft till that's fixed.
If we're taking the time to change/review the binary names I'd prefer we do it the proper way with the d appended, thanks @faddat
Gonna add the d now...
Not sure that changing "democracy consumer" to "democracy" is beneficial or makes things clearer.
yeah the idea was def to make binary names shorter, any other name changes, were done for the sake of consistency is there a specific instance where this is an issue?
Happy to address
https://github.com/cosmos/interchain-security/issues?q=is%3Aopen+is%3Aissue+label%3Arefactoring
🖖
thank you
Merge conflicts snuck in again, can merge once it's fixed though
@jtremback hey sorry about the delay here. Baby gap sir.
I've merged main, hopefully this fixes the cometmocktest.
@faddat Could you please also add the compiler/linker flags (ldflags) during the build call so that we can also close https://github.com/cosmos/interchain-security/issues/1035? We decided against goreleaser for ICS, but it would be useful to populate those fields for the version CLI command.
Closing this as it is out of sync with main. It's easier to redo the PR than to rebase.