aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_remote.py
AgeCommit message (Collapse)AuthorFilesLines
14 hourssbb-remote 0.9.0: SBo orphans tile on the DashboardDanilo M.1-0/+7
stats gains "orphans", the packages whose .info says MAINTAINER="orphaned - no maintainer" (0.14s over the tree on the VM). The placeholder tile shows the count and opens Packages with only the orphaned chip on. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 hourssbb-remote 0.8.0: bundled deps from upstream's deps listDanilo M.1-2/+73
hint-update downloads every URL the version bump changed for its md5, not only the first (a vendor tarball carrying the version kept its old md5). A package named in the new [manifests] table (default: neovim's cmake.deps/deps.txt) has its extra DOWNLOAD URLs matched to the deps list at the new version, by GitHub repo then by stem, and moved where the version differs: mkhint's url mode. manifest_packages and the refusal of those packages are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 hourssbb-remote 0.7.0: phantom deps list, suggestions, fix-currentDanilo M.1-0/+65
The list moves to phantom_deps_file (/etc/sb-builder/phantom-deps, mkhint's format), edited with phantom-add/phantom-remove. phantom-list also suggests every REQUIRES name no package of the repo has, with who needs it: SBo drops a package when it enters the official tree. The fix-current job (and fix-current-now, inline for sbshadow) is mkhint -F: listed deps merged into DELREQUIRES, .bak first, add only. manifest_packages is neovim alone: openvino lives in the overlay now. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
22 hourssbb-remote 0.6.0: hint-new takes several packages, no versionDanilo M.1-7/+9
Each gets the .info pin; Update selected sets a version later. One package that already has a hint refuses the whole job before it starts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
23 hourssbb-remote 0.5.0: hint jobs replace mkhint's hint editingDanilo M.1-0/+253
hint-update and hint-new run the helper's own _hint command: version bumps as mkhint does them (also '-' and dotless URL forms, never inside MD5SUM values), a DELREQUIRES-only hint pinned from the .info first, md5 of the first URL of each DOWNLOAD pair, --no-dl as DOWNLOAD="no", .bak before each write and a final SBB-RESULT line that job-result returns. hint-diff, hint-revert and hint-delete answer at once. neovim and openvino are refused until phase 4b. Job ids accept hyphenated kinds. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 hoursbuild-log: show the last attempt's log, not always build.logDanilo M.1-0/+12
slackrepo writes one log per command (build, rebuild, update, remove). A failed update left build.log from an older successful build, so the viewer showed a success next to a failed result. The helper (0.4.1) now returns the newest command log and its name, which the viewer shows in the title and header. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 hoursResults tab with build logs; count only real packagesDanilo M.1-1/+43
sbb-remote 0.4.0: results lists slackrepo's last attempt per package (newest first, with built version and whether a log dir exists), and build-log returns the end of a package's build.log (512 KB) plus its resource.log, accepting only category/pkg paths. Result counts skip the legacy buildresults rows keyed by package file name: the 213 "bad" on the Dashboard matched no package. GUI: a Results tab (chips per result, table sorted by attempt time, detail pane, log viewer window that keeps the failure at the end), opened from the ribbon or by clicking a result in the Dashboard bar or legend, filtered to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 hoursDashboard: VM meters and sparklines, slackpkg tileDanilo M.1-0/+27
sbb-remote 0.3.0 adds CPU busy % (two /proc/stat samples), RAM total and available, disk / total and free, and the last slackpkg update (LASTUPDATE) and package change (/var/log/packages), replacing disk_free. The Dashboard shows a VM card with meters for CPU, RAM and disk / (accent, warning from 80%, critical from 90%, value always printed) and CPU/RAM sparklines from this session's polls, and a slackpkg tile in place of VM load. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
37 hourssbb-remote 0.2.0: inventory, slackrepo and publish jobs, signing keyDanilo M.1-4/+155
inventory lists every package with its effective version (hint over .info), build state from the slackrepo DB, summary, and the parsed hint found by slackrepo's search order; hints are parsed with shlex, never sourced. Job kinds now return argv plus env: slackrepo build/rebuild/update/remove (packages validated against the tree, --preview, --no-publish sets SBB_PUBLISH=n) and publish (sb-publish). gpg-status and gpg-unlock let the GUI unlock the package signing key in gpg-agent; the passphrase comes on stdin only, every other subprocess gets stdin=DEVNULL. A real slackrepo run is refused while the key is locked. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 hoursAdd sbb-remote, the VM helperDanilo M.1-0/+281
Single-file stdlib helper the GUI runs over ssh. JSON commands for version, stats and jobs; job-start runs a fixed table of kinds (sbpull, sbshadow, each requiring --yes or --no) detached with setsid and no stdin, one at a time under a flock; job-follow streams a log from a byte offset so the GUI can drop and resume; job-kill sends SIGTERM to the job's process group. A job whose runner died is reported lost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>