From b9eca8c7464ae2fccaa077c20c69e7232261a7b7 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 26 Jul 2015 12:03:23 -0300 Subject: Use @localhost for sync-media repository contact --- files/sync-media | 2 +- files/sync-media-init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'files') diff --git a/files/sync-media b/files/sync-media index 4e84035..5346524 100644 --- a/files/sync-media +++ b/files/sync-media @@ -18,7 +18,7 @@ function sync_media_identity { if [ -z "`git config --local user.email`" ] || [ -z "`git config --local user.name`" ]; then repo="$(basename `pwd`)" git config user.name "${repo^} Asset Manager" - git config user.email "$repo@assset.manager" + git config user.email "$repo@localhost" fi } diff --git a/files/sync-media-init b/files/sync-media-init index b32e88c..9f396ec 100644 --- a/files/sync-media-init +++ b/files/sync-media-init @@ -18,7 +18,7 @@ function sync_media_identity { if [ -z "`git config --local user.email`" ] || [ -z "`git config --local user.name`" ]; then repo="$(basename `pwd`)" git config user.name "${repo^} Asset Manager" - git config user.email "$repo@assset.manager" + git config user.email "$repo@localhost" fi } -- cgit v1.2.3 From dac78b19ce2854bd09188fb7a9750d3abcbed81e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 26 Jul 2015 16:09:52 -0300 Subject: Updates user names at sync-media scripts --- files/sync-media | 2 +- files/sync-media-init | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'files') diff --git a/files/sync-media b/files/sync-media index 5346524..a5465f1 100644 --- a/files/sync-media +++ b/files/sync-media @@ -17,7 +17,7 @@ OPTIONS="$*" function sync_media_identity { if [ -z "`git config --local user.email`" ] || [ -z "`git config --local user.name`" ]; then repo="$(basename `pwd`)" - git config user.name "${repo^} Asset Manager" + git config user.name "${repo^} Archive" git config user.email "$repo@localhost" fi } diff --git a/files/sync-media-init b/files/sync-media-init index 9f396ec..839deea 100644 --- a/files/sync-media-init +++ b/files/sync-media-init @@ -17,7 +17,7 @@ BOXES="" function sync_media_identity { if [ -z "`git config --local user.email`" ] || [ -z "`git config --local user.name`" ]; then repo="$(basename `pwd`)" - git config user.name "${repo^} Asset Manager" + git config user.name "${repo^} Archive" git config user.email "$repo@localhost" fi } -- cgit v1.2.3 From 71505abea186bb01df98821360b0c78c202bd9f8 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 1 Aug 2015 19:07:49 -0300 Subject: Issue sync_media_identity right after cloning the repo --- files/sync-media | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'files') diff --git a/files/sync-media b/files/sync-media index a5465f1..4e34817 100644 --- a/files/sync-media +++ b/files/sync-media @@ -137,7 +137,7 @@ if [ -d "$CACHE" ]; then ( cd $VOLUME/$MEDIA echo "Initializing $VOLUME/$MEDIA/$folder..." - git clone $CACHE/$folder && cd $folder && git annex init $DRIVE && \ + git clone $CACHE/$folder && cd $folder && sync_media_identity && git annex init $DRIVE && \ cd $CACHE/$folder && git remote add $DRIVE $VOLUME/$MEDIA/$folder ) fi -- cgit v1.2.3