Allow duplicate dashes in name

Bug #1898086 reported by Pierre Rudloff on 2020-10-01
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
composer (Debian)
Fix Released
composer (Ubuntu)

Bug Description

composer 1.10.1 wrongfully complains about package names that contain duplicate dashes:

Deprecation warning: require.npm-asset/fortawesome--fontawesome-free is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.

This was fixed upstream in 1.10.6:

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: composer 1.10.1-1
ProcVersionSignature: Ubuntu 5.4.0-48.52-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.9
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: XFCE
Date: Thu Oct 1 19:43:39 2020
InstallationDate: Installed on 2016-04-06 (1639 days ago)
InstallationMedia: Xubuntu 16.04 LTS "Xenial Xerus" - Beta amd64 (20160323)
PackageArchitecture: all
SourcePackage: composer
UpgradeStatus: Upgraded to focal on 2020-09-05 (26 days ago)

Revision history for this message
Pierre Rudloff (rudloff) wrote :
description: updated
Changed in composer:
status: Unknown → Fix Released
Changed in composer (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.