Closed andres-montanez closed 8 years ago
+1
@andres-montanez @aglejberman
I am very sorry, but as you may see this package was submitted to packagist not by me but by some stranger, and thus I have no control over it.
So if you want to use latest version of package before packagist auto-update it (this happens ~once per week) you have to add this to your composer.json
"repositories": [
{
"type": "vcs",
"url": "git@github.com:arodiss/XlsBundle.git"
}
],
Please notice that this will cause some slowdown to composer update
PS. @seldaek Is there a way to get my package back to me?
Done
@Seldaek I am afraid something got broken - hook through API did not work and in CLI I received
/home/gleb $ curl -XPOST -H'content-type:application/json' 'https://packagist.org/api/update-package?username=arodiss&apiToken=IPUTMYAPITOKENTHERE' -d'{"repository":{"url":"github.com/arodiss/XlsBundle"}}'
{"status":"error","message":"[Doctrine\\DBAL\\Exception\\UniqueConstraintViolationException] An exception occurred while executing 'INSERT INTO package_version (name, description, type, targetDir, extra, homepage, version, normalizedVersion, development, license, source, dist, autoload, binaries, includePaths, support, createdAt, updatedAt, releasedAt, package_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params [\"arodiss\\\/xls-bundle\", \"Excel files manipulation for Symfony2\", \"symfony-bundle\", \"Arodiss\\\/XlsBundle\", \"a:0:{}\", \"https:\\\/\\\/github.com\\\/arodiss\\\/xls-bundle\", \"v0.5.6\", \"0.5.6.0\", 0, \"[\\\"MIT\\\"]\", \"{\\\"type\\\":\\\"git\\\",\\\"url\\\":\\\"https:\\\\\\\/\\\\\\\/github.com\\\\\\\/arodiss\\\\\\\/XlsBundle.git\\\",\\\"reference\\\":\\\"d5c43ba9bda0871efb0b8c7f90ae2b156cd46c6f\\\"}\", \"{\\\"type\\\":\\\"zip\\\",\\\"url\\\":\\\"https:\\\\\\\/\\\\\\\/api.github.com\\\\\\\/repos\\\\\\\/arodiss\\\\\\\/XlsBundle\\\\\\\/zipball\\\\\\\/d5c43ba9bda0871efb0b8c7f90ae2b156cd46c6f\\\",\\\"reference\\\":\\\"d5c43ba9bda0871efb0b8c7f90ae2b156cd46c6f\\\",\\\"shasum\\\":\\\"\\\"}\", \"{\\\"psr-0\\\":{\\\"Arodiss\\\\\\\\XlsBundle\\\":\\\"\\\"}}\", \"[]\", null, \"{\\\"source\\\":\\\"https:\\\\\\\/\\\\\\\/github.com\\\\\\\/arodiss\\\\\\\/XlsBundle\\\\\\\/tree\\\\\\\/v0.5.6\\\",\\\"issues\\\":\\\"https:\\\\\\\/\\\\\\\/github.com\\\\\\\/arodiss\\\\\\\/XlsBundle\\\\\\\/issues\\\"}\", \"2016-02-29 16:34:58\", \"2016-02-29 16:34:58\", \"2016-02-25 16:53:51\", 43331]:\n\nSQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '43331-0.5.6.0' for key 'pkg_ver_idx'","details":"<pre>Reading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.5.6<\/span>)\nImporting tag v0.5.6 (0.5.6.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.5.5<\/span>)\nImporting tag v0.5.5 (0.5.5.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.5.4<\/span>)\nImporting tag v0.5.4 (0.5.4.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.5.3<\/span>)\nImporting tag v0.5.3 (0.5.3.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.5.2<\/span>)\nImporting tag v0.5.2 (0.5.2.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.5.1<\/span>)\nImporting tag v0.5.1 (0.5.1.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.5<\/span>)\n<span style=\"color:black;background-color:yellow;\">Skipped tag v0.5, Array to string conversion<\/span>\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.4.3<\/span>)\nImporting tag v0.4.3 (0.4.3.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.4.2<\/span>)\nImporting tag v0.4.2 (0.4.2.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.4.1<\/span>)\nImporting tag v0.4.1 (0.4.1.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">v0.4<\/span>)\nImporting tag v0.4 (0.4.0.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">0.5.6<\/span>)\nImporting tag 0.5.6 (0.5.6.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">0.3.1<\/span>)\nImporting tag 0.3.1 (0.3.1.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">0.3<\/span>)\nImporting tag 0.3 (0.3.0.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">0.2<\/span>)\nImporting tag 0.2 (0.2.0.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">0.1.1<\/span>)\nImporting tag 0.1.1 (0.1.1.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">0.1<\/span>)\nImporting tag 0.1 (0.1.0.0)\nReading composer.json of <span style=\"color:green;\">arodiss\/xls-bundle<\/span> (<span style=\"color:yellow;\">master<\/span>)\nImporting branch master (dev-master)\n<\/pre>"}
I also have a belief that displaying real error messages in API is not always a good idea
It's just packagist's quirky way of telling you that you have duplicate tags, 0.5.6 and v0.5.6, delete one and it'll go through just fine :)
Thank you @Seldaek
@aglejberman @andres-montanez you can now do plain composer update
, no need to do this hack with repositories
Thanks! Much appreciated!
+1! Thank you very much guys!!
Hi! Could you update packagist so we can use your latest release? Thanks!