repman-io / repman

Repman - PHP Repository Manager: packagist proxy and host for private packages
https://repman.io
MIT License
519 stars 106 forks source link

Packagist proxy #515

Open EspritOrgue opened 3 years ago

EspritOrgue commented 3 years ago

Hi everyone,

I discovered this project recently and thought it would be a nice alternative to Satis!

In my satis repo, I had cloned repos from Packagist and I saw that you could do the same with Repman via the proxy but it doesn't seem to work as I get this error:

Failed downloading johnpbloch/wordpress-core, trying the next URL (500: The "https://repo.repman.xxx/dists/johnpbloch/wordpress-core/yyy.zip" file could not be downloaded (HTTP/2 500 ))

In the proxy stats page, I see that it counted (the install number), but there's nothing appearing in the proxy packages ones.

I installed Repman via Docker!

My composer.json looks like that

{
    "require": {
        "johnpbloch/wordpress-core": "*"
    },
    "repositories": [{
        "type": "composer",
        "url": "https://acme.repo.repman.xxx"
    }],
    "extra": {
        "repman":{
            "url": "https://repo.repman.xxx"
        }
    }
}

And I used the global composer plugin! (As the other method seems to disable packagist so I can't download anything)

I don't know if there's something I don't understand or if it's a problem with the config ?

(I'm not sure if you need more info?)