An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          



Armbian logo


Linux Kernel Shallow Bundles



GitHub Workflow Status



Mastodon Follow
Discord
Liberapay patrons

## 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.