Potential dependency hell with assistant and html2text
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Steps to reproduce
- Install Mail
- Install Assistant
- ???
Expected behavior
No dependency collision
Actual behavior
https://github.com/nextcloud/assistant/blob/38c12770be3a2c29c0c022323b407aa630dab279/composer.json#L17
https://github.com/nextcloud/mail/blob/a94118bf2c36cfcf84ef3666190d5975f47888a3/composer.json#L32
^ we use a patched one. If the assistant html2text is loaded first we'll have a problem in Mail.
Mail app version
No response
Nextcloud version
No response
Mailserver or service
No response
Operating system
No response
PHP engine version
None
Nextcloud memory caching
No response
Web server
None
Database
None
Additional info
cc @julien-nc @hamza221
Contributor 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.
Research direction
Compare the dependency declarations in the linked composer.json files for nextcloud/assistant and nextcloud/mail, focusing on their html2text versions and the patched Mail dependency. Reproduce the issue by installing Mail and Assistant in the stated order, then verify that both applications can load without a dependency collision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100