Open MarcinOrlowski opened 3 years ago
Hi @MarcinOrlowski , thanks to reporting! We have a layer of cache to show the version, for this you did not notice the updated version! 9.0.1 is now shown correctly! For the unstable version we wait a little longer and you should see the correct one for him too! ;)
We have a layer of cache to show the version
I still there's something more than cache. IIRC version badge used to show version 9.0.0 already correctly, but now it shows 8.0.1 so it's not cached version. It's a wrong one.
For the unstable version we wait a little longer and you should see the correct one for him too! ;)
This was never correctly shown. I never saw dev
or dev-dev
- always some other branches.
We have a layer of cache to show the version
I still there's something more than cache. IIRC version badge used to show version 9.0.0 already correctly, but now it shows 8.0.1 so it's not cached version. It's a wrong one.
I don't understand i see the correct version:
For the unstable version we wait a little longer and you should see the correct one for him too! ;)
This was never correctly shown. I never saw
dev
ordev-dev
- always some other branches.
@AlessandroMinoccheri please can you check this? Thanks!
I can see the correct version. Could it be a cache problem somewhere?
Not sure. I see correct version for now too. If you see no possibility to be an backend issue, I am closing this ticket now as I cannot provide any additional information. Would reopen if issue reoccured.
There is something wrong with this cache. For https://packagist.org/packages/rob006/flarum-lang-polish I have v0.3.14
on https://poser.pugx.org/rob006/flarum-lang-polish/v/stable, while v0.3.15
was released 3 months ago. So if it is cache, it is outdated by 3 months.
Curiously https://poser.pugx.org/rob006/flarum-lang-polish/v/stable?1 displays correct version.
Same with downloads counter: 767 on https://poser.pugx.org/rob006/flarum-lang-polish/downloads 873 on https://poser.pugx.org/rob006/flarum-lang-polish/downloads?1
BTW: Examples above for version and downloads count works fine already, but monthly downloads are still outdated:
24 - https://poser.pugx.org/rob006/flarum-lang-polish/d/monthly 59 - https://poser.pugx.org/rob006/flarum-lang-polish/d/monthly?1
Linked to this issue: https://github.com/PUGX/badge-poser/issues/478
I have the same problem with https://github.com/hslavich/OneloginSamlBundle Actual latest stable version is 2.3.0, but "bager" detect it as 2.2.2 (that was released half an hour earlier).
sure? :)
@JellyBellyDev it was exactly an half-hour ago. It seems like a cache bug, but I have no idea where to look for it.
I see some less downloads count. =\
@JellyBellyDev the bug with cache came back for https://github.com/hslavich/OneloginSamlBundle =(
Now i can see this:
Where was the problem?
@JellyBellyDev Maybe I'm missing something: how long does pugx cache invalidate? I have released v2.4.2 at the morning yesterday, but after 15 hours the badge had still shown v2.4.1.
two hours, but consider that also the packagist api use a cache and I don't know what its TTL!
Now the version badges all show "No Release", for all packages.
Thanks for reporting @Bilge! We have fix the regression! ;)
Is there a way to purge the cache? GitHub images are cached by GitHub and those images are also cached by the browser. To clear the cache for images on GitHub you can use curl from GitHub action. And then clear the browser cache. But still, it would be nice to be able to clear the badge on the PUGX side before clearing the GitHub cache. Otherwise, it doesn't make sense.
I recently noticed that version badge reports incorrect version. The package is https://github.com/MarcinOrlowski/laravel-api-response-builder and recent version is 9.0.1, but badge says 8.0.1. Also
dev
badge is choosen oddly. There'sdev
branch, so why it picks7.x
(not to mention there's8.x
as well)?