bradp / vv

:globe_with_meridians: Variable VVV - a VVV Site Creation Wizard.‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ ‎ :x: This project is no longer maintained. Please update your copy of VVV , which has most of the vv features built in.
GNU General Public License v2.0
1k stars 90 forks source link

Is there a way to "disable" projects? #369

Open yuriy-vasilyev opened 6 years ago

yuriy-vasilyev commented 6 years ago

Hi,

As everybody knows every time we turn vagrant on/off, as well as creating/removing projects, it goes through all sites and databases, makes DB backups, etc. Therefore, when you have 10, 20, 30+ sites with huge databases, it's taking 10-30 minutes to handle all that stuff.

So I'm wondering if there is a way to throw some sites out of that process without removing them completely? Maybe rename a project folder or a config file somewhere by suffixing it with ".off" for example?

It would be super helpful.

Thanks!

P.S. Sorry if it's a wrong product to open a new issue.

tomjn commented 6 years ago

Hello!

Tom here from VVV, I'd advise against using VV as it doesn't fully support VVV 2

In this case, VVV 2 already supports this, just add skip_provisioning: true to the site, e.g.

before:

  mysite:
    hosts:
      mysite.test
      mysite.com

after:

  mysite:
    skip_provisioning: true
    hosts:
      mysite.test
      mysite.com

Now VVV will skip that site on when it provisions