Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement 'github' repo support #8

Open
evanplaice opened this issue May 15, 2019 · 0 comments
Open

Implement 'github' repo support #8

evanplaice opened this issue May 15, 2019 · 0 comments
Labels
feature This feature needs to be implemented help wanted Extra attention is needed

Comments

@evanplaice
Copy link
Member

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.

@evanplaice evanplaice added help wanted Extra attention is needed feature This feature needs to be implemented labels May 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This feature needs to be implemented help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant