-
Notifications
You must be signed in to change notification settings - Fork 18
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
Drush dl sometimes does not pick up version #210
Comments
thanks for reporting this @rroseselavy42 We have had other reports of the |
looks like I'm https://github.com/backdrop-contrib/drush/blob/1.x-1.x/commands/pm/backdrop_pm.drush.inc#L121 $html = backdrop_pm_get_from_github(
"https://github.com/backdrop-contrib/$project/releases/latest"
); We should fix this to hit the API instead so redirects won't fail the
then refactor to parse the json result. |
I'm getting an error today from drush dl: Module is already installed ... exiting without re-writing module. [error] Normally it would get the new version of the module (entity_plus in this case) and ask me if I want to overwrite the existing version. Whether a module is installed or not shouldn't matter, but I assume by "installed" it means "exists on the file system". |
@bradbulger if you are trying to update a module you should use |
Sometimes you don't want to update, though. You want to download a different version from what's there. I can get around it by removing the directory, I just thought I remembered it working. I guess I must have been thinking of my experience using it with Drupal, where it will overwrite the existing directory after prompting (or with the -y flag). I believe this was a conversation at one point, around a bug filed against original Drush that dl should delete the old files (since files can go away between versions). |
@bradbulger file a new issue as a feature request please. |
just to update, this is now happening 100% of the time I think output has changed |
Hey folks,
Have a strange intermittent issue where drush dl will sometimes not pick up the latest version of a backdrop module. Instead it will give me an error such as below
this only happens intermittently and mostly when run scripted.
The text was updated successfully, but these errors were encountered: