composer / packagist

Package Repository Website - try https://packagist.com if you need your own -
https://packagist.org/
MIT License
1.74k stars 477 forks source link

Invalid composer.json causes all following tags to be ignored #371

Closed lucifurious closed 10 years ago

lucifurious commented 10 years ago

I've got a package (dreamfactory/lib-php-common-platform) that had a single tag (1.3.0) with a missing quote in the composer.json file. Packagist correctly states that that tag would be dropped and shows the following tags in the log.

However, the following tags (1.3.1 and 1.3.2) are not picked up either. As if they too were being ignored.

My workaround, and the reason for saying "had a single tag" is because I deleted the tag and Packagist ignored that commit.

Seldaek commented 10 years ago

This definitely should not impact newer tags, and I'm pretty sure it doesn't because many repos have older pre-composer-times tags that are missing composer info and it skips them successfully. Given you now wiped the bad tags it's hard to confirm what was indeed happening. If you can reproduce it with a test repo feel free to reopen.