fetter-io / fetter-rs

System-wide Python package discovery, validation, and allow-listing
2 stars 0 forks source link

`DirectURL.get_url_origin` should return both revision and commit_id if possible #22

Closed flexatone closed 1 month ago

flexatone commented 1 month ago

The DepSpec URL might have both a commit_id and a requested_revision; when validating to a URL from a DepSpec, compare DepSpec URL to both requested revision and version number.