Skip to content

Housekeeping updates and source code formatting files#57

Merged
evan-goode merged 3 commits intorpm-software-management:mainfrom
dcantrell:main
Oct 29, 2025
Merged

Housekeeping updates and source code formatting files#57
evan-goode merged 3 commits intorpm-software-management:mainfrom
dcantrell:main

Conversation

@dcantrell
Copy link
Copy Markdown
Collaborator

Bring over source code formatting configuration from dnf5 and add driver scripts to tools/. Update .mailmap as well.

Will make a separate commit to get the coding format updated across all of the source.

More housekeeping in the project.  This just keeps the git log output
looking nice.

Signed-off-by: Dave Cantrell <dcantrell@redhat.com>
Bring in clang-format and clang-tidy configuration files from dnf5 and
put driver scripts in tools/.  Go ahead and adopt the dnf5 coding
style for this project.

Resolves: SWM-3064

Signed-off-by: Dave Cantrell <dcantrell@redhat.com>
@dcantrell dcantrell requested a review from a team as a code owner October 27, 2025 20:11
@dcantrell dcantrell requested a review from m-blaha October 27, 2025 20:11
Copy link
Copy Markdown
Member

@evan-goode evan-goode left a comment

Choose a reason for hiding this comment

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

Thanks. I never noticed those clang-tidy-changed, clang-format scripts, I always used pre-commit. Could we also bring over (the relevant portions of) .pre-commit-config.yaml from dnf5?

Based off the one from dnf5, stripped of irrelevant parts.

Signed-off-by: Dave Cantrell <dcantrell@redhat.com>
@dcantrell
Copy link
Copy Markdown
Collaborator Author

I use pre-commit too, but I like having the manual driver scripts as well. Added .pre-commit-config.yaml too.

Copy link
Copy Markdown
Member

@m-blaha m-blaha left a comment

Choose a reason for hiding this comment

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

thanks for including also the pre-commit configuration!

@dcantrell dcantrell requested a review from evan-goode October 29, 2025 21:04
Copy link
Copy Markdown
Member

@evan-goode evan-goode left a comment

Choose a reason for hiding this comment

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

Ah, yes. My requested changes. The changes that were requested by me. Evan's requested changes.

@evan-goode evan-goode merged commit 5ea5353 into rpm-software-management:main Oct 29, 2025
1 of 2 checks passed
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.

3 participants