magento / composer Goto Github PK
View Code? Open in Web Editor NEWLicense: Open Software License 3.0
License: Open Software License 3.0
Hi folks
Can this module be made compatible with composer v2?
Or maybe research to see why this module is needed and consider removing it from core Magento?
In order to prevent composer/composer#9717 to happen again in the future. (Update: this was a bug in composer/composer, not in magento/composer)
/cc @fascinosum, @mmansoor-magento, @pdohogne-magento
Thanks!
Current README does not live up to standards set for Adobe open source projects. Please expand on details.
Magento2 has an issue (magento/magento2#6372) which originates from InfoCommand.php
.
Using composer.json
with a VCS (git) repository:
"repositories": {
...
"craftyclicks": {
"type": "git",
"url": "https://github.com/craftyclicks/m2-ukpostcodelookup.git"
}
}
In InfoCommand::run(...)
the output string ($output
) is split into lines (using explode
) and further split on :
to create an associative array of values. The $output
variable at that point contains:
<warning>You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug</warning>
<warning>Warning from https://repo.packagist.com/ebizmartscorp:
======================
COMPOSER VERSION WARNING
Your Composer is outdated, it is highly recommended to use v1.3.0 or above to avoid slowing down Packagist.com updates
======================
</warning>
Reading composer.json of craftyclicks/module-ukpostcodelookup (master)���������������������������������������������������������������������� ����������������������������������������������������������������������name : magento/product-community-edition
descrip. : eCommerce Platform for Growth (Community Edition)
keywords :
versions : * 2.1.7, 2.1.6, 2.1.5, 2.1.4, 2.1.3, 2.1.2, 2.1.1, 2.1.0, 2.1.0-rc3, 2.1.0-rc2, 2.1.0-rc1, 2.0.15, 2.0.14, 2.0.13, 2.0.12, 2.0.11, 2.0.10, 2.0.9, 2.0.8, 2.0.7, 2.0.6, 2.0.5, 2.0.4, 2.0.3, 2.0.2, 2.0.1, 2.0.0, 0.42.0-beta7
type : metapackage
license : Open Software License 3.0 (OSL-3.0) (OSI approved) https://spdx.org/licenses/OSL-3.0.html#licenseText
license : Academic Free License v3.0 (AFL-3.0) (OSI approved) https://spdx.org/licenses/AFL-3.0.html#licenseText
source : []
dist : [zip] https://repo.magento.com/archives/magento/product-community-edition/magento-product-community-edition-2.1.7.0.zip
names : magento/product-community-edition
requires
magento/magento2-base 2.1.7
php ~5.6.5|7.0.2|7.0.4|~7.0.6
zendframework/zend-stdlib ~2.4.6
...
Where �
is actually \x08
coming from ConsoleIO::doOverwrite
. The stacktrace is:
This results in the name
attribute not being added to the result and causing issues further down the line. As a temporary fix, I have added a preg_replace('/\x08+/', "\n", $output)
which seems to work. It may also be possible to change the newline
parameter of ConsoleIO::doOverwrite
.
This leads me to two questions:
Hey,
i have a Problem with the current version of repo.magento.com packages of this composer package.
Looks like repo.magento.com is outdated, because there are many version of magento/composer are missing. (Versions like 1.5.0)
On https://packagist.org/packages/magento/composer the Versions aren't missing.
Iam updating currently the magento community version and need this version.
Could you help my with my Problem by updating the Version of repo.magento.com ?
Or you could remove it from repo.magento.com and everybody can use the actual version of packagist.org.
Running magento 2.4.3-p3 and because of the latest release magento/composer 1.9.0, Composer install i getting failed.
Higher matching version 1.9.0 of magento/composer was found in public repository packagist.org than 1.8.0 in private https://repo.magento.com. Public package might've been taken over by a malicious entity, please investigate and update package requirement to match the version from the private repository
What is the best solution for this?
Thanks
Hi! I'm getting this error while installing Magento 2.2.5 metapackage. Version of this package is locked at 1.2.0
Failed: [UnexpectedValueException] 0: The checksum verification of the file failed (downloaded from https://api.github.com/repos/magento/composer/zipball/130753af2b755f1967e253deb661225942bb302c)
[UnexpectedValueException]
The checksum verification of the file failed (downloaded from https://api.github.com/repos/magento/composer/zipball/130753af2b755f1967e253deb661225942bb302c)
Exception trace:
() at phar:///usr/local/bin/composer/src/Composer/Downloader/FileDownloader.php:178
Composer\Downloader\FileDownloader->doDownload() at phar:///usr/local/bin/composer/src/Composer/Downloader/FileDownloader.php:94
Composer\Downloader\FileDownloader->download() at phar:///usr/local/bin/composer/src/Composer/Downloader/ArchiveDownloader.php:36
Composer\Downloader\ArchiveDownloader->download() at phar:///usr/local/bin/composer/src/Composer/Downloader/ZipDownloader.php:71
Composer\Downloader\ZipDownloader->download() at phar:///usr/local/bin/composer/src/Composer/Downloader/DownloadManager.php:213
Composer\Downloader\DownloadManager->download() at phar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:186
Composer\Installer\LibraryInstaller->installCode() at phar:///usr/local/bin/composer/src/Composer/Installer/LibraryInstaller.php:90
Composer\Installer\LibraryInstaller->install() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:173
Composer\Installer\InstallationManager->install() at phar:///usr/local/bin/composer/src/Composer/Installer/InstallationManager.php:160
Composer\Installer\InstallationManager->execute() at phar:///usr/local/bin/composer/src/Composer/Installer.php:588
Composer\Installer->doInstall() at phar:///usr/local/bin/composer/src/Composer/Installer.php:227
Composer\Installer->run() at phar:///usr/local/bin/composer/src/Composer/Command/InstallCommand.php:119
Composer\Command\InstallCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Command/Command.php:242
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:842
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:193
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:251
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Application.php:117
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:100
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:58
require() at /usr/local/bin/composer:24
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.