[inactive-gitlab-users] Remove users who only posted snippets
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [inactive-gitlab-users] Remove users who only posted snippets
- Date: Mon, 29 Nov 2021 12:03:26 +0000 (UTC)
commit 3670f5233efc588d94ff16ddb7a31eb225d00bd9
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Mon Nov 29 13:03:07 2021 +0100
Remove users who only posted snippets
inactive-gitlab-users.sh | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/inactive-gitlab-users.sh b/inactive-gitlab-users.sh
index 2aa8b50..1883e89 100755
--- a/inactive-gitlab-users.sh
+++ b/inactive-gitlab-users.sh
@@ -7,8 +7,9 @@ echo
cd /usr/local/sysadmin-bin/gitlab
python3 ./inactive-gitlab-users.py trust-groups >/dev/null
python3 ./inactive-gitlab-users.py trust-2fa >/dev/null
-python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE}
+python3 ./inactive-gitlab-users.py snippets
+python3 ./inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} > /tmp/inactive.json
python3 ./inactive-gitlab-users.py delete-from-json /tmp/inactive.json
echo "Dumping json on pod's stdout"
-cat /tmp/inactive-gitlab-users.json
+cat /tmp/inactive.json
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]