You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all. I have started working on this. This is my first time ever trying to contribute to an open-source library. Please forgive my ignorance if there is any issue with commenting here. Just to make sure, I have to complete the checklist above with five items, then follow the steps on Contributing page?
Thanks,
-Ari
Just to make sure, I have to complete the checklist above with five items
Hi Ari, that is correct. It's not enough to only modify bmqu::AlignedPrinter class API, because this class is used in several places, and the project build will be broken if we introduce a mismatch between class API and its usage in other components. If we merge a PR with a partial change, the build will be broken for everyone, and this is not good.
then follow the steps on Contributing page?
Yes. The most common problem on new contributions is DCO check. You need to ensure that you add DCO signature to all of your commits with -s flag: git commit -s -m "<My feature>"
Is your feature request related to a problem?
bmqu::AlignedPrinter
class has some problems:bsl::vector<const char*>
argument which is strange. The conventional way is to passbsl::vector<bsl::string>
.const char*
length,bsl::strlen
is used.blazingmq/src/groups/bmq/bmqu/bmqu_alignedprinter.h
Line 92 in e19ff33
Describe the solution you'd like
Refactor
bmqu::AlignedPrinter
, so:bmqu::AlignedPrinter
constructor expectsbsl::string
, notconst char*
bmqu::AlignedPrinter
also stores these strings as aconst bsl::vector<bsl::string>
field (might be a pointer, might be a reference)d_fields_p
is not NULL in constructorAlignedPrinter::AlignedPrinter
or initialize this field as a referenceAlternatives you considered
No response
The text was updated successfully, but these errors were encountered: