From 3ba2153ec326e624427cf0ec3b51b7e2670ae271 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 15 Jul 2021 17:54:30 -0700 Subject: use 'mr push' to sync athena apt repo --- .mrconfig.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to '.mrconfig.in') 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 -- cgit v1.2.3