Skip to content

Implement 'github' repo support #8

@evanplaice

Description

@evanplaice

Implement support for installing the direct source from a repo in src/util/github.js.

There are comments in that file that pinpoint some API endpoints that need to be hit for the relevant issue.

Like NPM, GitHub repo releases will also have a link to a .tgz files and their corresponding shasums.

To install this:

  • figure out which damn version the user wants to install (ie latest or provided version)
  • fetch the latest version or look up the versions and ensure the provided version is valid
  • pull the tag details (ie .tgz uri + shasum)
  • download, verify and unpack the package1
  • update the config

1 The untar includes an override that strips the parent directory from every directory specifier. This may need a flag to enable/disable if GitHub sources aren't wrapped with an outer directory before being tar'd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureThis feature needs to be implementedhelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions