repman
repman copied to clipboard
Proxy through organisation (proxy with auth tokens)
Would it be possible to proxy to Packagist through an organisation? At the moment, it seems that is only possible through the main domain.
The organisation instructions say to add the organisation repo, but then you need to go to the proxy instructions to add a different repository for the main proxy repo.
Our use case is to keep all traffic for composer packages going through a central location.
Could be as simple as adding the proxy instructions onto the organisation view, so it says:
{
"repositories": [
{"type": "composer", "url": "https://giggsey-test.repo.repman.io"},
{"type": "composer", "url": "https://repo.repman.io"},
{"packagist": false}
]
}
Assuming you will use an organization token, this would be an option. You could then let all traffic go through the organization's subdomain.
Authenticated is absolutely fine for my use case.
Doing this would require undoing some of the Composer v2 performance improvements done in #310.
Nobody said it would be easy :wink: . But we leave it in the backlog. Maybe there will be someone brave with enough time :crossed_swords: