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

Introduce a PlatformPackageDescriptor object #785

Merged
merged 2 commits into from
Apr 2, 2020
Merged

Introduce a PlatformPackageDescriptor object #785

merged 2 commits into from
Apr 2, 2020

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Mar 30, 2020

I'd like to extract more information from the package repository metadata. To facilitate this, I'm introducing an object in place of the current package version value.

For now, I'm introducing it as a backwards-compatible str but this deprecated behavior will be removed in a later change.

I tried to catch every location where we're currently touching the raw package version as it was created during the repository index parsing by flagging __str__ access in the new object, so I'm reasonably confident that I got everything.

I'd like to extract more information from the package repository
metadata. To facilitate this, I'm introducing an object in place of the
current package version value.

For now, I'm introducing it as a backwards-compatible str, but this
deprecated behavior will be removed in a later change.
@cottsay cottsay self-assigned this Mar 30, 2020
@cottsay cottsay marked this pull request as ready for review March 31, 2020 06:20
@cottsay cottsay requested a review from dirk-thomas March 31, 2020 06:21
Copy link
Member

@dirk-thomas dirk-thomas left a comment

Choose a reason for hiding this comment

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

LGTM beside two minor comments.

@cottsay cottsay changed the title Introduce a RepositoryPackageDescriptor object Introduce a PlatformPackageDescriptor object Apr 2, 2020
@cottsay cottsay merged commit 37f6672 into ros-infrastructure:master Apr 2, 2020
@cottsay cottsay deleted the repo_pkg_descriptor branch April 2, 2020 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants