humbug / phar-updater

A thing to make PHAR self-updates easy and secure
BSD 3-Clause "New" or "Revised" License
368 stars 27 forks source link

Add a random string to skip packagist json cache #56

Closed luckyraul closed 6 years ago

aik099 commented 6 years ago

Why using cached packagist.json is bad?

luckyraul commented 6 years ago

In my current case - 5 hours left, still no updates. If I add some param I get the updated JSON

aik099 commented 6 years ago

Does new version show on Packagist website? If it does, but not available via API then it's something wrong with Packagist API.

luckyraul commented 6 years ago

Yes, It does, instantly after the tag

aik099 commented 6 years ago

You can report a bug to the https://github.com/composer/packagist then. Keep this issue open just in case.

webflo commented 6 years ago

I think this is the same bug as in https://github.com/humbug/phar-updater/pull/10 / https://github.com/humbug/phar-updater/pull/51

This fix is in master but not 1.0.

luckyraul commented 6 years ago

still have the problem

@aik099 can you merge to 1.0?

theofidry commented 6 years ago

I'm fine to merge and release it in 1.x if a PR is provided