Skip to content
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

Update changelog with rule changes since 2021 #816

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Conversation

SmilyOrg
Copy link
Member

@SmilyOrg SmilyOrg commented Sep 3, 2024

Quality of the changelog to be validated :)

(For #782)

Copy link

invalid team ID

The team ID in your .zappr.yaml file does not appear to be valid. Please, fix
this before team ID checks will be added back into ComPR's specification check.

You can follow this guideline for help.

@@ -39,7 +39,7 @@ check-rules-duplicates:
fi;

check-rules-incorrects:
@INCORRECT="$$(grep -rnE "(\[[0-9]+\]|\[ +#?[0-9]+ +\])" $(DIRCONTENTS))"; \
@INCORRECT="$$(grep -rnE "(\[[0-9]{1,4}\]|\[ +#?[0-9]+ +\])" $(DIRCONTENTS))"; \
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The number-only commit references were tripping up this check. I made it only validate rules that are 1-4 digits, e.g. [123] and [12] but not [815821].

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A small restriction we should remember in a few years. Would 5 be also acceptable for the problem you like to solve?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 digit rules are still ok, if we get to 5 digits I'll buy you lunch ;)

@ePaul ePaul added the editorial label Sep 3, 2024
chapters/changelog.adoc Outdated Show resolved Hide resolved
@tkrop
Copy link
Member

tkrop commented Sep 17, 2024

👍

@tkrop
Copy link
Member

tkrop commented Sep 17, 2024

@SmilyOrg didn't you also want to push a script on how this can be reproduced?

@SmilyOrg
Copy link
Member Author

@SmilyOrg didn't you also want to push a script on how this can be reproduced?

I will try to clean that up and add it. Meanwhile check out the GHE gist for the first iteration (internal link)

@SmilyOrg
Copy link
Member Author

👍

@SmilyOrg SmilyOrg merged commit 7837d3c into main Sep 18, 2024
4 checks passed
@SmilyOrg SmilyOrg deleted the update-changelog branch September 18, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants