This is an automated email from the ASF dual-hosted git repository. maximebeauchemin pushed a commit to branch setup-git-lfs in repository https://gitbox.apache.org/repos/asf/superset.git
commit 2a2d43d2da995f580feac848e0be3e024d6ffa51 Author: Maxime Beauchemin <[email protected]> AuthorDate: Fri Apr 5 11:52:34 2024 -0700 chore: set up git lfs for larger files I recently realized that even shallow clones of this repo are pretty large, with a fair amount of that coming from video and image files. Here I setup the large video in our README to be stored in git lfs as well as image files for the docs. This change should be 100% seemless for anyone who has git-lfs installed and shouldn't affect common workflows. Also, to reap the benefits in CI, I'm setting up the checkout actions to more systematically not bring those files as they aren't required for most CI workloads, with the exception of building docs. Given the load on CI and how much we checkout the repo there, this should have a significant impact on speed and bandwidth of CI. I estimated about 1/2 the size from this handful of files Note that this change only affects the repo moving forward, meaning only shallow clones will see a benefit. There's a possibility of doing this retroactively, but it requires modifying git history and I would not recommend that. --- .gitattributes | 14 ++++++++++++++ docs/static/img/applitools.png | Bin 37046 -> 130 bytes docs/static/img/dashboard.jpg | Bin 128565 -> 131 bytes docs/static/img/dashboard_card_view.jpg | Bin 143732 -> 131 bytes docs/static/img/data-point.jpg | Bin 1795832 -> 132 bytes docs/static/img/explore.jpg | Bin 150805 -> 131 bytes docs/static/img/explore_ui.jpg | Bin 154997 -> 131 bytes docs/static/img/github-dark.png | Bin 23562 -> 130 bytes docs/static/img/github.png | Bin 8640 -> 129 bytes docs/static/img/grid-background.jpg | Bin 124889 -> 131 bytes docs/static/img/hero-screenshot.jpg | Bin 138539 -> 131 bytes docs/static/img/roadmap.png | Bin 522043 -> 131 bytes docs/static/img/root-cert-example.png | Bin 41232 -> 130 bytes docs/static/img/sql_lab.jpg | Bin 117310 -> 131 bytes docs/static/video/superset-video-4k.mp4 | Bin 66845979 -> 133 bytes 15 files changed, 14 insertions(+) diff --git a/.gitattributes b/.gitattributes index 79f44a6b26..dccc562a6b 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,15 @@ docker/**/*.sh text eol=lf +*.mp4 filter=lfs diff=lfs merge=lfs -text +docs/static/img/hero-screenshot.jpg filter=lfs diff=lfs merge=lfs -text +docs/static/img/sql_lab.jpg filter=lfs diff=lfs merge=lfs -text +docs/static/img/dashboard.jpg filter=lfs diff=lfs merge=lfs -text +docs/static/img/dashboard_card_view.jpg filter=lfs diff=lfs merge=lfs -text +docs/static/img/data-point.jpg filter=lfs diff=lfs merge=lfs -text +docs/static/img/explore.jpg filter=lfs diff=lfs merge=lfs -text +docs/static/img/explore_ui.jpg filter=lfs diff=lfs merge=lfs -text +docs/static/img/grid-background.jpg filter=lfs diff=lfs merge=lfs -text +docs/static/img/github.png filter=lfs diff=lfs merge=lfs -text +docs/static/img/roadmap.png filter=lfs diff=lfs merge=lfs -text +docs/static/img/root-cert-example.png filter=lfs diff=lfs merge=lfs -text +docs/static/img/applitools.png filter=lfs diff=lfs merge=lfs -text +docs/static/img/github-dark.png filter=lfs diff=lfs merge=lfs -text diff --git a/docs/static/img/applitools.png b/docs/static/img/applitools.png index 89034f3780..a8dbbaec2c 100644 Binary files a/docs/static/img/applitools.png and b/docs/static/img/applitools.png differ diff --git a/docs/static/img/dashboard.jpg b/docs/static/img/dashboard.jpg index c1e539f76e..7529145fcf 100644 Binary files a/docs/static/img/dashboard.jpg and b/docs/static/img/dashboard.jpg differ diff --git a/docs/static/img/dashboard_card_view.jpg b/docs/static/img/dashboard_card_view.jpg index 5b32c67b38..3dd4a05178 100644 Binary files a/docs/static/img/dashboard_card_view.jpg and b/docs/static/img/dashboard_card_view.jpg differ diff --git a/docs/static/img/data-point.jpg b/docs/static/img/data-point.jpg index fe916f03fa..e4a0439933 100644 Binary files a/docs/static/img/data-point.jpg and b/docs/static/img/data-point.jpg differ diff --git a/docs/static/img/explore.jpg b/docs/static/img/explore.jpg index 110b551492..10ce15fb00 100644 Binary files a/docs/static/img/explore.jpg and b/docs/static/img/explore.jpg differ diff --git a/docs/static/img/explore_ui.jpg b/docs/static/img/explore_ui.jpg index 8097337278..94a20a618e 100644 Binary files a/docs/static/img/explore_ui.jpg and b/docs/static/img/explore_ui.jpg differ diff --git a/docs/static/img/github-dark.png b/docs/static/img/github-dark.png index 7492fcb54a..b7bbc2cd2f 100644 Binary files a/docs/static/img/github-dark.png and b/docs/static/img/github-dark.png differ diff --git a/docs/static/img/github.png b/docs/static/img/github.png index 9490ffc6d2..400bedad65 100644 Binary files a/docs/static/img/github.png and b/docs/static/img/github.png differ diff --git a/docs/static/img/grid-background.jpg b/docs/static/img/grid-background.jpg index 865bfe85ca..21818513db 100644 Binary files a/docs/static/img/grid-background.jpg and b/docs/static/img/grid-background.jpg differ diff --git a/docs/static/img/hero-screenshot.jpg b/docs/static/img/hero-screenshot.jpg index 7b2d993908..04a3625044 100644 Binary files a/docs/static/img/hero-screenshot.jpg and b/docs/static/img/hero-screenshot.jpg differ diff --git a/docs/static/img/roadmap.png b/docs/static/img/roadmap.png index ea088c7fbe..b4192ee25c 100644 Binary files a/docs/static/img/roadmap.png and b/docs/static/img/roadmap.png differ diff --git a/docs/static/img/root-cert-example.png b/docs/static/img/root-cert-example.png index 4b011cd1a6..c5e466015c 100644 Binary files a/docs/static/img/root-cert-example.png and b/docs/static/img/root-cert-example.png differ diff --git a/docs/static/img/sql_lab.jpg b/docs/static/img/sql_lab.jpg index 8278ee6138..4f72c60d88 100644 Binary files a/docs/static/img/sql_lab.jpg and b/docs/static/img/sql_lab.jpg differ diff --git a/docs/static/video/superset-video-4k.mp4 b/docs/static/video/superset-video-4k.mp4 index 068ce30c6f..b420b17390 100644 Binary files a/docs/static/video/superset-video-4k.mp4 and b/docs/static/video/superset-video-4k.mp4 differ
