Skip to content

support curation for Swift packages #29944

@viveksahu26

Description

@viveksahu26

Is there any plan to support Swift packages as a harvest source in ClearlyDefined?

I tried to curate data for the following PURL:
pkg:swift/github.com/apple/swift-protobuf@1.31.1:

curl -X GET "https://api.clearlydefined.io/definitions/syft/github.com/apple/swift-protobuf/1.31.1" -H "accept: */*" | jq .

The response was:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    74  100    74    0     0     39      0  0:00:01  0:00:01 --:--:--    39
{
  "error": {
    "code": "500",
    "message": "An error has occurred",
    "innererror": {}
  }
}

From the Adding a Harvest source, I see support for ecosystems like npm, maven, pypi, nuget, git, etc., but I don’t see Swift listed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions