Avoid running apt-get more than once per day#2281
Avoid running apt-get more than once per day#2281msaggiorato wants to merge 3 commits intoVarying-Vagrant-Vagrants:developfrom
Conversation
|
I was thinking more updating the packages than the sources, but this is needed too. We'll need to account for utilities as well and the VVV version though, the date isn't enough |
|
I figure we store an SHA of a string of the version/utilities/etc |
|
Wondering if we can extend this also to other utilities or command like npm or wp-cli download. |
I'll think about this, i'm sure we can do this kind of thing for everything. |
| . "/srv/config/bash_aliases" | ||
|
|
||
| # cleanup | ||
| mkdir -p /vvv |
There was a problem hiding this comment.
imo this should go in /vagrant and the move to /vvv should be a separate issue where we symlink it to /vagrant, that way we aren't spreading things across multiple folders
|
I'll turn this into a draft, since I don't have time to work on this on the next couple days. |
|
I think the todo list of things here should be:
So we should compare an SHA hash of: We can then provide finder control in the future by allowing the We should also look into appending the VVV commit hash to the version in the vagrant file so that people on At that point we're probably good to extend this to the entire main provisioner |
|
Additionally, only succesful provisions should update the hash so that it doesn't stay stuck in a broken state |
|
any updates @msaggiorato |
This attempts to speed up provision by addressing #2272