chore: rename project from c2pa-c to c2pa-cpp#188
Conversation
Update project name, documentation URLs, and GitHub Pages links to reflect the upcoming repo rename from c2pa-c to c2pa-cpp. The native C library (libc2pa_c) and Rust FFI package (c2pa-c-ffi) names are intentionally unchanged. Made-with: Cursor
There was a problem hiding this comment.
Ok for the code change, but what I would do is create a new c2pa-cpp repo.
Move this code there.
Archive c2pa-c.
Point people to c2pa-cpp.
So 0 downstream build would break immediately, and people would have to switch when they want updates.
(There are ways to keep the git history).
Or is there any reason to rename this instead of archiving and creating a new one for c2pa-cpp?
scouten-adobe
left a comment
There was a problem hiding this comment.
Yay, happy to see this change!
|
@tmathern in my experience, GitHub is actually very good at tracking project renames (i.e. forwarding requests aimed at the old repo name to the new one), so I expect very few of the kinds of problems you are expecting will happen in practice. If we do archive and restart as you propose, this will actually cause many new problems, to wit:
I'm opposed to that approach for that reason. |
There are repos who pull in this repo through cmakelist. At the very least then, announce it once this is done, and submit the PRs to update the repos when you know they used it. |
Summary
c2pa-ctoc2pa-cpp(the derived${c2pa-c_SOURCE_DIR}variables insrc/andtests/CMakeLists fix automatically)contentauth/c2pa-ctocontentauth/c2pa-cppcontentauth.github.io/c2pa-c/tocontentauth.github.io/c2pa-cpp/Doxyfileproject name and briefscripts/amalgamate.cmakeci-cd/amalgam-build.mdtitle and subdirectory referenceWhat is intentionally NOT changed
libc2pa_c— the native shared library name (exposes the low-level C API, stays as-is)c2pa-c-ffi— the Rust FFI package name (lives in a separate repo)c2pa_cpp— the C++ CMake target name (already correct; this rename brings the repo name into alignment with it)Pre-merge checklist
mainc2pa-cppopensource.contentauthenticity.org/docs/c2pa-cslug)git remote set-url origin https://github.com/contentauth/c2pa-cpp.gitMade with Cursor