magento-hackathon / magento-composer-installer

Composer installer for Magento modules
210 stars 154 forks source link

"Package Abandoned" error message #144

Closed fmarangi closed 9 years ago

fmarangi commented 9 years ago

When trying to install the Composer Installer via packagist, composer outputs the following error message:

Package magento-hackathon/magento-composer-installer is abandoned, you should avoid using it. No replacement was suggested.

If you specify http://packages.firegento.com under repositories no error message is displayed.

davidverholen commented 9 years ago

thats because there was a broken(!) version of the installer in the packagist repository, but it is now abandoned. So its only in the firegento repository now.

So you should alwys include the firegento repository as long as no maintainer lists the package at packagist.org

oviliz commented 9 years ago

Hi @fmarangi Francesco. Hod did you managed to add http://packages.firegento.com to the repositories? I'm trying to install the composer following those instructions https://github.com/bluevisiontec/GoogleShoppingApi and I've got as well the "abandoned" message.

Flyingmana commented 9 years ago

composer.phar config -g repositories.firegento composer http://packages.firegento.com adds the repository globally, so you dont need to add this for every project

oviliz commented 9 years ago

Thank you. I've done that but nothing seems changed.

I've tried to add this into the composer.json but still the installer abandoned message. I believe I'm doing something wrong. "repositories": [ { "type": "composer", "url": "http://packages.firegento.com" } ],

davidverholen commented 9 years ago

did you add the repository to your root composer.json? Repositories are only read from there

oviliz commented 9 years ago

Yes David, the composer.json is on the root while the composer.phar file is on the bin folder as stated on the indicate instructions link.

davidverholen commented 9 years ago

ok, so you have something like this:

{
    "require": {
        "magento-hackathon/magento-composer-installer": "*"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "packages.firegento.com"
        }
    ]
}

you could try to clear the composer cache (composer clearcache). maybe it's still installed from there

Flyingmana commented 9 years ago

fixed by taking over and activate again the packagist entry