feat(cpp): add standard installation layout and native packaging support - #914
Open
ColinLeeo wants to merge 3 commits into
Open
feat(cpp): add standard installation layout and native packaging support#914ColinLeeo wants to merge 3 commits into
ColinLeeo wants to merge 3 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
The TsFile C++ build currently places its outputs primarily in the build directory. It does not provide a standard installation layout or sufficient metadata for downstream consumers and native package managers.
This pull request introduces a unified installation and packaging mechanism for the TsFile C++ library, command-line tools, headers, and development metadata.
Changes
include/tsfilelibbinlib/cmake/TsFilelib/pkgconfigTsFile::tsfileCMake target.TsFileConfig.cmakeand package version metadata.libtsfile.pcpkg-config file.2.3.21tsfile-cli, allowing an installed prefix to be relocated.4.9.3 <= version < 4.10.0AUTO.packaging/homebrew/tsfile.rbpackaging/README.mdPackage Layout
The native packages are divided into three components:
tsfiletsfile-dev/tsfile-develtsfile-toolstsfile-cliexecutable.CI Artifacts
Debian/Ubuntu packages:
Fedora/RHEL packages:
GitHub Actions artifact names:
Verification
The following checks have been completed:
git diff --checkpasses.tsfile-cli --versionworks from the installed prefix.Follow-up Work
This pull request deliberately preserves the current compatibility header closure to avoid breaking existing C++ and Python consumers.
A separate C++ public API cleanup will introduce a stable
cpp/include/tsfileboundary and gradually remove internal implementation headers from the installation package.