Skip to main content

Bugmark

A powerful, command-line bug tracking utility designed for speed and developer workflow integration.

Features

  • Severity Levels: Categorize bugs as critical, major, or minor.
  • Status Lifecycle: Track bugs from open → in-progress → resolved → closed.
  • Bug Age Tracking: Automatic warnings for [STALE] bugs (older than 30 days).
  • Owner & Deadlines: Assign bugs to owners and set due dates.
  • Comments & History: Full audit log of who changed what and when.
  • Advanced Search:
    • Filter by tag, file, status, or severity.
    • Regex & fuzzy text search in descriptions.
    • Sort by date, severity, status, or file.
  • Saved Filters: Create quick views for common queries.
  • Storage Options: Use JSON for simplicity or SQLite for performance.
  • Git Integration:
    • Link bugs to commits via Git hooks.
    • Reference bugs in commit messages.
    • Scan codebase for TODO and FIXME to auto-create bugs.
  • Analytics:
    • ASCII charts for status and severity distribution.
    • CI/CD integration: fail builds if critical bugs exist.
  • Import/Export: Support for JSON, CSV, and Markdown.

Installation

pip install bugmark

🛠 Usage

Adding a Bug

bugmark add "Fix the memory leak" --file main.py --line 42 --tag performance --severity critical --owner aarav

Listing Bugs

# List all open bugs
bugmark list

# List critical bugs in a specific file
bugmark list --file main.py --severity critical

# Search for bugs using regex
bugmark list --search "memory.*leak"

Managing Bugs

# Show details, comments, and history
bugmark show [id]

# Add a comment
bugmark comment [id] "I've identified the root cause in the allocator."

# Mark as resolved
bugmark resolve [id]

Advanced Features

# Scan for TODOs and auto-add them
bugmark scan --add

# Show bug statistics
bugmark stats

# CI Check (fails if critical bugs exist)
bugmark ci-check --threshold critical

Configuration

Create a .bugmark.json in your project root to customize storage:

{
    "storage_type": "sqlite",
    "data_dir": "./.bugmark",
    "saved_filters": {
        "urgent": {"severity": "critical", "status": "open"}
    }
}

📄 License

MIT

Metadata

Release files for bugmark 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bugmark 1.0.0
File Size Uploaded
bugmark-1.0.0.tar.gz 12.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bugmark 1.0.0
File Interpreter ABI Platform
bugmark-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 26.4 kB

Release files / bugmark-1.0.0.tar.gz

Download URL bugmark-1.0.0.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a181f3ffb702dfb4eab906e8727587f026f72a69d7e3a18fa5823dfc28378c0e
BLAKE2b-256 checksum
How to use checksums
8287ef59e8c29fb8f8a2c5cbaab784f1ddc8b4acc22fed37631263466396c48b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / bugmark-1.0.0-py3-none-any.whl

Download URL bugmark-1.0.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec3f7319f11aedcf118d6ddb26a8e29158b050325da915169388e5e7eaf90d06
BLAKE2b-256 checksum
How to use checksums
d1c79c2addde486c1683a1e42fda3cbeaaa7568166ffd043173c0fbfd352d495
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page