[refactor][cli][PIP-280] Create new pulsar-cli-utils module #20782
[refactor][cli][PIP-280] Create new pulsar-cli-utils module #20782tisonkun merged 23 commits intoapache:masterfrom JooHyukKim:pip280-separate-module
pulsar-cli-utils module #20782Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #20782 +/- ##
=============================================
+ Coverage 36.84% 73.14% +36.30%
- Complexity 12195 32204 +20009
=============================================
Files 1698 1887 +189
Lines 129852 139539 +9687
Branches 14161 15337 +1176
=============================================
+ Hits 47843 102067 +54224
+ Misses 75680 29406 -46274
- Partials 6329 8066 +1737
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
|
/pulsarbot rerun-failure-checks |
|
Re-running the following failed checks
EDIT : Made a PR in to cover OWASP check #20792 |
|
Need #20792 to resolve the OWASP blocker |
|
May I ask for a review when you have time 😆, @tisonkun @BewareMyPower @mattisonchao ? thanks 🙏🏼 |
|
/pulsarbot rerun-failure-checks |
|
#20792 should fixs the OWASP check currently failing, but the suppression turns out to be more difficult than it seems. Any help will be welcome |
|
@JooHyukKim you can now rebase this branch on the fixed master :D |
Co-authored-by: ran <gaoran_10@126.com>
BewareMyPower
left a comment
There was a problem hiding this comment.
Overall LGTM. Just a few comments about the naming.
You use Util for RelativeTimeUtil and ByteUnitUtil and Utils for ValueValidationUtils. Should we use a consistent naming style?
|
/pulsarbot rerun-failure-checks |
1 similar comment
|
/pulsarbot rerun-failure-checks |
tisonkun
left a comment
There was a problem hiding this comment.
LGTM. Thanks for your contribution!
|
@JooHyukKim Maybe you can open a tracking issue to list out the subtasks and finish them one by one. In this way, we can share the same page what is remaining and maybe offer some helps. |
|
@tisonkun Oh yes sounds like a good idea. Will do 👍🏻 |
PIP: #20691
Motivation
As PIP-280 #20691 may span cross module, we need a module to provide CLI related (though mostly
JCommanderatm) isolation. Note thatpulsar-commonwas not considered because it's common (too broad).Modifications
pulsar-cli-utilsConverters for meaurement unit (time,byte) conversionValidators forNote
pulsar-client-toolsmodule #20764Verifying this change
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: https://github.com/JooHyukKim/pulsar/pull/19