diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-06 08:43:04 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2022-12-07 09:41:15 -0700 |
commit | 6f0ef4a50aabbaed05c4d6f6c1d7c5a409b437c2 (patch) | |
tree | ede6b6f3e56591e7c8139748353ef6521b850c27 /archive | |
parent | d317674a62e8301771394e2b43eb5e50f929100c (diff) | |
download | dotfiles-6f0ef4a50aabbaed05c4d6f6c1d7c5a409b437c2.tar.gz |
tidy up primary myrepos configuration
Diffstat (limited to 'archive')
-rw-r--r-- | archive/lib-src/mr/config | 108 |
1 files changed, 108 insertions, 0 deletions
diff --git a/archive/lib-src/mr/config b/archive/lib-src/mr/config new file mode 100644 index 00000000..e4117abb --- /dev/null +++ b/archive/lib-src/mr/config @@ -0,0 +1,108 @@ +# -*- mode: conf -*- + +[DEFAULT] + +# avoid hangs due to SSH connection sharing +jobs = 1 + +lib = + tucson() { + on artemis shortgeese athena hephaestus iris melete + } + +# --- run a command on athena in a sane environment + +lib = + athena_cmd () { + # here we rely on the fact that ssh already passes argument + # through `/bin/sh -c' (note use of single-quotes in this + # function) + ssh athena 'cd $HOME/'"$1"' && . $HOME/.profile && '"$2" + } + +[src/propellor] +checkout = git clone demeter:propellor propellor --branch spw3conf +post_checkout = + cd propellor + # get new release tags for merging into 'spw3conf' and 'debian' branches + git remote add -f upstream https://git.joeyh.name/git/propellor.git ||: + # This hook sets up .dir-locals.el to make it easier to follow + # Propellor's coding style. We have to use a hook because + # .dir-locals.el and the cabal sandbox must be nuked when working + # with dgit on the 'debian' branch + install-git-hooks propellor + echo ".dir-locals.el" >>.git/info/exclude +fixups = + # check that the link isn't already in place before making the link + # because otherwise we get an infinite loop of links that breaks propellor + [ -L ~/.propellor ] || ln -sf ~/src/propellor ~/.propellor + # my preferences when using propellor for configuring my own machines + git config propellor.spin-branch spw3conf + git config propellor.forbid-dirty-spin true + git config --local sendemail.to "Joey Hess <propellor@joeyh.name>" +skip = lazy + +[src/grml-live] +checkout = git clone demeter:grml-live -b spw/std +post_checkout = + cd grml-live + git remote add -f upstream github:grml/grml-live ||: +fixups = git config commit.gpgsign true +skip = lazy + +[lib/rt] +checkout = git clone athenag:rt.git rt +post_checkout = + cd rt + git annex init + if [ -d "$(hostname -s)" ]; then + mkdir -p $HOME/local/rt + cd $HOME/local/rt + touch .duplicity-ignore + mkdir -p session incomplete + if ! [ -e "complete" ]; then + ln -s $HOME/lib/rt/complete complete + fi + if ! [ -e "watch" ]; then + ln -s $HOME/lib/rt/$(hostname -s) watch + fi + fi +status = git annex status --fast +update = git annex sync --no-content origin +push = git annex sync --no-content origin +autoci = (git annex add . && git commit -m "auto commit on $(hostname -s)") || true +fixups = + git config push.default matching + # git config gcrypt.publish-participants true + git config remote.origin.gcrypt-publish-participants true + git config remote.origin.gcrypt-participants 0x0F56D0553B6D411B + git config annex.startupscan false + git config annex.autocommit true # needed for `git annex sync` + git config remote.origin.annex-ignore true + git config unpushed-tags.ignore true + +skip = lazy +pre_update = mr autoci + +[.fmail] +checkout = + mkdir ~/.fmail + movemymail +sync = movemymail +update = movemymail +push = movemymail +status = : +clean = : +commit = : +record = : +fetch = : +diff = : +log = : +grep = : +autoci = : +isclean = : +skip = ! [ -e "$HOME/local/auth/fmailsyncpass" ] + +# this is slower than other repos for which sync is defined, so have +# it go last +order = 12 |