Pm2: PM2-Deploy w/ --depth=1 optimization

Created on 18 Jan 2017  路  3Comments  路  Source: Unitech/pm2

Feature request

hi. it would be nice if the deploy via pm2 will take advange of --depth=1 when cloning/fetching the repository.
what do you think guys? eventually i can craft a PR with this change.

Pending Release Deploy Enhancement

Most helpful comment

Landed in pm2 2.3.0

All 3 comments

I think its a good idea, at least we should have an opt-in option to use --depth=1, but pm2 is using another module to do this :

  • Currently the deploy part is hosted in this repository so if you want to make a PR it should be over there.
  • I started to re-implement the whole deploy system in plain javascript (no call to binary) over there if you want to contribute too.

i've gave a quick look to the source code and it seems to me that this changes can be enough but i have still to test this due to lack of time.
if someone can test the change i'll be grateful.

Landed in pm2 2.3.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

liujb picture liujb  路  3Comments

getvega picture getvega  路  3Comments

rangercyh picture rangercyh  路  4Comments

mario-mui picture mario-mui  路  3Comments

jubairsaidi picture jubairsaidi  路  3Comments