nextcloud / nextcloud/mail

Potential dependency hell with assistant and html2text

Open
#10,404 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. Install Mail
  2. Install Assistant
  3. ???
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.