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

Feat/metadata v2 #270

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Feat/metadata v2 #270

wants to merge 6 commits into from

Conversation

cournape
Copy link
Contributor

@cournape cournape commented Jun 14, 2017

This adds a PoC of EggMetadataV2 object model. It does the following:

  • adds new build, test, conflict and provide dependencies
  • consolidate/normalize other attributes
  • every dependency field uses the same format (name, (disjunction1, ..., disjunctionN)) where each disjunction is a tuple of conjunction (as strings), e.g. (">= 1.3.0", "< 3.0.0").

There is no on disk-format specified yet, but the class knows how to create instances from v1 eggs.

Missing:

This new format has the following improvements over 1.x:

1. support for arbitrary version ranges
2. add support for build, test dependencies, conflicts and provides
3. normalize some nomenclature

While not implemented yet, all the 2.0 metadata will be consolidated
into one json file to make parsing easier as well.
@cournape cournape added this to the 0.17.0 milestone Jun 14, 2017
@cournape cournape modified the milestones: 0.17.0, 1.0 Jul 3, 2017
@itziakos
Copy link
Member

I would also like to consider adding support for extras dependencies in the metadata

@itziakos itziakos self-assigned this Dec 20, 2017
@itziakos itziakos removed this from the 1.0 milestone Mar 15, 2019
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.

2 participants