summaryrefslogtreecommitdiff
path: root/.mrconfig.in
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-07-15 17:54:30 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-07-15 17:54:30 -0700
commit3ba2153ec326e624427cf0ec3b51b7e2670ae271 (patch)
tree0534978bba2800ceac0bfcfb372134af5ce762cf /.mrconfig.in
parent6583ffd09df19794af76c88630c51bbd361748a4 (diff)
downloaddotfiles-3ba2153ec326e624427cf0ec3b51b7e2670ae271.tar.gz
use 'mr push' to sync athena apt repo
Diffstat (limited to '.mrconfig.in')
-rw-r--r--.mrconfig.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/.mrconfig.in b/.mrconfig.in
index 99f82d46..fcc0318d 100644
--- a/.mrconfig.in
+++ b/.mrconfig.in
@@ -613,13 +613,17 @@ checkout = git clone athena:athena-apt athena-apt
post_checkout =
cd athena-apt
git annex init --version=7
- git remote add athena athenah:local/src/athena-apt
+ git annex enableremote athena
git annex get .
skip = lazy
update = git annex sync --no-content
-sync = git annex sync --content
-push = git annex sync --content
+push =
+ git annex add
+ git annex unlock db
+ git annex sync --content
+ ssh athena find /srv/www/debian -type f -exec chmod 644 '{}' +
+ ssh athena find /srv/www/debian -type d -exec chmod 755 '{}' +
fixups =
git config push.default matching
git config annex.startupscan false
@@ -628,6 +632,7 @@ fixups =
git config annex.thin true
git config annex.addunlocked true
git config mrrepo.review-unused false
+ git config remote.athena.annex-tracking-branch master
# The git-diff-files(1) call in ~/bin/git-is-clean fails in v7
# git-annex repos with unlocked empty files, which this repo often