9001 / 9001/copyparty

--deps contains an incomplete list of optional dependencies

未关闭 适合新手
#266 3 条评论 0 个 reaction 已指派 1 人 已被 @9001 认领 在 GitHub 查看
bug
主要语言
Python
星标
46.7k
派生
1.9k
平均合并
9 天 2 小时
30 天内合并 PR
4

描述

### Describe the bug
copyparty will print out optional dependencies on startup, but it seems to be missing a couple.

relevant output when running with `--deps` flag:
```
dependencies found: sqlite (sessions and file/media indexing)
dependencies found: pillow (image thumbnails (plenty fast))
dependencies found: vips (image thumbnails (faster, eats more ram))
dependencies found: pillow-webp (create thumbnails as webp files)
dependencies found: ffmpeg (transcode audio, create spectrograms, video thumbnails, good-but-slow image thumbnails)
dependencies found: ffprobe (transcode audio, create spectrograms, video thumbnails, read audio/media tags)
dependencies found: mutagen (read audio tags (ffprobe is better but slower))
dependencies found: argon2 (secure password hashing (advanced users only))
dependencies found: pyzmq (send zeromq messages from event-hooks)
dependencies missing: pillow-heif (read .heif images with pillow (rarely useful))
dependencies found: pillow-avif (read .avif images with pillow (rarely useful))
```

### To Reproduce
Run `copyparty --deps`.

### Expected behavior
I believe it should at least also contain `pyftpdlib`, `partftpy`, `magic`, `impacket`, `pyopenssl`, `cfssl`.

贡献指南

打开贡献指南

调研方向

查看使用 --deps 标志时打印可选依赖项的代码。issue 提到了缺少的依赖项,例如 pyftpdlib、partftpy、magic、impacket、pyopenssl、cfssl。找到依赖项列表的定义位置,并添加缺少的依赖项。运行 copyparty --deps 进行测试,以验证输出包含新条目。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
cli, tooling
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。