Packagist wrong version?

Created on 12 February 2021, almost 4 years ago
Updated 26 February 2023, almost 2 years ago

Problem/Motivation

Install module with composer gives wrong version.

Steps to reproduce

Install with:
`composer require drupal/block_visibility_groups:^1.4`

Results: In composer.lock file

        {
            "name": "drupal/block_visibility_groups",
            "version": "1.4.0",
            "source": {
                "type": "git",
                "url": "https://git.drupalcode.org/project/block_visibility_groups.git",
                "reference": "8.x-1.3"
            },
            "dist": {
                "type": "zip",
                "url": "https://ftp.drupal.org/files/projects/block_visibility_groups-8.x-1.3.zip",       <<-----------------------
                "reference": "8.x-1.3",
                "shasum": "3c42377fcf6b849e8509b4b993a750cbc1a90a9b"
            },
            "require": {
                "drupal/core": "*"
            },
            "type": "drupal-module",
            "extra": {
                "branch-alias": {
                    "dev-1.x": "1.x-dev"
                },
                "drupal": {
                    "version": "8.x-1.3",
                    "datestamp": "1536509886",
                    "security-coverage": {
                        "status": "covered",
                        "message": "Covered by Drupal's security advisory policy"
                    }
                }
            },
            "notification-url": "https://packages.drupal.org/8/downloads",
            "license": [
                "GPL-2.0+"
            ],
            "authors": [
                {
                    "name": "mlncn",
                    "homepage": "https://www.drupal.org/user/64383"
                },
                {
                    "name": "tedbow",
                    "homepage": "https://www.drupal.org/user/240860"
                }
            ],
            "description": "My Awesome Module",
            "homepage": "http://drupal.org/project/block_visibility_groups",
            "keywords": [
                "Drupal"
            ],
            "support": {
                "source": "http://cgit.drupalcode.org/block_visibility_groups",
                "issues": "http://drupal.org/project/issues/block_visibility_groups"
            }
        },

And this in the block_visibility_groups.info.yml file:

name: Block Visibility Groups
type: module
description: Allows the site administrator to easily manage complex visibility settings that apply to any block placed in a visibility group.
# core: 8.x
package: Other
dependencies:
  - drupal:block


# Information added by Drupal.org packaging script on 2018-09-09
version: '8.x-1.3'
core: '8.x'
project: 'block_visibility_groups'
datestamp: 1536509889

Proposed resolution

Update ftp.drupal.org???

Remaining tasks

I have no idea how to update ftp.drupal.org.

πŸ› Bug report
Status

Closed: outdated

Version

1.4

Component

Miscellaneous

Created by

πŸ‡ΊπŸ‡ΈUnited States dshumaker

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024