Skip to content

Automaticlly get available informations from github download links #157

@oxygen-dioxide

Description

@oxygen-dioxide

Description of the new feature/enhancement

When creating a package, if the download link is a github release link, winget-create should autometically get all the available informations from the github repo, including License, PackageUrl, LicenseUrl, PublisherUrl, PublisherSupportUrl and Tags

Proposed technical implementation details (optional)

PackageUrl, LicenseUrl, PublisherUrl, PublisherSupportUrl can be generated from the repo link. For example, if the download link is

https://github.com/<author>/<reponame>/releases/download/<version>/<filename>

Then:

PackageUrl: https://github.com/<author>/<reponame>
LicenseUrl: https://github.com/<author>/<reponame>/LICENSE
PublisherUrl: https://github.com/<author>
PublisherSupportUrl: https://github.com/<author>/<reponame>/issues

License and Tags can be get from github repo page:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    In-PRIssue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions