Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[FR] Skip small files, add COMPRESS attr to folders, "include mode" (only compress these extension names)

未关闭
#706 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
csharp, visualbasic
领域
desktop, tooling

调研方向

Start by locating the code that selects files for compression and applies compression to folders. The issue proposes three changes: skip files smaller than 64 KB, mark folders with compressed files using the COMPRESS attribute, and add an include mode for selected extensions. Check how the existing exclude mode works; done means these options behave as described and are covered by appropriate tests.

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

描述

avoid compressing small files

A good choice is skipping <64K files
https://superuser.com/questions/411720/how-does-ntfs-compression-affect-performance

mark folders with compressed files "compressed"

Reason: on the fly compression. This help reduce fragmentation when files are changed and you need to be compressed it again.
https://superuser.com/a/1204426
Fact check required!

include mode

For now there is only "exclude mode" (don't compress for these extension names), which works well for games.
I really hope we can have "include mode" (only compress for these extension names). This would be very helpful when you only want to compress regular applications, and should only compress files that are known to have high compression ratios (exe, dll, c, h, go, html)

主要语言
Visual Basic .NET
星标
8.9k
派生
343
平均合并
6 天 13 小时
30 天内合并 PR
3

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

IridiumIO/CompactGUI 的其他 Issue

查看 IridiumIO/CompactGUI 的全部 Issue

相似的 Issue

更多 Desktop Dev Issue

把新 issue 发到你的邮箱

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