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

--cache-duration-releasexml also to drush make #3946

hkirsman opened this issue Feb 27, 2019 · 1 comment

--cache-duration-releasexml also to drush make #3946

hkirsman opened this issue Feb 27, 2019 · 1 comment


Copy link

hkirsman commented Feb 27, 2019

Is your feature request related to a problem? Please describe.
The problem has risen due to Drupal security updates where a module is released but not yet propagated to the list where it says it exists. When you 'drush make' the project too soon, drush will cache that particular version of missing module and will save that information locally. Now deleting all the caches manually or using 'drush cc drush' works but that deletes the downloaded files also. Without clearing the caches in all instances all next deploys will fail.

Describe the solution you'd like
There's a option currently for 'drush dl':
--cache-duration-releasexml Expire duration (in seconds) for release XML. Defaults to 86400 (24 hours).
That would be nice to have also for 'drush make'. I understand now that if I would do 'drush make --cache-duration-releasexml=0...' I would get always the latest release info from and also keep the caches of already downloaded files.

Describe alternatives you've considered
Alternative would be always deleting the caches but that would make builds slower and would give extra load to

@hkirsman hkirsman changed the title --cache-duration-releasexml to drush make --cache-duration-releasexml also to drush make Feb 27, 2019
Copy link

weitzman commented Feb 27, 2019

make is no longer maintained.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants