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

Allow installing from GitHub branches #1

Open
ngokevin opened this issue Aug 18, 2016 · 0 comments
Open

Allow installing from GitHub branches #1

ngokevin opened this issue Aug 18, 2016 · 0 comments

Comments

@ngokevin
Copy link

Currently, attempting to install a GitHub branch will break because multidep uses the version name for the directory name. GitHub install looks like user/repo which has a slash, which will break.

I propose specifying an array. The first value is the install target, the second is the directory suffix.

“versions”: {
  // Will be installed at .multidep/mypackage-thatbranch
  “mypackage”: [[“myuser/mypackage#thisbranch”, “thatbranch"]]
}

My use case is to use multidep for installing versioned documentation. The documentation is versioned on NPM, but would like to retroactively apply documentation updates using GitHub branches.

I'm going to work on this now. Let me know if you have suggestions!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant