Git Product home page Git Product logo

Comments (13)

DKarakis avatar DKarakis commented on September 24, 2024 3

hey @theravel just add this under the autoload-dev to get sentry working.

  "provide": {
        "php-http/client-implementation": "1.0",
        "php-http/async-client-implementation": "1.0",
        "psr/http-client-implementation": "1.0",
	"psr/http-message-implementation": "1.0"
      }, 

from nexus-repository-composer.

eplightning avatar eplightning commented on September 24, 2024 3

I need to do more research but this seems to be some kind of composer bug actually. Nexus doesn't strip "provide" metadata from packages it hosts, but for some reason composer completely ignores it.

EDIT: Well nvm, composer has it implemented very weird but the issue is on the Nexus side of things.

from nexus-repository-composer.

AleksSem avatar AleksSem commented on September 24, 2024 2

The package "nexmo/client": 1.8.1 returns the following error:

  Problem 1
    - nexmo/client 1.8.1 requires php-http/client-implementation ^1.0 -> no matching package found.
    - nexmo/client 1.8.0 requires php-http/client-implementation ^1.0 -> no matching package found.

I find ugly hack for this issue:
You can add to your composer.json (that means your project provides implementation), but be careful because composer stops handle this dependency.

"provide": {
  "php-http/client-implementation": "^1.0"
},

from nexus-repository-composer.

XilefNori avatar XilefNori commented on September 24, 2024 2

It would be very nice if you will fix this bug. Please.

from nexus-repository-composer.

FloSew avatar FloSew commented on September 24, 2024 2

It will be greatly appreciated to fix this please !

from nexus-repository-composer.

fjmilens3 avatar fjmilens3 commented on September 24, 2024

I'm not sure when I'll have time to look at this, but I can take a look as time permits. Two questions:

  1. Are you accessing Composer proxy through a group?
  2. Can you provide a (minimal) composer.json that displays this behavior so we can use it during our testing?

from nexus-repository-composer.

jonasGossiaux avatar jonasGossiaux commented on September 24, 2024

bump

from nexus-repository-composer.

tiaguinho avatar tiaguinho commented on September 24, 2024

The package "nexmo/client": 1.8.1 returns the following error:

  Problem 1
    - nexmo/client 1.8.1 requires php-http/client-implementation ^1.0 -> no matching package found.
    - nexmo/client 1.8.0 requires php-http/client-implementation ^1.0 -> no matching package found.

from nexus-repository-composer.

tiaguinho avatar tiaguinho commented on September 24, 2024

Works!

Thanks @AleksSem !

from nexus-repository-composer.

theravel avatar theravel commented on September 24, 2024

This bug makes usage of this project completely impossible, it has critical priority

from nexus-repository-composer.

theravel avatar theravel commented on September 24, 2024

I'm not sure when I'll have time to look at this, but I can take a look as time permits. Two questions:

  1. Are you accessing Composer proxy through a group?
  2. Can you provide a (minimal) composer.json that displays this behavior so we can use it during our testing?

@fjmilens3 this is an example:

{
    "require": {
        "sentry/sentry-symfony": "^3.4"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://artifacts.company.org/repository/composer-group"
        },
        {
            "packagist.org": false
        }
    ]
}

from nexus-repository-composer.

func0der avatar func0der commented on September 24, 2024

Do we have an update on this issue?

from nexus-repository-composer.

j3ouz4n avatar j3ouz4n commented on September 24, 2024

Hi, we have a similar issue with our nexus :
- payum/core 1.4.3 requires php-http/client-implementation ^1.0 -> no matching package found.
Do you have an update for this issue.
Thanks,

from nexus-repository-composer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.