Skip to content

Add missing fields to PyPI JSON API - #379

Merged
gerrod3 merged 1 commit into
pulp:masterfrom
gerrod3:352
Jun 8, 2021
Merged

Add missing fields to PyPI JSON API#379
gerrod3 merged 1 commit into
pulp:masterfrom
gerrod3:352

Conversation

@gerrod3

@gerrod3 gerrod3 commented Jun 4, 2021

Copy link
Copy Markdown
Contributor

fixes: #352

@gerrod3
gerrod3 force-pushed the 352 branch 3 times, most recently from 2074fd8 to e901236 Compare June 4, 2021 22:27
Comment thread pulp_python/app/models.py Outdated
classifiers = JSONField(default=list)
project_urls = JSONField(default=dict)
description_content_type = models.TextField()
provides_extra = models.TextField()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not 100% sure because the example here doesn't show it, but I believe this can be specified multiple times. That's my interpretation of "multiple-use"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Have you seen any in-the-wild examples?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

No, I haven't found any. This field doesn't seem to be exposed on PyPI, so I have no idea.

@dralley dralley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Apart from the provides_extra field which should be removed, looks good.

@gerrod3
gerrod3 merged commit c0ba483 into pulp:master Jun 8, 2021
@gerrod3
gerrod3 deleted the 352 branch June 8, 2021 20:12
@gerrod3 gerrod3 added this to the 3.4.0 milestone Jun 8, 2021
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.

Add missing fields to PyPi live API info

2 participants