Git Product home page Git Product logo

ujpm's People

Contributors

evanplaice avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ujpm's Issues

Add a 'list' command?

Should a command be added to list the available verisons. Preferably with a filter for different version ranges.

Add 'unpack' tests

I have no idea how to mock the buffer or a http request that returns a buffer. Need to do more research on this.

Add 'rm' tests

Mock the filesystem using 'mock-fs'. Shouldn't be any more difficult than the 'config' tests.

Implement 'github' repo support

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.

Add 'parse' tests

Add test to verify the input is being properly parsed into all it's useful properties.

Add 'github' package support

Blocked: Need access to a repo that has GitHub packages published, or need access to publish GitHub packages

Like the title says, implement package installation support for the new GitHub package format.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.