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

Feature/metadata #3283

Closed
wants to merge 2 commits into from
Closed

Conversation

memsharded
Copy link
Member

No description provided.

@memsharded memsharded added this to the 2.0.8 milestone Jun 27, 2023
- If you are constantly downloading metadata in many of your ``install`` operations, that might indicate an abuse of the system. Metadata retrieval should be way less common than ``install`` operations.
- Package usage shouldn't rely on metadata, if normal consumption of a package makes the metadata mandatory, then this metadata should be part of the package instead.
- If there are many small files, it might be necessary to zip those files to avoid excessive upload and download time.
- As metadata will not be downloaded by default, it will not be promoted by default in ``conan download`` + ``conan upload`` operations. The recommended way to run a server-server promotion (copy) is using the server tools, and guaranteeing that the metadata folders are copied too.

Choose a reason for hiding this comment

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

Will metadata files also integrate with Artifactory's BuildInfo feature?

Might get tricky if metadata files are added later.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not at this moment. The generation of "modern" BuildInfo has just landed in the Conan extensions https://github.com/conan-io/conan-extensions repository, and will likely require some maturing too. Metadata is a completely new feature, that changes some core management of artifacts by Conan. It is just too early to try to make both things play together. It might not be even possible, as you say, because the capability of being able to add and remove metadata files goes against the declaration stored in a BuildInfo. In other words, the "BuildInfo" is information of built artifacts, but metadata are not build artifacts, but that, metadata, and not covered by BuildInfo. We will see about that later down the road.

@czoido czoido modified the milestones: 2.0.8, 2.0.10 Jul 24, 2023
@czoido czoido modified the milestones: 2.0.10, 2.0.11 Aug 29, 2023
@czoido czoido modified the milestones: 2.0.11, 2.0.12 Sep 15, 2023
@czoido czoido modified the milestones: 2.0.12, 2.0.13, 2.0.14 Sep 26, 2023
@memsharded memsharded mentioned this pull request Oct 17, 2023
@memsharded
Copy link
Member Author

Superseded by #3425

@memsharded memsharded closed this Oct 17, 2023
@memsharded memsharded deleted the feature/metadata branch October 17, 2023 16:19
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.

3 participants