-
Notifications
You must be signed in to change notification settings - Fork 25
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
Distribution, packaging #3
Comments
Originally the intent was to just provide something simple that people can copy into their codebases and change to taste. We could however do this too. In that case you're right we probably want a better name. How about I have vcpkg installed on my computer, but I've never used it before. Once we pick a name and add the necessary configs, if you tell me what commands I need to run to register the package, I'll do it. Both shared and static are fine. If you send a PR with a cmake config and write a github action that runs it, I'll merge it and maintain it. |
Sounds good to me. I can start with creating a package for Are you sure about providing/enabling a shared library? That will require the aforementioned export macros, SO version management to denote ABI changes and the usual shared library stuff. |
Let me do the registration. You don't want to own the maintenance burden for my projects. Good point. How about we start with only static? I assume we can always do shared later on. It's better to give contributors more freedom in the beginning to change things, wouldn't you agree? |
+1. I would love to add it as a package on ConanCenter as well. Regarding adding shared library support - you can start out simple and only support non-Windows platforms initially, which don't require export macros, and soname versioning can be tackled later as well (although adding it in CMake is as simple as setting a SOVERSION property on the library). |
Yes, you very much do if you follow platform guidelines: https://gcc.gnu.org/wiki/Visibility |
@friendlyanon Thanks for discovering @valgur I'm happy to support that package manager too. Would it be possible for me to automate this work GitHub Actions? If you could get me setup with a PR that automates publishing there, then I'll commit myself to maintaining it going forward. |
Conan and vcpkg are both centralized by default. Conan uses Conan Center Index and vcpkg uses the git repo it comes with by default. Packaging something for either requires submitting a recipe (Conan) or a port (vcpkg). This requires a PR with someone reviewing and merging that. There is no automatic package creation you can script with GitHub Actions. |
OK we now have:
|
This is more of a TODO list to make the project distributable:
double-conversion
(https://repology.org/project/double-conversion/versions)jtckdint
(https://repology.org/projects/?search=jtckdint)Vendored source diverges from upstream since 60a4a04
jt-json-cpp
?jsoncpp
is "taken" https://vcpkg.link/ports/jsoncpp)The text was updated successfully, but these errors were encountered: