aboutsummaryrefslogtreecommitdiff
path: root/src (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-03-30Revert "src/infrastructure/scripts/report.sh: v2"EuAndreh1-152/+57
This reverts commit 11f3daea8627effd0127b28d2d46fb53af49a7fc. Not a good idea, after all. Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 5734d72d6dfcb52c96cd72469bd00d43c076e70f git notes --ref=refs/notes/ci-data show 5734d72d6dfcb52c96cd72469bd00d43c076e70f Exit status: 0 Duration: 20
2023-03-30src/infrastructure/scripts/report.sh: v2EuAndreh1-57/+152
Now instead of working through each commit searially, we build a graph of steps and work on that by emitting make(1) code to be executed. May this code prove to be diffucult to modify or extend, this is a valid commit "checkpoint" to revert to in order to recover the *exact* same behaviour, but simpler code. Simple benchmarks suggest that: - on a single core, the scrit is ~15% slower; - with 2 cores it is as fast as the original; - as more cores are added, the faster it gets, up to $(nproc) when using more cores doesn't change anything. That means that it is a useful optimization for our desktops, but a hinderance for our current server, which only has a single core.
2023-03-30backup.sh: Fix capture of $STATUS to the desired behaviourEuAndreh1-2/+2
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show be84eba41f29df406d5bedc6a7228840c89f4e9f git notes --ref=refs/notes/ci-data show be84eba41f29df406d5bedc6a7228840c89f4e9f Exit status: 0 Duration: 22
2023-03-28conf.env: Separate $RSYNC_ACCT from $RSYNC_ADDREuAndreh1-1/+2
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 14f999d2e8d6a07b38f5b40585c067a2fda2ea9b git notes --ref=refs/notes/ci-data show 14f999d2e8d6a07b38f5b40585c067a2fda2ea9b Exit status: 0 Duration: 23
2023-03-28gitconfig: Use generic values for user.{email,name}EuAndreh1-2/+2
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 2405e9f6467dfe05e5c2241995f8a37b2c8c1e76 git notes --ref=refs/notes/ci-data show 2405e9f6467dfe05e5c2241995f8a37b2c8c1e76 Exit status: 0 Duration: 22
2023-03-28report.sh: Add CSS dark mode supportEuAndreh1-0/+23
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 3e3add45e429f6a7118d8fafde2dcb962383b925 git notes --ref=refs/notes/ci-data show 3e3add45e429f6a7118d8fafde2dcb962383b925 Exit status: 0 Duration: 21
2023-03-28report.sh: Use "find | while read" over "for `find`"EuAndreh1-1/+1
2023-03-28check.sh: Add btrfs-scrub(8) and btrfs-check(8) to routineEuAndreh1-1/+14
2023-03-28system.scm: Do not export all repositories over git:// by defaultEuAndreh1-3/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show d48b95a3431d6dcb711970dc6848ecebc67dd6c6 git notes --ref=refs/notes/ci-data show d48b95a3431d6dcb711970dc6848ecebc67dd6c6 Exit status: 0 Duration: 22
2023-03-27conf.env: Use common $OUT_SUFFIXEuAndreh1-2/+3
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 4c65458474aabbdb28ffd41401479a809f5d0518 git notes --ref=refs/notes/ci-data show 4c65458474aabbdb28ffd41401479a809f5d0518 Exit status: 0 Duration: 19
2023-03-27src/infrastructure/scripts/report.sh: Auto-fetch missing commitsEuAndreh2-1/+8
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show ad6dd6bab44a685fb2c61f9b6d9df3d66a10cacf git notes --ref=refs/notes/ci-data show ad6dd6bab44a685fb2c61f9b6d9df3d66a10cacf Exit status: 0 Duration: 20
2023-03-27src/infrastructure/config/conf.env: Use file to parameterize reconfigure(8) ↵EuAndreh6-8/+32
and report(8) scripts Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 2bbe3fd19e1f057a7129365cdb4ef5e9336e977e git notes --ref=refs/notes/ci-data show 2bbe3fd19e1f057a7129365cdb4ef5e9336e977e Exit status: 128 Duration: 0
2023-03-27rc.sh: Conditionally "mkdir -p $XDG_*"EuAndreh1-6/+10
2023-03-27Use "deployer" as the owner of HTML filesEuAndreh2-3/+3
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 13347c1620a15f2d5c4921a56df3fe42f9db52df git notes --ref=refs/notes/ci-data show 13347c1620a15f2d5c4921a56df3fe42f9db52df Exit status: 0 Duration: 20
2023-03-27packages.scm: Add missing input packagesEuAndreh1-0/+3
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 2231f3f879f1807b8a14d98de29bb4edb77477c0 git notes --ref=refs/notes/ci-data show 2231f3f879f1807b8a14d98de29bb4edb77477c0 Exit status: 0 Duration: 31
2023-03-27Add minimum support for generating actual HTML files in public/EuAndreh1-0/+33
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 07ef3c2a2cce2f055a1174a8f49c4895dc9f6b30 git notes --ref=refs/notes/ci-data show 07ef3c2a2cce2f055a1174a8f49c4895dc9f6b30 Exit status: 1 Duration: 12
2023-03-27reconfigure.sh: Fix permissions of rsynced filesEuAndreh1-1/+2
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 3b00cb22292d20a451f2da500a86fef58cd4db68 git notes --ref=refs/notes/ci-data show 3b00cb22292d20a451f2da500a86fef58cd4db68 Exit status: 0 Duration: 16
2023-03-27Build HTML and install it via CIEuAndreh3-0/+82
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show ab742a1ebc61d571bb9d13d7692ef7e245bba192 git notes --ref=refs/notes/ci-data show ab742a1ebc61d571bb9d13d7692ef7e245bba192 Exit status: 0 Duration: 27
2023-03-27system.scm: Simpler code for extending the "user" listEuAndreh1-2/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show c227facb380177eaea6179b73fcb9de4a21f6c8f git notes --ref=refs/notes/ci-data show c227facb380177eaea6179b73fcb9de4a21f6c8f Exit status: 0 Duration: 50
2023-03-27system.scm: Stop trimming slurped files by defaultEuAndreh1-6/+4
2023-03-21system.scm: Strip "-latest" suffix from "guile-heredoc"EuAndreh1-1/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show a39c158a663e0e7832d22b79f54c1758a6ec7f1d git notes --ref=refs/notes/ci-data show a39c158a663e0e7832d22b79f54c1758a6ec7f1d Exit status: 0 Duration: 18
2023-03-20known_hosts.txt: Add keys for "azula"EuAndreh1-0/+10
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 492f2b9c200eb001027876fed63962c8df2c4aef git notes --ref=refs/notes/ci-data show 492f2b9c200eb001027876fed63962c8df2c4aef Exit status: 0 Duration: 14
2023-03-20system.scm: Set (mail-in-home? #f)EuAndreh1-7/+2
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show aa387393acf8b113b6688ac14c1176b1077cbd0f git notes --ref=refs/notes/ci-data show aa387393acf8b113b6688ac14c1176b1077cbd0f Exit status: 0 Duration: 20
2023-03-20reconfigure.sh: Make "current" a relative symlinkEuAndreh1-1/+1
2023-03-20system.scm: Move nginx /r/velhinho config to the beginning of the listEuAndreh1-8/+8
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show d91fcd75a6bcadf1f3bbb55082cea185cf7e708a git notes --ref=refs/notes/ci-data show d91fcd75a6bcadf1f3bbb55082cea185cf7e708a Exit status: 0 Duration: 12
2023-03-20system.scm: Derive SSH key name from tldEuAndreh1-1/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 79d055455ab4117832375887839be9d80062b92a git notes --ref=refs/notes/ci-data show 79d055455ab4117832375887839be9d80062b92a Exit status: 0 Duration: 12
2023-03-20src/infrastructure/config/known_hosts.txt: Add "velhinho" keysEuAndreh1-0/+10
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 0cb5a1eb00a400ceda32d99b1e869477c1a255bd git notes --ref=refs/notes/ci-data show 0cb5a1eb00a400ceda32d99b1e869477c1a255bd Exit status: 0 Duration: 11
2023-03-20src/infrastructure/config/known_hosts.txt: Remove note on pilotis.netEuAndreh1-1/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 4522304bc30039bef462ae14a3c0077f5ec71767 git notes --ref=refs/notes/ci-data show 4522304bc30039bef462ae14a3c0077f5ec71767 Exit status: 0 Duration: 12
2023-03-20system.scm: Better handling of newline at the end of all read filesEuAndreh1-3/+3
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show f057a8f3a3448d8766134c6dbbcf5a8e3eea25c2 git notes --ref=refs/notes/ci-data show f057a8f3a3448d8766134c6dbbcf5a8e3eea25c2 Exit status: 0 Duration: 16
2023-03-20Manage public SSH files as "extra-etc-file" instead of like a secretEuAndreh3-4/+7
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 7ffcd694068d484842be0b87a9aeeda0a7720568 git notes --ref=refs/notes/ci-data show 7ffcd694068d484842be0b87a9aeeda0a7720568 Exit status: 0 Duration: 15
2023-03-20Makefile: Also upload managed SSH known_hosts fileEuAndreh1-0/+7
2023-03-19system.scm: Use correct rottlog configEuAndreh1-1/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 1441c05c8031a5477723e70c790c8e4e11bb2ba4 git notes --ref=refs/notes/ci-data show 1441c05c8031a5477723e70c790c8e4e11bb2ba4 Exit status: 0 Duration: 19
2023-03-18system.scm: Enable directory listing of nginxEuAndreh1-0/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 7476d57e8048f94dc14068f01efcc94a23c386bc git notes --ref=refs/notes/ci-data show 7476d57e8048f94dc14068f01efcc94a23c386bc Exit status: 0 Duration: 25
2023-03-17system.scm: Use queue:cgit-pre-configurationEuAndreh1-28/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 66b0ccc0923d22df8183c02b0bef7dcff4998269 git notes --ref=refs/notes/ci-data show 66b0ccc0923d22df8183c02b0bef7dcff4998269 Exit status: 0 Duration: 15
2023-03-17system.scm: dovecot2 => dovecotEuAndreh1-2/+2
2023-03-16system.scm: Use patched version of rottlogEuAndreh1-1/+5
2023-03-16system.scm: Use explicit "enable-submission?" from internet-postfix-service-typeEuAndreh1-1/+2
2023-03-16gc.sh: Do not "sudo -u deployer" since we are already rootEuAndreh1-1/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 2376e2963c43381b0696eae6509769c25ae2a1cc git notes --ref=refs/notes/ci-data show 2376e2963c43381b0696eae6509769c25ae2a1cc Exit status: 0 Duration: 22
2023-03-16scripts/: Consistent spacing between usage and help stringsEuAndreh2-0/+2
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show ad925a002e4375ce0c0fa97c42505f8c5305fe48 git notes --ref=refs/notes/ci-data show ad925a002e4375ce0c0fa97c42505f8c5305fe48 Exit status: 2 Duration: 0
2023-03-15src/infrastructure/scripts/r.sh: Remove unused scriptEuAndreh2-78/+0
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 7d777dc298cc15f6068b1f4d3e48a4dc81e4e613 git notes --ref=refs/notes/ci-data show 7d777dc298cc15f6068b1f4d3e48a4dc81e4e613 Exit status: 0 Duration: 27
2023-03-15system.scm: add "SetEnv" to sshdEuAndreh1-0/+1
Explicitly set `GIT_CONFIG_GLOBAL=/etc/gitconfig` so that one can push with options (e.g. `git push -o ci.skip`) without having to authorize Git repositories individually, as `/etc/gitconfig` already contains that. Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show c4549e002be6b8ebddcb38f981131ec6e1a3862c git notes --ref=refs/notes/ci-data show c4549e002be6b8ebddcb38f981131ec6e1a3862c Exit status: 0 Duration: 17
2023-03-15check.sh: Add from root@$HOSTNAME to SubjectEuAndreh1-1/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 79253572b35c09439427721f263f0572b0de0bb6 git notes --ref=refs/notes/ci-data show 79253572b35c09439427721f263f0572b0de0bb6 Exit status: 0 Duration: 22
2023-03-15system.scm: Remove unused Postfix extra configEuAndreh1-5/+1
- `alias_database` is already being performed the `mail-aliases-service-type`; - `canonical_maps` is unused AFAICT. Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show c55e1af4b4e8e7983207ef7f7383c82517bddb36 git notes --ref=refs/notes/ci-data show c55e1af4b4e8e7983207ef7f7383c82517bddb36 Exit status: 0 Duration: 19
2023-03-15system.scm: Add daily cronjob for system checksEuAndreh2-0/+81
check.sh: sends emails to important RFC aliases, so that one verifies it daily. Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show cef4a6eb0dcac1ad5ce919c61edea25d50b1db1d git notes --ref=refs/notes/ci-data show cef4a6eb0dcac1ad5ce919c61edea25d50b1db1d Exit status: 0 Duration: 20
2023-03-15system.scm: Fix duplicate NS entry in reverse IP zonesEuAndreh1-2/+2
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 433862a4a47e24122cae66f06a2923d2b0fff196 git notes --ref=refs/notes/ci-data show 433862a4a47e24122cae66f06a2923d2b0fff196 Exit status: 0 Duration: 17
2023-03-15system.scm: Reorder DNS constants definitionsEuAndreh1-2/+2
2023-03-15cronjob.sh: Increase timeout to 2 hoursEuAndreh1-1/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show feb62e902e3b5b02db448af9451e943847a3b837 git notes --ref=refs/notes/ci-data show feb62e902e3b5b02db448af9451e943847a3b837 Exit status: 0 Duration: 21
2023-03-15system.scm: Add first version of knot-service-type configurationEuAndreh1-0/+100
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 9fc99577c27450f1ccad3e8db68f7a0751db9349 git notes --ref=refs/notes/ci-data show 9fc99577c27450f1ccad3e8db68f7a0751db9349 Exit status: 0 Duration: 42
2023-03-14system.scm: Re-order dhcp-client-service-typeEuAndreh1-1/+1
Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 94888e91b56ee1ea6b1524ca39534eeac253e006 git notes --ref=refs/notes/ci-data show 94888e91b56ee1ea6b1524ca39534eeac253e006 Exit status: 0 Duration: 17
2023-03-14system.scm: Better indentation of (skeletons ...) fieldEuAndreh1-1/+3