Refactor to make it easier to add new formats
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by locating the format classes and the URL-matching logic that currently requires edits when adding a format. Trace how a URL is matched to a format and check whether format declarations are centralized. Done means a new format can be added by creating its class and declaring it in one place, without changing URL-matching code.
Written by the indexing model from the issue text.
Description
Adding a new format should require only adding a new Format class and declaring it somewhere. Currently it requires changing a few files because of the way the URL matching works.
- Dominant language
- PHP
- Stars
- 96
- Forks
- 17
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
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 aaronpk/XRay
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 54/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
[Sync EN] Pdo\Pgsql: document session state reset on persistent connections (PHP 8.6) (#6084)Possibly taken @lacatoire claimed this today. Opensync-en
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Potential Bug To Triage
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
matomo-org/matomo#25740 ·
Maintainers usually reply within 1 day
-
[Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
WordPress/ai#1386 · 1 comment ·
Maintainers usually reply within 1 day
-
E2E setup scripts seed the legacy `payment_request` settings keys instead of `express_checkout`Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
woocommerce/woocommerce-gateway-stripe#6201 ·
Maintainers usually reply within 2 days
-
bug status: unverified
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day