[Midnightbsd-cvs] [MidnightBSD/mports] 4e2361: magus: fix latest API blessed run query (#552)

Lucas Holt noreply at github.com
Tue May 19 10:36:36 EDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/MidnightBSD/mports
  Commit: 4e2361592f37535fd6244ea2fc05c803917efb84
      https://github.com/MidnightBSD/mports/commit/4e2361592f37535fd6244ea2fc05c803917efb84
  Author: Lucas Holt <luke at foolishgames.com>
  Date:   2026-05-19 (Tue, 19 May 2026)

  Changed paths:
    M Tools/magus/www/data/magus/index.cgi

  Log Message:
  -----------
  magus: fix latest API blessed run query (#552)

## Summary
- fix /api/latest PostgreSQL query to use a boolean predicate for
runs.blessed
- resolves the runtime error from comparing boolean blessed to integer 1

## Testing
- perl -c Tools/magus/www/data/magus/index.cgi
- git diff --check -- Tools/magus/www/data/magus/index.cgi

## Summary by Sourcery

Bug Fixes:
- Correct the /api/latest SQL predicate to use the boolean blessed
column directly instead of comparing it to an integer.

Signed-off-by: Lucas Holt <luke at foolishgames.com>



To unsubscribe from these emails, change your notification settings at https://github.com/MidnightBSD/mports/settings/notifications


More information about the Midnightbsd-cvs mailing list