From 3223a360d0e70f75497aecf8c033a4f987335b5b Mon Sep 17 00:00:00 2001 From: olpc user Date: Fri, 10 Jan 2020 18:05:43 -0800 Subject: I'm confused and am handling multiple unexpected systems issues --- git-maintenance/.bsv/info/.keepme | 0 git-maintenance/.bsv/objects/.keepme | 0 git-maintenance/.bsv/tx/.keepme | 0 git-maintenance/resume.sh | 13 +++++++++++++ 4 files changed, 13 insertions(+) create mode 100644 git-maintenance/.bsv/info/.keepme create mode 100644 git-maintenance/.bsv/objects/.keepme create mode 100644 git-maintenance/.bsv/tx/.keepme create mode 100755 git-maintenance/resume.sh (limited to 'git-maintenance') diff --git a/git-maintenance/.bsv/info/.keepme b/git-maintenance/.bsv/info/.keepme new file mode 100644 index 0000000..e69de29 diff --git a/git-maintenance/.bsv/objects/.keepme b/git-maintenance/.bsv/objects/.keepme new file mode 100644 index 0000000..e69de29 diff --git a/git-maintenance/.bsv/tx/.keepme b/git-maintenance/.bsv/tx/.keepme new file mode 100644 index 0000000..e69de29 diff --git a/git-maintenance/resume.sh b/git-maintenance/resume.sh new file mode 100755 index 0000000..38e4e0f --- /dev/null +++ b/git-maintenance/resume.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +echo +echo == Enter password. == +echo +PASS="pass:$(echo 53616c7465645f5f6eb8e165b79052263e125e4070138e26b3d127bb36e3e943f212d2d761a4426170cc2c17c58bc5d67c99eddb1df6ee1c02d7b33dd95ecdf0 | xxd -ps -r | openssl aes-256-cbc -salt -pbkdf2 -d)" +ROOTDIR="$(git rev-parse --show-toplevel)" +cd "$ROOTDIR" +GITDIR="$ROOTDIR/.git" +MAINTDIR="$ROOTDIR/git-maintenance" + +cd "$MAINTDIR" +node bsvup/cli.js upload -f "$GITDIR"/encrypted -t dir -p "${PASS#pass:}" -v # -b -- cgit v1.2.3