[Midnightbsd-cvs] [MidnightBSD/mports] fd2db8: magus: speed up latest packages api
Lucas Holt
noreply at github.com
Tue May 19 10:34:18 EDT 2026
Branch: refs/heads/magus/api-latest
Home: https://github.com/MidnightBSD/mports
Commit: fd2db854e1e357fb02f677f75d8d410b3ebd482d
https://github.com/MidnightBSD/mports/commit/fd2db854e1e357fb02f677f75d8d410b3ebd482d
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: speed up latest packages api
Fetch latest blessed runs and their passing ports with bulk SQL instead of walking Class::DBI objects and loading categories per port.
AI-Assisted-by: OpenAI Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: e473f7b6385e4067d092d1bb738bc252e92ae0a8
https://github.com/MidnightBSD/mports/commit/e473f7b6385e4067d092d1bb738bc252e92ae0a8
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: include Makefile URL in latest API
Expose the GitHub URL for each port Makefile so API consumers can link directly to the source definition.
AI-Assisted-by: OpenAI Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: df7530fb46e697e98d18570f1c4fd10b8c8e02f3
https://github.com/MidnightBSD/mports/commit/df7530fb46e697e98d18570f1c4fd10b8c8e02f3
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: expose package name in latest API
Include the binary package name in each package object instead of requiring clients to read it from the JSON object key.
AI-Assisted-by: OpenAI Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: bc7509a59a03cfdc3281664fe6a818b598268911
https://github.com/MidnightBSD/mports/commit/bc7509a59a03cfdc3281664fe6a818b598268911
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: use binary package filename in latest API
Build package_name from pkgname, version, and the configured package extension so it matches generated .mport filenames.
AI-Assisted-by: OpenAI Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Commit: cdeadbefd0947e11d3efc772ec065a9cc9c3135e
https://github.com/MidnightBSD/mports/commit/cdeadbefd0947e11d3efc772ec065a9cc9c3135e
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: use boolean predicate for blessed runs
PostgreSQL rejects comparing a boolean column to integer 1, so query blessed runs with a boolean predicate in the latest API.
AI-Assisted-by: OpenAI Codex <noreply at openai.com>
Signed-off-by: Lucas Holt <luke at foolishgames.com>
Compare: https://github.com/MidnightBSD/mports/compare/fd2db854e1e3%5E...cdeadbefd094
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