Question: do we need additional core support?
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
Start by reviewing the dependency behavior described for Composer Manager users, including the proposed hook_module_dependencies_alter() and the hook_autoload_info() problem. Compare the needs of hard dependencies in contrib with Composer-managed libraries, and define a core-compatible approach before determining what implementation and tests would be needed.
Written by the indexing model from the issue text.
Description
Using composer manager shouldn't require switching from hard to soft dependencies in contrib. If a module needs a library, that needs to be a hard dependency. So, how do we keep that hard for all the Installer module users, but make it soft for composer manager users?
Do we need some kind of hook_module_deoendencies_alter()?
I was thinking about this for PHPExcel,
We also have a problem with hook_autload_info() that may need to be addressed.
I know composer "isn't core's problem" but breaking contrib is, so I think this is a reasonable conversation to have :) Maybe we have a conversation at the next Backdrop LIVE?
- Dominant language
- PHP
- Stars
- 1
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
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 backdrop-contrib/composer_manager
-
Exclude module `require-dev` and `autoload-dev` from the generated `composer.json`Possibly taken @keiserjb claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Allow a few more properties (e.g. scripts)Possibly taken @laryn claimed this 283 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in backdrop-contrib/composer_manager
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
FGRibreau/mailchecker#635 ·
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 69/100
FetchDock/fetchdock-server#54 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
robsontenorio/mary#1129 ·
-
AI effort: [XS] priority: medium severity: minor type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Help-Wanted Needs-Triage Package-Request
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
microsoft/winget-pkgs#484368 ·
Maintainers usually reply within 1 day