0.16.0: sysupdate, and swap on a box that has none - #38
Merged
Conversation
Eight commits since 0.15.0, one of them a new command, so the minor moves. - sysupdate: apt lists, apt packages and snaps in one command, reachable from the pit as /update (#37) - root-ubuntu.sh: a 2G swapfile on a box with no swap at all, plus vm.swappiness=10 (#36) - root-ubuntu.sh: one ssh-agent per user under systemd (#35) - root-ubuntu.sh: lm-sensors, smartmontools and the rest of the hardware inventory set, with sensor detection on bare metal - companions: diskpush, and installers that are not npm (#34) - porkbun: Porkbun's own pre-flight, structured refusals, and the fact that registration spends prepaid credit rather than a card (#32, #33) Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013TerE4nvNU3jvS51nRR6Pd
ThreatCrush Security Scan16 finding(s) HIGH/CRITICAL: 5 | MEDIUM: 2 | LOW: 9
Snippets are redacted; ThreatCrush never prints matched credential material. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the version to 0.16.0 so the tag and release have something to point at. Eight commits since
v0.15.0, one of them a new command, so the minor moves.What is in it
sysupdate(#37) — apt lists, apt packages and snaps in one command, reachable from the pit as/update. Usesaptrather thanapt-geton purpose, only reaches forsudowhen it is not already root, skips snaps on a box with no snapd, and stops at the first step that fails.A 2G swapfile on a box with no swap at all (#36) —
root-ubuntu.shonly acts where there is no swap whatsoever, so a machine with a swap partition or zram is left alone. Declines on btrfs and zfs, inside a container, and when the disk cannot spare the space. Setsvm.swappiness=10alongside.One ssh-agent per user under systemd (#35).
The hardware inventory set — lm-sensors, smartmontools, nvme-cli, ipmitool, acpi, powertop, with sensor detection on bare metal.
companions: diskpush, and installers that are not npm (#34).porkbun(#32, #33) — Porkbun's own pre-flight, structured refusals kept structured, and the fact that registration spends prepaid credit rather than a card.After this merges
v0.16.0gets tagged and released. Worth noting while I am here:v0.15.0was tagged but its GitHub release was never created, so the releases page still showsv0.14.0as latest. This release will jump over that gap; say the word if you want av0.15.0release backfilled too.576 tests passing, typecheck unchanged.
🤖 Generated with Claude Code
https://claude.ai/code/session_013TerE4nvNU3jvS51nRR6Pd