backdrop-contrib / backdrop-drush-extension

A set of commands and boot class for Drush and Backdrop CMS.
GNU General Public License v2.0
13 stars 18 forks source link

Offer dev branch for downloading in case if there is no official release #203

Closed alanmels closed 4 years ago

alanmels commented 4 years ago

Running the drush dl pwa command gives:

docker@cli:/var/www/docroot/modules$ drush dl pwa

    Error: There is no release located at https://github.com/backdrop-contrib/pwa/releases/download//pwa.zip.
    Try visiting the pwa page directly: https://github.com/backdrop-contrib/pwa

docker@cli:/var/www/docroot/modules$ 

Indeed there is no release for the module at https://github.com/backdrop-contrib/pwa/releases. However, there is a development branch 1.x-1.x with a zip-file at https://github.com/backdrop-contrib/pwa/archive/1.x-1.x.zip. So instead of explicitly setting the download address to https://github.com/backdrop-contrib/$project/releases/download/$latest[0]/$project.zip, wouldn't be nice if drush offered the development branch for downloading just to cover modules with no official releases?

serundeputy commented 4 years ago

@alanmels this is a great idea and will be handled in https://github.com/backdrop-contrib/drush/issues/107

closing as duplicate.