Skip to content

Conversation

@obnoxxx
Copy link
Collaborator

@obnoxxx obnoxxx commented May 7, 2025

This mentions that maxbodylength is in number of lines.

Resolves: #90

Checklist

Not all of these might apply to your change but the more you are able to check
the easier it will be to get your contribution merged.

  • CI passes
  • Description of proposed change
  • Documentation (README, docs/, man pages) is updated
  • Existing issue is referenced if there is one
  • Unit tests for the proposed change

@obnoxxx
Copy link
Collaborator Author

obnoxxx commented May 7, 2025

@mrtazz why are no CI checks being run on this PR? is anything wrong with the PR itself?

@mrtazz
Copy link
Collaborator

mrtazz commented May 8, 2025

why are no CI checks being run on this PR? is anything wrong with the PR itself?

hmm that's odd. I don't think this is your PR. I'll take a look. Thanks for spotting that typo and for taking the time to contribute!

update: fixed in #110

This mentions that maxbodylength is in number of lines.

Fixes: checkmake#90

Signed-off-by: Michael Adam <obnox@samba.org>
@obnoxxx obnoxxx force-pushed the improve-maxbodylength-message branch from d2fb38f to 0db4c22 Compare May 8, 2025 12:56
@obnoxxx
Copy link
Collaborator Author

obnoxxx commented May 8, 2025

@mrtazz wrote:

why are no CI checks being run on this PR? is anything wrong with the PR itself?

hmm that's odd. I don't think this is your PR. I'll take a look.

Thanks for confirming my thinking.

Thanks for spotting that typo

To be really petty, I don't consider this a typo but rather a gap in functionality or convenience. It was noted in issue #90 before. My observation was related to me raising #108 when I tried to understand better what the various rules really mean.

and for taking the time to contribute!

Thank you for creating this open-source project!

update: fixed in #110

fantastic! it worked and the CI passed. 😄

@obnoxxx
Copy link
Collaborator Author

obnoxxx commented May 8, 2025

@mrtazz , In addition to the change in this patch, I am thinking to expand the Descriptiontext of the maxbodylength rule to mention lines, in order to make the output of checkmake --list-rules more helpful. What do you think?

@mrtazz
Copy link
Collaborator

mrtazz commented May 8, 2025

yea absolutely, that description has probably been there since the start when I just quickly jotted it down while sketching out the project. I have some additional thoughts related to #108 but will write them down there

@obnoxxx
Copy link
Collaborator Author

obnoxxx commented May 8, 2025

@mrtazz , I could add a commit to update the description to this PR itself or create a separate one (bow or after this is merged). Which do you prefer?

Anyway, I guess I'm just going to create a separate PR depending on this one...

@obnoxxx
Copy link
Collaborator Author

obnoxxx commented May 8, 2025

PR #111 created, depending on this one, with the improved description.

@mrtazz mrtazz merged commit a886214 into checkmake:main May 9, 2025
1 check passed
@obnoxxx obnoxxx deleted the improve-maxbodylength-message branch May 9, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enhancement: Clarify maxbodylength messaging

2 participants