https://github.com/armbian/shallow
Linux Kernel Shallow Bundles are a way to distribute kernel source code in a more compact and efficient form
https://github.com/armbian/shallow
bundle caching git github hack kernel-source linux linux-kernel optimization
Last synced: 6 months ago
JSON representation
Linux Kernel Shallow Bundles are a way to distribute kernel source code in a more compact and efficient form
- Host: GitHub
- URL: https://github.com/armbian/shallow
- Owner: armbian
- License: gpl-3.0
- Created: 2023-01-31T16:47:00.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-28T12:16:14.000Z (8 months ago)
- Last Synced: 2025-06-15T20:05:54.201Z (6 months ago)
- Topics: bundle, caching, git, github, hack, kernel-source, linux, linux-kernel, optimization
- Language: Shell
- Homepage:
- Size: 68.4 KB
- Stars: 2
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Why we need this?
- Full, non-shallow clones of Linux kernel trees are multiple gigabytes in size, and take a lot of time to process.
- Shallow clones are much smaller, but cloning/fetching shallow trees impose a huge load on the git server
- `kernel.org` has [git bundles](https://git-scm.com/docs/git-bundle) available for download over HTTPS/CDN (simple file download) and [recommend their use](https://www.kernel.org/best-way-to-do-linux-clones-for-your-ci.html) - [instructions](https://www.kernel.org/cloning-linux-from-a-bundle.html)
- This repository does the heavy lifting. Grabbing bundles, updating them from live git servers, makes them shallow and ready for consumption.
- Produced shallow bundles are around 250 Mb as of 5.18.y
- Produced shallow bundles include all tags for the version involved, including `-rc` tags
- Scheduled runs update bundles daily, using GitHub actions, including caching.