ipm icon indicating copy to clipboard operation
ipm copied to clipboard

zpm load from github and git repository. Using git or download. ssh:protocol.

Open nlzv opened this issue 4 years ago • 2 comments

It would be good zpm would be smart enough to download tar.gz snaphot instead of using git for case https://github.com/$user/$project/archive/$label.tar.gz It is not good idea expect that host has git installed. One might be option what to use git or download tar.gz for installation. Another one might be option which branch or tag to select.load https://github.com/$user/$projec for example load --download --label tag load https://github.com/$user/$project results in download https://github.com/$user/$project/archive/$label.tar.gz If label is not pointed then default is master. Here is related issue to use get github rest api to get list of branched or tags. I don't know details but I suspect that it is possible. Similar issues are for ssh://host/gitrootofproject.

nlzv avatar Apr 09 '21 14:04 nlzv

branches are supported

load https://github.com/user/repository.git
load https://github.com/user/repository.git -b branch-name
       Loads the module described in C:\module\root\path\module.xml in developer mode and with verbose output.

SergeyMi37 avatar Apr 23 '21 18:04 SergeyMi37