Skip to content

Remove distribution links for development branches #38

@generalredneck

Description

@generalredneck

I recently came across the case where when I do a --prefer-dist, I get the LATEST dev version, and not the version of dev I was looking for. It was then that I noticed that when I do a composer show, there is a dist URL for dev branches. Thinking we need to remove the distribution for dev.

Example

composer show drupal/link dev-7.x-1.x#71cddd9
name     : drupal/link
descrip. : Defines simple link field types.
keywords :
versions : * dev-7.x-1.x
type     : drupal-module
source   : [git] http://git.drupal.org/project/link 71cddd9
dist     : [zip] http://ftp.drupal.org/files/projects/link-7.x-1.x-dev.zip 71cddd9
names    : drupal/link

requires
drupal/drupal 7.*

Until then... obviously I won't be using the --prefer-dist option :P

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions