Skip to content

purl-next: Update FetchCode library for supported ecosystems - Batch 1 #140

Closed
11 of 11 issues completed
Closed

Description

@pombredanne

Update and release FetchCode library to infer PURL download URLs for supported ecosystems - One batch

Activity

  1. moved this to In progress in 00-AboutCodePlanneron Jul 25, 2025
  2. TG1999 commented on Jul 28, 2025

    @TG1999
    Collaborator
  3. TG1999 commented on Jul 29, 2025

    @TG1999
    Collaborator

    This is done now:

    Reference:

    To test this for

    • cargo
    • nuget
    • gem
    • maven
    • github
    • generic
    • golang
    • swift
    • hex
    • pub

    Install packageurl-python library by following the README https://github.com/package-url/packageurl-python/blob/main/README.rst
    and pass the purl of above ecosystems like this

    from packageurl.contrib.purl2url import get_download_url
    purl = "pkg:swift/github.com/Alamofire/Alamofire@5.4.3"
    download_url = get_download_url(purl)
    

    To test this for

    • pypi

    Install fetchcode library by following the README and pass the purl like this

    from fetchcode.download_urls import download_url as get_download_url
    purl = "pkg:pypi/requests@2.31.0"
    download_url = get_download_url(purl)
    
  4. pombredanne commented on Jul 30, 2025

    @pombredanne
    MemberAuthor

    Thanks!

  5. pombredanne commented on Jul 30, 2025

    @pombredanne
    MemberAuthor

    @TG1999 why is pypi special here BTW?

  6. TG1999 commented on Jul 30, 2025

    @TG1999
    Collaborator

    @pombredanne we are making API call for pypi, that's why it is in fetchcode.

    Reference:

  7. moved this from Done to Validated in 00-AboutCodePlanneron Aug 8, 2025
  8. moved this from Validated to In validation in 00-AboutCodePlanneron Aug 11, 2025
  9. moved this from In validation to Validated in 00-AboutCodePlanneron Aug 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions