Skip to content

RSS feed for new file uploads to existing packages #2551

@edmorley

Description

@edmorley

Hi!

Currently there are two RSS feeds available (added by #990):

The former allows for monitoring of when a new version of a package is released, however doesn't show when new uploads to an existing package occur - which is a problem, since it's not unusual for files to be uploaded to a package in a staggered manner.

For example:

This causes issues for projects using pip's --require-hashes mode along with tooling that automatically updates dependencies in requirements files (such as https://pyup.io/ ), since:

  1. pyup.io sees the updates.xml RSS feed saying a new package version has been published
  2. a PR is opened updating the requirements file with the new package version and hashes of whatever file uploads exist at that point in time
  3. the tests may or may not pass at that point (depending on if the sdist or an appropriate wheel exists; in the aiohttp case the sdist wasn't uploaded for hours later)
  4. even if the tests pass then, they may break later after the PR was merged, if an appropriate wheel becomes available, since pip prefers wheels over the sdist, and the requirements file will only contain the hash of the sdist

If an RSS feed were available of "40 newest file uploads" or even "40 newest changes of any type, whether that be metadata or uploads", then tools like pyup.io could use it to automatically update the requirements files hashes as uploads occurred (presumably with a slight delay to batch changes).

See:
pyupio/pyup#250

Note: This is different from #1683 / #2165, since they are about a feed for just one package (and I think still only at the releases level, not the uploads level), rather than a feed for all packages site-wide.

CC @jayfk

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions