Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

plugin install is slow and brittle #119

Open
@lionelvillard

Description

@lionelvillard
Contributor

currently it relies on npm install which has its issues.

In order to speed this up, what about trying to download a distribution package stored in github release. The installation steps would be:

  • run npm view <packagename> repository.url version
  • if url exists, try dowloading `/releases/download//shell-plugin.zip
  • if download succeeded, unzip in the user shell plugin
  • otherwise use npm install

Suggestions?

Activity

starpit

starpit commented on Jan 18, 2018

@starpit
Member

what if the plugin has its own package.json dependencies?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @starpit@lionelvillard

        Issue actions

          `plugin install` is slow and brittle · Issue #119 · ibm-functions/shell