Commit Graph
25 Commits
Author SHA1 Message Date
Donkie 6ca753bca0 Move the stress-seed script into scripts/
It has been sitting untracked in client_v2/ -- the wrong place twice
over: it is a backend tool that talks to the API over HTTP and knows
nothing about the client, and client_v2 is excluded from ruff, so
nothing was checking it.

scripts/ already holds the repo's operational scripts, and a poe task
puts it next to the other things you run against a dev instance. The
docstring gains the warning the flags deserve: --purge deletes every
vendor, filament and spool on the target, not only the generated ones.

Ruff now sees it, so scripts/ gets per-file ignores for the rules a
generator legitimately breaks -- stdout is its user interface, its data
is deliberately random and full of literal weights and diameters, and
the generators are long by nature. Type annotations and everything else
stay enforced.

Also fix --skip-fields: it skipped creating the extra-field definitions
but still generated values for them, so every POST failed with "Unknown
extra field" and the run produced nothing.

Claude-Session: https://claude.ai/code/session_01UB5KocsTBm9GL5x3Uuup5F
2026-07-30 20:59:41 +02:00
Donkie f585c51b18 Merge branch 'master' into master 2026-01-18 22:45:29 +01:00
Donkie b361aee956 CI fixes 2026-01-18 16:55:31 +01:00
Donkie b942d1f8a1 Replaced pdm with uv, updated backend deps, python 3.10 minimum, simplified install script 2026-01-07 22:01:02 +01:00
nebelung 21f46427e5 Add support for Fedora to install.sh 2025-11-18 23:10:44 -05:00
Khaos 45ea68bbc0 Enable install script to be automated
Added a script parameter to control the systemd service installation step
2024-12-28 20:24:57 +01:00
foxt 208e2f67e3 Install script: Don't bother using sudo if user is running as root
On some systems, sudo isn't present by default, so allow the user to manually elevate the script bypassing the use of sudo.
2024-08-09 10:01:59 +01:00
CooperGerman a6774dd054 Fix for https://github.com/Donkie/Spoolman/pull/335#discussion_r1578393582 2024-04-26 15:33:48 +02:00
CooperGerman c7f02f52e5 Fix for https://github.com/Donkie/Spoolman/pull/335#discussion_r1578391362 2024-04-26 15:33:48 +02:00
CooperGerman 047b0b286b Added os detection logging in terminal 2024-04-15 10:28:32 +02:00
CooperGerman 81ef9b115d Merged arch and debian install scripts for a generic one 2024-04-09 09:18:47 +02:00
CooperGerman 2a723da910 Create install_arch.sh 2024-03-21 16:37:03 +01:00
Donkie c6c75e6271 Prefix ExecStart with bash to circumvent execute permission issue
No matter how many ways we try to add execute permissions to these scripts they always seem to get lost in one way or another. Now for example Moonraker doesn't run the install_debian.sh script, so the chmod never gets run. A .zip file doesn't seem to properly store the execute permission, so this would never work.
2024-02-02 23:14:54 +01:00
Donkie e77623bab0 Fixed start script 2024-01-25 21:53:48 +01:00
Donkie 1479e13d94 Some script permission fixes 2024-01-25 20:49:16 +01:00
Donkie 52cdb01110 Updated scripts to not use PDM anymore 2024-01-25 20:13:24 +01:00
Donkie cf4add2753 Updated install script and README with new build setup 2023-12-29 13:02:24 +01:00
Donkie b59e0e12a5 Install script now installs Spoolman as a system-level service instead of user level 2023-11-25 21:38:18 +01:00
Donkie 26b5545a29 Fixed pip related stuff in install script not working on debian bookworm
It uses this new "externally managed environment" thing where you can't install system/user level pip packages
2023-11-25 21:38:18 +01:00
Donkie 6f241605f4 Run apt-get update in install script 2023-11-25 21:38:18 +01:00
Donkie dcf9a8f393 Force PDM to use venv as backend in the install script 2023-11-06 22:17:36 +01:00
Donkie 4c38557283 Fixed scripts not being executable 2023-10-23 21:45:42 +02:00
Donkie 6e2f2b08f3 Added systemd path verification to install script 2023-10-22 20:12:23 +02:00
Donkie 292ecbf166 Fixed install script systemd service script path 2023-10-21 23:20:39 +02:00
Donkie ecec122420 Added standalone installation
Resolves #27
2023-10-21 11:49:00 +02:00