Table of contents
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Settings
Pluginception → Settings. The defaults suit most sites.
Reading
| Setting | Default | Range | |
|---|---|---|---|
| Reading of the repository lists (minutes, 0 = off) | 60 | 0–1440 | how often each source's list is read; a project whose repository changed is read then. 0: only the webhook and the Read again buttons |
| Each project read again at least every (hours) | 24 | 1–720 | even when nothing says it changed |
| Projects read per pass | 25 | 1–200 | the rest follows in the next pass |
| Requests left untouched in a forge's quota | 10 | 0–1000 | the reserve kept for anything else your server does with that forge |
| Request timeout (seconds) | 15 | 3–60 | a forge slower than this is retried later |
What is kept
| Setting | Default | Range | |
|---|---|---|---|
| Releases kept per project | 50 | 1–100 | older ones are reached by the link to the forge |
| Read the latest commits (Recent activity block) | off | one more request per project; off deletes them | |
| Commits kept per project | 10 | 1–50 | |
| A release is "New" for (days, 0 = never) | 14 | 0–365 | the New badge of the blocks |
| Image of the cards of projects without any image | none | from the media library; none: their initials (see Projects) | |
| Log kept (days) | 30 | 1–365 |
Categories
Add a category with Add a category: a name. The categories appear in the filter and the
sections of the Projects index in the order of this list: drag one by
its handle, or type its position in the small number field (the keyboard way), then Save.
The address of a category (?pc-category=themes) is made from its name.
The order also gives each category its colour, one of four from your theme's palette (the fifth category takes the first colour again), used as a light tint behind projects without an image. A project without a category gets a neutral tint.
Renaming a category keeps its projects. Deleting it leaves its projects without category.
Move to another site
Export the configuration downloads one JSON file with:
- the settings of this page (the default image by its address);
- the categories, in their order;
- the sources, with their options, never their token nor their webhook secret;
- what you typed for each project: name, excerpt, image, category, order, presentation page, visibility, For, featured card.
Import a configuration reads such a file and first shows what it will change: sources added, categories, projects changed, and anything it cannot apply (a page or an image this site does not have). Nothing changes until you click Import.
- Missing sources are added; categories of the file come first, in its order; the settings in the file replace these ones. Nothing is deleted.
- Pages are found again by their path (
/plugins/widget/), images by their address: on another site, upload the images first, or choose them again afterwards. - A project whose repository has not been read yet keeps what the file says for it, and gets it the moment its repository appears. So you can import right after adding a source.
The file can also be written by hand: only format, version and what you want to change are
needed.
{
"format": "lrob-pluginception",
"version": 1,
"categories": [ { "slug": "events", "name": "Events" } ],
"sources": [ { "url": "https://git.example.com/acme" } ],
"projects": [
{
"source": "https://git.example.com/acme",
"repo": "acme/widget",
"category": "events",
"page": "/plugins/widget/",
"audience": "bars, cafés",
"featured": true,
"tagline": "All your menus, always right.",
"highlights": [ "Fast", "Light" ]
}
]
}
A text per language is written { "fr_FR": "…", "en_US": "…" }; a plain text is the site's
main language. null brings back the automatic value. The same import and export exist on the
command line.
How reading works
The reading runs in WordPress's scheduled tasks, never while a page is viewed. Every five minutes, a short task looks for sources with something to do: a list to read, a project that changed, a webhook received, a button pressed. Each pass lasts 20 seconds at most; what is left follows in the next one.