feature: integrate bigb for a homepage overview dashboard #18
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
argus/backend!18
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/17-bigb-dashboard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Wires
bigb-djangoin as an optional dependency (same guarded-import pattern as vieuxhibou/poulpinou), scoped per-user to the projects they can actually read on Forgejo, and seeds a shared read-only overview dashboard (projects count, reports by status, reports by type) idempotently viapost_migrate.Frontend side (embedding the dashboard on the homepage): argus/frontend#8.
Closes #17.
🤖 Generated with Claude Code
https://claude.ai/code/session_014HiJrn6J6vhyFfC2qyY4uh
📊 Rapports Argus pour cette PR
bigb stays genuinely optional (settings.HAS_BIGB, same as vieuxhibou/poulpinou) -- local dev and the "test" CI job don't install requirements-gilles.txt. test_bigb.py imported bigb directly at module level with no guard, so pytest's collection step crashed with ModuleNotFoundError, aborting the *entire* test run (not just this file) -- "collected 178 items / 1 error", "Interrupted". - pytest.importorskip("bigb") skips just this module when it's missing, instead of crashing collection outright. - .pylintrc: ignored-modules=bigb -- unlike vieuxhibou/poulpinou (only ever imported inside try/except ImportError, which pylint already special-cases), bigb_seed.py/bigb_queries.py/test_bigb.py import it directly, guarded by settings.HAS_BIGB checks pylint can't statically follow, so it flagged import-error (E0401) on every one of them. - # noqa: E402 on each import after the importorskip guard, so autopep8's format-check doesn't try to hoist them back above it (undoing the guard) while pylint's wrong-import-position stays disabled for the same block. Found via this branch's own CI (argus/backend#18): pytest and lint both failed. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013EeueXTWCT4Y6EbeideZcm