Open AnowarCST opened 4 years ago
The composer.json
version hasn't been bumped either with the last release.
https://github.com/endclothing/prometheus_client_php/blob/v1.0.2/composer.json
@NoelDavies Can 1.0.2 get published or 1.0.3? We would need https://github.com/endclothing/prometheus_client_php/pull/17 to use with push gateway.
Sorry @mentos1386 I no longer work at EndClothing.
@NoelDavies sorry to hear that. What dose that mean in regards to ownership of this package? Is there another maintainer?
The other devs at the company should be overseeing this project now.
Any update here?
@jnatherley - I wish I could answer. The guys at END. are passionate about this, but keep in mind that COVID is currently a massive factor for all companies (and each one of us in the world :P). Their priorities may be aligned elsewhere out of necessity, which is very much understandable.
I'm sure @dushaun could give you an update on this, but be patient, as I said - COVID is affecting us all :)
Hope you're doing well through this all though! :)
Quick "fix" that worked for me:
Add this to composer.json
, repositories
section.
{
"type": "package",
"package": {
"name": "endclothing/prometheus_client_php",
"version": "1.0.3",
"source": {
"url": "https://github.com/endclothing/prometheus_client_php",
"type": "git",
"reference": "b0931c73f9204c8e75259f13184d4350f3e0868a"
}
}
}
Add this to composer.json
, autoload
, psr-4
section.
"Prometheus\\": "vendor/endclothing/prometheus_client_php/src/Prometheus"
And just do composer require endclothing/prometheus_client_php
Note: "reference"
points to last commit in master right now.
The latest version
1.0.2
is not yet published in packagist.org. So by default, it's still installing the old(1.0.1)
version.Can you please check this?