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

Mass-rename all relevant sources to a C++ extension #3316

Open
pmatilai opened this issue Sep 19, 2024 · 0 comments
Open

Mass-rename all relevant sources to a C++ extension #3316

pmatilai opened this issue Sep 19, 2024 · 0 comments
Labels
build Build-system related cleanup

Comments

@pmatilai
Copy link
Member

4.20 release is nigh (#3271) so as outlined in #3103, the time to do a mass-rename is closing in, this is simply a ticket to allow tracking + planning it. And maybe discuss a bit too.

The main "issue" here is deciding which suffix to use. From what I've seen, .cpp looks like the most common one for modern c++ code and would be in line with dnf5 which doesn't hurt either.

The other question is headers: we'll be dealing with plain C headers from here to eternity, so it seems like it'd be helpful to differentiate what is meant for C vs C++ consumption. .hpp seems like a consisntent and logical suffix there, and also what dnf5 uses. Not that it dictates in any way, but doesn't hurt either because it's a neighbor team really.

@pmatilai pmatilai added cleanup build Build-system related labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build-system related cleanup
Projects
Status: Backlog
Development

No branches or pull requests

1 participant