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

https://github.com/rpardini/armbian-git-shallow

Massage large git trees into shallow bundles for easy consumption
https://github.com/rpardini/armbian-git-shallow

Last synced: 9 months ago
JSON representation

Massage large git trees into shallow bundles for easy consumption

Awesome Lists containing this project

README

          

# Shallow Linux Kernel `git` trees

## Why

- 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 (eg: `kernel.org`)
- `kernel.org` has [git bundles](https://git-scm.com/docs/git-bundle) available for download over HTTPS/CDN (simple file download).
- in fact, they [recommend their use](https://www.kernel.org/best-way-to-do-linux-clones-for-your-ci.html) and have [instructions](https://www.kernel.org/cloning-linux-from-a-bundle.html)
- So this repo does the heavy lifting, grabbing bundles, updating them from live git servers, and makes them shallow and ready for consumption.
- Produced shallow bundles are around 250mb as of 5.18.
- Produced shallow bundles include all tags for the version involved, including `-rc` tags
- Scheduled runs update the bundles every 24hs, using GitHub actions, including caching.