lyra 9415ded220
Sync GitHub / sync (push) Successful in 7s
feat(gitea): enforce pre-receive hook in secure-gitea.py
Adds pre-receive hook management to the existing hardening script:

- Defines GIT_HOOKS with the canonical guard content (rejects workflow
  changes arriving via untrusted branches) from pre-receive-guard.sh.
- Reads the current hook via the git-hook API; treats is_active=false
  as not set.
- Sets/updates the hook via PATCH only when the content differs, using
  exact-match comparison (Gitea stores hook content verbatim).
- Mirrors the existing branch/tag protection reporting (dry-run vs
  --apply) and adds hooks to the summary counters.
- Skips archived repos and surfaces API failures like the rest of the
  script.
2026-08-26 04:12:39 -04:00
2026-07-24 23:43:31 -04:00
2025-05-14 17:43:06 -04:00
2025-12-07 18:37:50 -05:00
2025-12-07 18:37:50 -05:00
2019-11-15 19:27:27 +00:00
2025-05-13 07:54:57 -04:00
2026-07-24 23:43:31 -04:00
2025-11-18 22:18:19 -05:00
2019-11-14 22:21:09 -05:00
2026-07-25 22:43:19 -04:00
2025-05-08 16:09:35 -04:00
2023-10-04 00:05:17 +00:00

Shell Scipts

A collection of shell scripts that I like to have on my server, the setup folder contains steps to quickly configure a new debian machine.

Many of the scripts use config.sh, which there is an example config for reference. It can contain information like discord webhooks, drives to monitor storage usage, etc.

Most used scripts is the *-all.sh scripts, which are various git functions run across a collection of locations. So you can be in a code folder containing multiple projects, and run status-all.sh to get a concise summary of each codebase without having to go into each one.

S
Description
Collection of shell scripts for linux servers.
https://code.digitaladapt.com/public/shell-scripts Readme MIT
3.9 MiB
Languages
Shell 52%
Vim Script 37.4%
Python 9.2%
PowerShell 1%
JavaScript 0.2%
Other 0.1%