alibaba / alibaba/flutter_boost

[依赖优化] Git 依赖会默认克隆所有文件,但是 example 放在依赖仓库有必要吗?

Open
#2,198 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.2k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

从[这个 issue]知道 git 依赖的方式可以通过指定 shallow-clone 来避免下载所有 git 记录,但是我发现 flutter_boost 中有 example 工程,下面有 180M+ 的图片,这个真的需要吗?

Image

-----
[这个 issue]: https://github.com/dart-lang/pub/issues/3556

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the flutter_boost repository's example directory and its 180M+ of image assets, then check how the package is consumed as a Git dependency. Done means determining whether those example assets are required and defining a scoped change or documented rationale for the dependency size.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
build-system, mobile-dev
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.