Skip to content

one-script client, clearer version links on the website

Latest

Choose a tag to compare

@dlangille dlangille released this 24 Nov 22:24

0.3.1 was tagged before these changes were committed, so it is the same code as 0.3.0. Use 0.3.2.

Client

The client is one script again. samdrucker.repo-to-json.stdin, which converted the pkg repos output to JSON, is gone; its Lua now runs inside samdrucker.sh with flua -e.

  • What the client sends, and how it reports a failed check-in, are unchanged.
  • It still needs /usr/libexec/flua from the base system (the FreeBSD-flua package on pkgbase hosts).

Reporting website

On a package page, the Versions table now says what each link lists:

  • The host count beside a version links to the hosts on exactly that version (new ?version= filter; downloads keep it).
  • The older-than link shows how many hosts it will list, for example "73 hosts older than 0.3.0_1", and reads "none" on the oldest version.

Before, the link beside the oldest version read "hosts older than this" and listed nobody, which looked like a bug.

Upgrading

  • No changes to samdrucker.php or the database.
  • Packagers: stop installing samdrucker.repo-to-json.stdin and remove it from the plist.

Files since 0.3.0

  • deleted: clients/samdrucker.repo-to-json.stdin
  • none added or renamed