Automated Discovery of `PackageInstallationPlugin`
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by reading the XML-PIP registration and package installation or uninstallation code to understand where PackageInstallationPlugin files are loaded and how their names are resolved. Then assess how discovery from the PIP directory could handle name collisions and caching. Done means plugins are discovered without app-directory registration, collisions are handled, and the approach works during both installation and uninstallation.
Written by the indexing model from the issue text.
Description
PIPs are manually registered through the XML-PIP but in practice are very limited. They must be placed in the core’s directory because any app directory is not necessarily available during the installation or uninstallation of a package. Furthermore their name must be unique because they are referenced by their name and not their full path.
This makes them an ideal candidate for an auto discovery by looking for files in the PIP directory:
- Prevents the pitfall of registering it in an app’s directory.
- Ensures uniqueness by more-or-less gracefully handling file collisions.
- Easily cacheable and relatively static, one less table to deal with.
- Dominant language
- PHP
- Stars
- 248
- Forks
- 147
- Avg merge
- 17m
- Merged PRs (30d)
- 21
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from WoltLab/WCF
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 58/100
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
WoltLab/WCF#6771 · 1 reaction ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
HE-Arc/le-panier-du-coin#49 ·
Maintainers usually reply within 1 day
-
15.0
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
LinkNacional/woo-rede#367 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Lazyload SVG placeholder runs uncached attachment lookups with JSON-escaped URLs on REST responsesOpencustomer report
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Codeinwp/optimole-wp#1253 ·
Maintainers usually reply within 1 day