2013-06-06 6 views
9

Sto avendo un problema l'installazione di un pacchetto che ho creato ....Compositore installazione/aggiornamento in mancanza

https://packagist.org/packages/mardy-git/redirect

Per quanto posso dire, tutto funziona bene e dovrei essere in grado di installalo. Tuttavia quando ho eseguito il compositore installare o aggiornare ottengo il seguente messaggio di errore ...

 
Your requirements could not be resolved to an installable set of packages. 

Problem 1 
- The requested package mardy-git/redirect could not be found in any version, there may be a typo in the package name. 

Potential causes: 
- A typo in the package name 
- The package is not available in a stable-enough version according to your minimum-stability setting 
    see for more details. 

Read for further common problems. 

E nel mio file composer.json ho:

{ 
    "require": { 
     "php": ">=5.4", 
     "orno/di": "1.*", 
     "orno/http": "1.*", 
     "orno/mvc": "dev-master", 
     "orno/loader": "1.*", 
     "orno/db": "1.*", 
     "filp/whoops": "1.0.*", 
     "symfony/console": "2.3.*@dev", 
     "zendframework/zendframework": "2.1.*", 
     "form-manager/form-manager": "dev-master", 
     "mardy-git/hmac": "0.1.*@dev", 
     "mardy-git/redirect": "dev-master" 
    } 
} 

Questo è un pacchetto nuovo marchio che ho creato questo pomeriggio e non ho riscontrato problemi come questo prima quindi non ho idea di dove iniziare a cercare una soluzione. Tutto il resto si installa come previsto se rimuovo la riga mardy-git/redirect.

Ho provato a eseguire un aggiornamento automatico del compositore e questo non ha fatto alcuna differenza.

Ulteriori informazioni:

composer show mardy-git/redirect --verbose

... ha provocato la seguente risposta:

 
[InvalidArgumentException] 
    Package mardy-git/redirect not found 

Exception trace: 
() at phar:///usr/local/bin/composer/src/Composer/Command/ShowCommand.php:105 
Composer\Command\ShowCommand->execute() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:244 
Symfony\Component\Console\Command\Command->run() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:882 
Symfony\Component\Console\Application->doRunCommand() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:212 
Symfony\Component\Console\Application->doRun() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:117 
Composer\Console\Application->doRun() at phar:///usr/local/bin/composer/vendor/symfony/console/Symfony/Component/Console/Application.php:119 
Symfony\Component\Console\Application->run() at phar:///usr/local/bin/composer/src/Composer/Console/Application.php:83 
Composer\Console\Application->run() at phar:///usr/local/bin/composer/bin/composer:43 
require() at /usr/local/bin/composer:15 

Ulteriori informazioni, il test con solo "mardy-git/redirect": "dev-master" nel file compositore.

composer install -vvv

ha provocato la seguente risposta:

 
Downloading composer.json 
Loading composer repositories with package information 
Downloading https://packagist.org/packages.json 
Writing /Users/mbard/.composer/cache/repo/https---packagist.org/packages.json into cache 
Reading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-active.json from cache 
Reading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-archived.json from cache 
Reading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-latest.json from cache 
Reading /Users/mbard/.composer/cache/repo/https---packagist.org/p-provider-stale.json from cache 
Installing dependencies (including require-dev) 
Your requirements could not be resolved to an installable set of packages. 

Problem 1 
- The requested package mardy-git/redirect could not be found in any version, there may be a typo in the package name. 

Potential causes: 
- A typo in the package name 
- The package is not available in a stable-enough version according to your minimum-stability setting 
    see for more details. 

Read for further common problems. 

Qualcuno ha qualche idea perché questo sta facendo questo?

+1

si guarda bene per essere 92. – Prisoner

risposta

7

Packagist sta avendo un'interruzione. https://twitter.com/PrincipeBorodin/status/342655643603324929

A proposito di tutto quello che puoi fare è cercare di contattare @packagist o contattarci pagina su packagist.org

sto vedendo esattamente la stessa cosa su uno dei miei progetti. Se vai a https://packagist.org/packages/base-reality/php-to-javascript puoi vedere che la versione più recente è 0.1.17

Ma il fare:

composer show base-reality/php-to-javascript 

versions : dev-master, * 0.1.16, 0.1.15, 0.1.14, 0.1.13, 0.1.12, 0.1.11, 0.1.10, 0.1.9, 0.1.8, 0.1.7, 0.1.6, 0.1.5, 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0, 0.0.9, 0.0.8, 0.0.7, 0.0.6, 0.0.5, 0.0.4, 0.0.3, 0.0.2, 0.0.1 

vale a dire la versione 0.1.17 non è disponibile tramite il compositore.

Aggiornamento

Si è ora fissato ora https://twitter.com/packagist/status/342710331547729920

+0

ah ok, io trasmesso loro un messaggio, allora .... grazie – mic

-2

Ho lo stesso problema, mentre all'inizio di questa settimana ho creato un nuovo pacchetto e tutto è andato bene.

Ho trovato questo vecchio post al riguardo: https://github.com/composer/composer/issues/1090, ma sfortunatamente non offre una soluzione.

qualche pacchetto con una massiccia quantità di sostituisce/suggerire/richiede innescato un problema di memoria nel pacchetto dumper (e indicizzatore e tutto il resto davvero)

EDIT: problema sembra risolto.