question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Packagist: outdated pre version

See original GitHub issue

Hi, thank you for awesome webservice.

I’ve just came across some packagist PHP version behaviour. I want to show PHP version for upcoming version, let say untagged master branch.


He is how it works on badgen.net.

v0.6

Here is latest tagged version, it works correctly.

  • It shows ^7.2
  • https://badgen.net/packagist/php/contributte/forms/latest

dev-master

Here is untagged dev-master version, it doesn’t work correctly, from my point of view.

  • It shows ^7.2 instead of >=7.2
  • https://badgen.net/packagist/php/contributte/forms/pre
  • https://badgen.net/packagist/php/contributte/forms/master
  • https://badgen.net/packagist/php/contributte/forms/dev-master

According to packagist, it shows correct data.

v0.6

image

dev-master

Screenshot 2020-11-27 at 13 18 30

According to packagist JSON endpoint, it shows correct data.

https___packagist_org_packages_apitte_core_json

Am I doing something wrong? Thank you for you time.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

packagist not detecting version of my package #587 - GitHub
When I initially added the package, the composer.json file did not contain version info and there was no version tag, but the command ......
Read more >
composer/package-versions-deprecated - Packagist
Composer plugin that provides efficient querying for installed package versions (no runtime IO)
Read more >
Changelog - Private Packagist Self-Hosted
Deleting a package, then adding a package with the same name from packagist.org can no longer lead to a stale local Composer cache...
Read more >
How to install a specific version of package using Composer?
I am trying to install a specific version of a package using Composer. I tried composer install and composer require but they are...
Read more >
Are Composer and Packagist also vulnerable to package ...
You could setup Toran Proxy to pre-cache all new tags of a package - that way you'd have all versions of a package...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found