commit 99a81f622288b075db2219aa6e00e5805a003186
parent 1a1214e52e6b98b0372f179027b55bcf912810e2
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Tue, 9 Jul 2024 18:56:00 +0200
fix: rename to stagit-scripts
Diffstat:
9 files changed, 17 insertions(+), 17 deletions(-)
diff --git a/.reuse/dep5 b/.reuse/dep5
@@ -1,7 +1,7 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: stagit-jayvii.de
+Upstream-Name: stagit-scripts
Upstream-Contact: JayVii <jayvii[AT]posteo[DOT]de>
-Source: https://src.jayvii.de/pub/stagit-jayvii.de
+Source: https://src.jayvii.de/pub/stagit-scripts
Files: README
Copyright: 2021-2024 JayVii <jayvii[AT]posteo[DOT]de>
diff --git a/README.md b/README.md
@@ -1,7 +1,7 @@
-# Stagit - src.jayvii.de
+# stagit-scripts
Please send patches or remarks to
-[jayvii[AT]posteo[DOT]de](mailto:jayvii[AT]poste[DOT]de)
+[jayvii+stagit-scripts[AT]posteo[DOT]de](mailto:jayvii+stagit-scripts[AT]poste[DOT]de)
Some scripts and assets to run [src.jayvii.de](https://src.jayvii.de).
@@ -38,7 +38,7 @@ There are additional links for CSS and icon files.
2. Use this template:
```bash
-git clone https://src.jayvii.de/pub/stagit-jayvii.de.git /var/www/git.myserver.com
+git clone https://src.jayvii.de/pub/stagit-scripts.git /var/www/git.myserver.com
```
3. Setup the HTML Root:
@@ -116,7 +116,7 @@ authentication credentials accordingly.
## License
-stagit-jayvii.de is licensed under AGPL-3.0-or-later.
+stagit-scripts is licensed under AGPL-3.0-or-later.
### Bundled Assets
diff --git a/bin/git_create_repo.sh b/bin/git_create_repo.sh
@@ -15,7 +15,7 @@ if [ -z "$6" ]; then
git_create_repo.sh \\
\"/var/www/git.example.git\" \\
\"pub\" \\
- \"stagit-jayvii.de\" \\
+ \"stagit-scripts\" \\
\"An example repository.\" \\
\"A long description for this respoitory.\" \\
\"JayVii\"
diff --git a/bin/git_deploy.sh b/bin/git_deploy.sh
@@ -13,7 +13,7 @@ if [ -z "$3" ]; then
git_deploy.sh \\
\"/var/www/git.example.git\" \\
\"pub\" \\
- \"stagit-jayvii.de\" \\
+ \"stagit-scripts\" \\
\"refs/tags/v0.0.0\" # optional parameters given by post-update hook
"
exit 1;
diff --git a/bin/git_export_tarball.sh b/bin/git_export_tarball.sh
@@ -13,7 +13,7 @@ if [ -z "$3" ]; then
git_export_tarball.sh \\
\"/var/www/git.example.git\" \\
\"pub\" \\
- \"stagit-jayvii.de\" \\
+ \"stagit-scripts\" \\
\"refs/tags/v0.0.0\" # optional parameters given by post-update hook
"
exit 1;
diff --git a/bin/git_post_push.sh b/bin/git_post_push.sh
@@ -13,7 +13,7 @@ if [ -z "$3" ]; then
git_post_push.sh \\
\"/var/www/git.example.git\" \\
\"pub\" \\
- \"stagit-jayvii.de\" \\
+ \"stagit-scripts\" \\
\"\$@\" # optional paramaters given by post-push hook
"
exit 1;
diff --git a/bin/git_update_repo.sh b/bin/git_update_repo.sh
@@ -12,7 +12,7 @@ if [ -z "$3" ]; then
git_update_repo.sh \\
\"/var/www/git.example.git\" \\
\"pub\" \\
- \"stagit-jayvii.de\"
+ \"stagit-scripts\"
"
exit 1;
fi
diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh
@@ -12,7 +12,7 @@ if [ -z "$3" ]; then
git_update_repo_html.sh \\
\"/var/www/git.example.git\" \\
\"pub\" \\
- \"stagit-jayvii.de\"
+ \"stagit-scripts\"
"
exit 1;
fi
diff --git a/examples/hooks/post-update.sample1 b/examples/hooks/post-update.sample1
@@ -2,7 +2,7 @@
# SPDX-License-Identifier: AGPL-3.0-or-later
# SPDX-FileCopyrightText: 2021-2024 JayVii <jayvii[AT]posteo[DOT]de>
-# Automatic packaging and deployment of stagit-jayvii.de from bare git remote
+# Automatic packaging and deployment of stagit-scripts from bare git remote
# via git archive
# Create Deployment Package
@@ -17,10 +17,10 @@ git archive main . \
":!Makefile" \
--format=tar.gz \
-o "deployable.tar.gz"
-sha256sum deployable.tar.gz > $HOME/pub/stagit-jayvii.de/exports/deployable.tar.gz.sha256
-mv deployable.tar.gz $HOME/pub/stagit-jayvii.de/exports/deployable.tar.gz
-echo "Deployable can be retrieved from pub/stagit-jayvii.de/exports/deployable.tar.gz"
+sha256sum deployable.tar.gz > $HOME/pub/stagit-scripts/exports/deployable.tar.gz.sha256
+mv deployable.tar.gz $HOME/pub/stagit-scripts/exports/deployable.tar.gz
+echo "Deployable can be retrieved from pub/stagit-scripts/exports/deployable.tar.gz"
# Deploy to webroot
-tar xfz $HOME/pub/stagit-jayvii.de/exports/deployable.tar.gz --directory $HOME/
+tar xfz $HOME/pub/stagit-scripts/exports/deployable.tar.gz --directory $HOME/
echo "New version deployed to webroot"