Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable packagist.org when packagist.com supports realtime mirroring #5

Open
k1sul1 opened this issue Aug 23, 2017 · 0 comments
Open

Comments

@k1sul1
Copy link
Contributor

k1sul1 commented Aug 23, 2017

To get the most out of Private Packagist, it's advised to disable packagist.org in composer.json using this:

    {
      "type": "composer",
      "url": "https://repo.packagist.com/vincit/"
    },
    {
      "packagist.org": false
    }

However, I noticed that updates to mirrored packages (such as this one!) aren't instant, so I asked why, and got this:

That's a small issue we have right now in that packages mirrored from packagist.org are only updated on private packagist every 12hours, unless you press the update button yourself on private packagist.
That is something we are looking to improve on soon though to get updates to be virtually instantaneous.

There's no ETA, but it's "on the roadmap".

I also asked about what happens if I remove the line that disables packagist.org:

It's fine I guess, but you lose some benefits of Private Packagist, namely no mirroring so if GitHub is down you won't have our download URLs to fall back to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant