9001 / 9001/copyparty

File lifetimes without volflag

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

描述

NOTE:
**please use english, or include an english translation.** aside from that,
all of the below are optional, consider them as inspiration, delete and rewrite at will

**is your feature request related to a problem? Please describe.**
i use copyparty to store both temporary files which i would like to be automatically deleted after some time, and permanent files which should remain indefinitely (unless manually deleted).

**Describe the idea / solution you'd like**
it would be nice if copyparty supported setting lifetimes on individual files, without setting a lifetime on the entire volume.

**Describe any alternatives you've considered**
i tried to achieve this by setting the volume lifetime really far in the future, but that did not work due to #926, and is no longer possible at all since 5d96862c.

贡献指南

打开贡献指南

调研方向

查看代码库中的卷生命周期逻辑,相关代码可能位于文件管理和清理例程附近。了解当前如何为每个卷设置生命周期,以及如何将其扩展到单个文件。检查是否已有文件元数据存储,以确定可以在哪里添加单文件过期时间。创建一个具有自定义生命周期的文件,并验证自动删除是否正常工作,以此进行测试。

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

评估

技术栈
python
领域
backend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

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