Skip to content

an automated repository that aggregates many guix dotfiles to be indexed by GitHub's search

Notifications You must be signed in to change notification settings

aemogie/guix-aggregator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guix-aggregator

an automated repository that aggregates many guix dotfiles to be indexed by GitHub’s search. this is updated once a day.

if you find your dotfiles in here and would like it removed, please feel free to contact me or open a pull request. or if you want to add your dotfiles instead, also please, PRs are welcome.

repositories

repos/aemogie/aetheriahttps://github.com/aemogie/aetheria.gitdev
repos/abcdw/rdehttps://git.sr.ht/~abcdw/rdemaster
repos/anemofilia/zerohttps://codeberg.org/anemofilia/zero.gitmain
repos/look/misakohttps://codeberg.org/look/misako.gitmain
repos/hako/Testamenthttps://git.boiledscript.com/hako/Testament.gittrunk
repos/jjba23/ssshttps://codeberg.org/jjba23/sss.gittrunk
repos/divyaranjan/dotfileshttps://codeberg.org/divyaranjan/dotfiles.gitmaster
repos/wloxyz/guix-configshttps://codeberg.org/wloxyz/guix-configs.gitmain
repos/lynn/galahadhttps://git.transistor.house/lynn/galahad.gitmain
repos/ngraves/dotfileshttps://git.sr.ht/~ngraves/dotfilesmain
repos/efraim/guix-confighttps://git.sr.ht/~efraim/guix-configmaster
repos/SqrtMinusOne/dotfileshttps://github.com/SqrtMinusOne/dotfiles.gitmaster
repos/boeg/homehttps://git.sr.ht/~boeg/homemaster
repos/aartaka/guix-confighttps://github.com/aartaka/guix-configmaster
repos/jsoo1/dotfileshttps://github.com/jsoo1/dotfiles.gitrelease
repos/polhuang/dotfileshttps://github.com/polhuang/dotfilesmaster
repos/SunJukebox/guix-confighttps://github.com/SunJukebox/guix-configmaster
repos/mrh/dotfileshttps://codeberg.org/mrh/dotfiles.gittrunk
repos/krevedkokun/dotfileshttps://git.sr.ht/~krevedkokun/dotfilesmaster

motivation

i found myself frequently going through multiple git forges, some of which don’t have search/grep functionality, trying to find how others solved certain problems that i was encountering. this is an attempt to aggregate useful guix dotfiles and other guix related projects, so i can easily find examples.

cloning

as this repository might be large, for cloning for the purpose of making edits, i recommend these command which clones everything excluding the repos/ subdirectory

git clone --depth=1 --filter=tree:0 --sparse --no-checkout https://github.com/aemogie/guix-aggregator.git
cd guix-aggregator
git sparse-checkout set --no-cone "/*" "!repos/"
git checkout
--depth=1
shallow clones only the last commit
--filter=tree:0
partial clone, ensures that no trees are cloned at all on first clone. the fetching happens lazily whenever you checkout files. --filter=blob:none would also work if you want the trees to be fetched, but not the file contents.
--sparse
initializes the repository to be a sparse-checkout. by default this checks-out the toplevel directory, without recursng into any subdirectories. this is often good enough if you’re only modifying one of these files.
--no-checkout
this is optional, and more aggressive in that it forces sparse to not even checkout the very top level directory either which is the default behaviour.

if using --no-checkout the git clone should only fetch a single object, similar to the sample output below.

Cloning into 'guix-aggregator'...
remote: Enumerating objects: 1, done.
remote: Counting objects: 100% (1/1), done.
remote: Total 1 (delta 0), reused 1 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (1/1), done.

if you didn’t include --no-checkout and already have the file you want to edit, then the next two commands are not relevant. otherwise, we further configure the already initialized sparse checkout to include everything but the repos/ subdirectory. finally we run git checkout to ask git to finally checkout what we have requested.

About

an automated repository that aggregates many guix dotfiles to be indexed by GitHub's search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published