pulsar-edit / package-backend

Pulsar Server Backend for Packages
https://api.pulsar-edit.dev
MIT License
12 stars 11 forks source link

Newly updated packages `tarball_url` won't resolve #110

Closed confused-Techie closed 1 year ago

confused-Techie commented 1 year ago

Requirements

Description of the Change

Seems an unintended side effect from our VCS refactor.

When a new package is published to the backend, the location and name of it's tarball URL is slightly different than what was previously expected. This PR adds support for the old style of tarball location, and the new style. So that either will work and properly be validated and returned to the user once validated.