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

Consolide folders into .vvv and move www up 1 level #1629

Closed
tomjn opened this issue Sep 2, 2018 · 7 comments
Closed

Consolide folders into .vvv and move www up 1 level #1629

tomjn opened this issue Sep 2, 2018 · 7 comments
Milestone

Comments

@tomjn
Copy link
Member

tomjn commented Sep 2, 2018

For a future release I think it would be good to move the provision and config folders into a .vvv subfolder, then move the default sites location up to the root folder, with some backwards compat code to check for www/ sites that already exist.

Thus a VVV install might look like this:

  • .vvv/
  • wordpress-default/
  • vvv-custom.yml
  • Vagrantfile
  • LICENSE readme etc..
@tomjn tomjn added this to the 3.x.x milestone Sep 2, 2018
@Mte90
Copy link
Member

Mte90 commented Sep 2, 2018

uhm maybe can be difficult to do a gitignore with gitpull because there are changes not saved?
I mean I move all the website folders in the root like that and on a git pull what will happen?

@tomjn
Copy link
Member Author

tomjn commented Sep 2, 2018

hmmm is there no way around that so that only .vvv and a selection of root folder files are tracked?

@LoreleiAurora
Copy link
Contributor

You can do this like so

# Ignore Everything.
/*
/*/

# Un-ignore the .vvv dir and config file.
!/.vvv/
!/vvv-custom.yml

# Re-ignore the ignored.txt file in the vvv dir.
/.vvv/ignored.txt

@tomjn
Copy link
Member Author

tomjn commented Sep 3, 2018

We can probably move things into the .vvv folder and then circle back and see what to do next.

It might also be worth allowing vvv-custom.yml to specify the default folder sites go in, and use www as the default value, then change that to "" to test

@tomjn
Copy link
Member Author

tomjn commented Oct 30, 2018

For the moment I've decided that moving www up one level can be done in the future once some things are figured out, since /srv/www gets mapped on to it, and that would go away if changed. Speaking with @LoreleiAurora though we need to map individual site folders rather than the entire folder

@tomjn
Copy link
Member Author

tomjn commented May 7, 2019

closing this for now, we might revisit this in the future

@tomjn tomjn closed this as completed May 7, 2019
@lock
Copy link

lock bot commented Feb 22, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants