aboutsummaryrefslogtreecommitdiff
path: root/services/git-add-user
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-02-23 16:40:32 +0800
committerYuqian Yang <crupest@crupest.life>2025-02-23 16:40:32 +0800
commit7e54b1ebe280d760347b1b640c9d4d0038ca6c58 (patch)
tree4d42c7a84066f0c2ae320e32dc7d86072fd0e4ae /services/git-add-user
parent34704b2090c48d9ab9e7458475fd701a38706ae7 (diff)
downloadcrupest-7e54b1ebe280d760347b1b640c9d4d0038ca6c58.tar.gz
crupest-7e54b1ebe280d760347b1b640c9d4d0038ca6c58.tar.bz2
crupest-7e54b1ebe280d760347b1b640c9d4d0038ca6c58.zip
feat(python): move python codes.
Diffstat (limited to 'services/git-add-user')
-rwxr-xr-xservices/git-add-user14
1 files changed, 0 insertions, 14 deletions
diff --git a/services/git-add-user b/services/git-add-user
deleted file mode 100755
index 2e500d2..0000000
--- a/services/git-add-user
+++ /dev/null
@@ -1,14 +0,0 @@
-#! /usr/bin/bash
-
-set -e
-
-script_dir="$(dirname "$0")"
-. "$script_dir/common.bash"
-
-ps_dir="$CRUPEST_PROJECT_DIR/$CRUPEST_DATA_DIR/git/private"
-ps_file="$ps_dir/user-info"
-echo "Password file at $ps_file"
-[[ -d "$ps_dir" ]] || mkdir -p "$ps_dir"
-[[ -f "$ps_file" ]] || touch "$ps_file"
-
-exec docker run -it --rm -v "$ps_file:/user-info" httpd htpasswd "/user-info" "$1"