Skip to content

Reduce repo size ? Squash Commit ? #313

@Carreau

Description

@Carreau

I'm currently on a "slow" connection (~1MiB/s, fluctuating) and it takes forever to clone, and regularly fail (connection reset by peer), my guess github has a timeout.

Can I suggest to have a napari.github.io-full that potentially contain the full history, and this being only a squashed version ?
Or maybe there is a way to work only with a shallow clones, but last time I checked you can't push from shallow clone.

It may also speedup CI operation as this full repo is ~900Mb, and the worktree is "only" 170Mb.

I could also suggest to see if we can convert most of the gif to webm to get a ~10x decrease in animation size ? Webm is quite well supported.

3.4M  painting.gif
223K  painting.webm
 20M  pathology.gif
2.8M  pathology.webm
 18M  point_annotator_demo.gif
100K  point_annotator_demo.webm

(ffmpeg -i painting.gif -c vp9 -b:v 0 -crf 40 painting.webm)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Task.

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions