Skip to content

Conversation

@zhjwpku
Copy link
Collaborator

@zhjwpku zhjwpku commented Nov 29, 2025

Improve code organization by collecting manifest-related files into a dedicate directory. Writer helpers are renamed with _internal.h suffix to prevent installation, keeping the public API clean.

Improve code organization by collecting manifest-related files.
writer helpers are renamed with _internal.h suffix to prevent
installation, keeping the public API clean.
class ManifestListWriter;
class ManifestReader;
class ManifestWriter;
class ManifestEntryAdapter;
Copy link
Member

Choose a reason for hiding this comment

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

These two classes are not supposed to be used by downstream users. Should we remove them?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Reasonable, removed, I also make the ctor of ManifestWriter and ManifestListWriter private.

# specific language governing permissions and limitations
# under the License.

install_headers(
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to be consistent with CMakeLists.txt?

Copy link
Member

@wgtmac wgtmac 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 refactoring this!

@wgtmac wgtmac merged commit 3691a5c into apache:main Dec 1, 2025
10 checks passed
@zhjwpku zhjwpku deleted the refactor_manifest_related_files branch December 1, 2025 10:40
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.

4 participants