Ad-hoc collection of scripts and snippets for doing jobs.
  • Python 97.2%
  • Shell 1.6%
  • Scheme 1%
  • Dockerfile 0.2%
Find a file
James Grogan 98954eb255 Fix config class ordering, stale imports, dry-run bug; add pi-admin tests
- RemoteHostConfig moved before ComposeService in config.py (NameError fix)
- stale `from machine_admin.*` imports corrected to `jgutils.machine_admin.*`
  across distro.py, deb_preseed.py, machine_setup.py, and the test
- set_is_dry_run: add `global _DRY_RUN` to fix the silent no-op bug
- tox env updated from py311 to py313 to match local Python
- test_pi_admin.py: import-smoke, config round-trip, Executor local path,
  and mocked unit tests for forgejo.run_update and _update_compose

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-01 19:00:05 +01:00
doc Add wireguard hosting note 2025-01-02 16:55:49 +00:00
infra Machine admin updates 2026-03-28 18:00:25 +00:00
src Fix config class ordering, stale imports, dry-run bug; add pi-admin tests 2026-06-01 19:00:05 +01:00
test Fix config class ordering, stale imports, dry-run bug; add pi-admin tests 2026-06-01 19:00:05 +01:00
.gitignore Change to python project format 2024-09-29 18:23:09 +01:00
Containerfile Start adding some VM automation. 2024-03-29 15:26:29 +00:00
LICENSE Add license and readme. 2024-03-29 09:56:25 +00:00
pyproject.toml Fix config class ordering, stale imports, dry-run bug; add pi-admin tests 2026-06-01 19:00:05 +01:00
README.md Split some sections into their own pages. 2024-05-31 17:00:55 +01:00

This repo has some scripts and small notes for setting up development and deployment environments on different platforms.

There is another repo just for dotfiles that may be of interest also: https://codeberg.org/jmsgrogan/dotfiles

Copyright

The contents of this repo are Copyright James Grogan 2024. Software is licensed under the AGPL. See the included LICENSE file for details.

Documentation and images can be re-used under a Creative Commons CC BY-SA license: https://creativecommons.org/licenses/by-sa/4.0/