Skip to content

Commit d1e103a

Browse files
authored
Merge pull request #8 from packagist/f/general-troubleshooting
Troubleshooting: add information about how frequent packages are checked for new versions
2 parents 143b610 + 6658313 commit d1e103a

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

Diff for: troubleshooting.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Troubleshooting
2+
## Private Packagist
3+
4+
### New versions do not appear immediately
5+
6+
The amount of time between pushing a new version and seeing it on Private Packagist depends on how you added the package to Private Packagist. The following sections explain each scenario. If a version does not appear within the listed time, check the update log for problems. The update log can be found on the package page via "View Log". The update log will contain information about versions which could not be loaded into Private Packagist, e.g. the composer.json file is invalid.
7+
8+
##### Packages mirrored from packagist.org
9+
10+
New or updated versions for packages which are mirrored from packagist.org appear within seconds after the versions are available on packagist.org. The time between pushing to the VCS repository of packagist.org package and a change appearing on Private Packagist depends on whether the package has a working webhook set up on packagist.org and on how long it takes for GitHub/GitLab/Bitbucket to notify packagist.org about the change.
11+
12+
##### Packages with webhooks
13+
14+
If you add a package by URL or through synchronization from GitHub, GitLab, or Bitbucket, we set up a webhook on the repository to notify us about any changes. This only works if you use synchronization or if you specified credentials to access the API along with the URL. We cannot set up webhooks for public packages without credentials to access their settings through the API.
15+
16+
For packages where we cannot automatically set up a webhook through an API we display a URL on the package page you can use to set up a webhook yourself. Many other code hosting platforms offer webhooks, you can trigger a POST request in a script of your own, or you can manually set up a webhook in a GitHub, GitLab or Bitbucket repository if you only grant us access to the code through SSH.
17+
18+
With a webhook new versions will appear within seconds or a few minutes after you push to your Git repository.
19+
20+
##### All other packages
21+
22+
For all other packages Private Packagist does not get notified about new versions and Private Packagist checks for updates at least once every 12 hours. Thus, new versions of these other packages will appear on Private Packagist with a delay of up to 12 hours. You can manually update a package at any time by clicking the update button on the package page or using our API.
23+
24+
Other packages include:
25+
- VCS repositories to which we have been granted access via SSH key
26+
- repositories which are hosted on other platforms than GitHub, GitLab or Bitbucket
27+
- packages added from third party mirrored repositories other than packagist.org
28+
- repositories that have been added without a credential

0 commit comments

Comments
 (0)