Yarn: Support for installing packages using git+ssh directly from Github repos

Created on 12 Oct 2016  路  5Comments  路  Source: yarnpkg/yarn

Do you want to request a _feature_ or report a _bug_?

  • Feature

What is the current behavior?

  • Unable to install packages from github repos using git+ssh protocol

If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?

  • I should be able to install packages using package names, packages github URL using both _https_ and _git+ssh_ protocols

Please mention your node.js, yarn and operating system version.

  • Node 6.4, Yarn v0.15.1, Mac OSX El Capitan

Most helpful comment

Without that being supported it is not usable for my company since we have lots of packages that are internal and only hosted on a git server.

All 5 comments

Without that being supported it is not usable for my company since we have lots of packages that are internal and only hosted on a git server.

+1
Same issue, please also include support for git+https protocol

@Itrulia I totally agree because even for us its the same scenario. Its important to provide this support for widespread commercial adoption. cc: @wycats @kittens @paulirish

This is a deal breaker for me as well. As an added request: AFAIK npm currently fetches git packages every single time, regardless of locking it to a specific commit. This is highly undesirable, so Yarn should also check a local cache and/or skip urls locked to a commit SHA1 on subsequent install/update calls.

Was this page helpful?
0 / 5 - 0 ratings