Commit Graph
8 Commits
Author SHA1 Message Date
Daniel SamsonandClaude Opus 4.5 ee38f1ebaa docs: recommend -progress pipe:1 for FFmpeg jobs
Machine-readable progress output to stdout makes parsing easier
and follows the pattern users expect.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 10:04:21 +00:00
Daniel SamsonandClaude Opus 4.5 3b5c796afd docs: add FFmpeg integration guide
Explains FFmpeg's stdout/stderr behavior (progress goes to stderr by design),
exit codes, recommended flags, and monitoring patterns.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 09:58:54 +00:00
Daniel SamsonandClaude Opus 4.5 d95ac32739 Replace SLF4J with BarnLogger and update documentation
- Replace SLF4J/logback with custom BarnLogger across all source files
- BarnLogger is disabled by default for CLI commands, enabled for service
- Fixes #30: debug logs no longer break JSON/XML CLI output
- Add SpotBugs exclusions for BarnLogger false positives
- Update docs: remove .deb and AUR references (no longer applicable)
- Update docs: add Windows setup.exe installation instructions
- Update docs: clarify auto-update only works with Homebrew

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-22 08:04:35 +00:00
Daniel SamsonandClaude Opus 4.5 92c586152b docs: update CI/CD and releasing docs for Maven build system
Updates documentation to reflect the actual Maven-based build:
- pom.xml instead of gradle.properties for version
- mvn commands instead of gradlew
- Updated build workflow examples

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 22:35:28 +00:00
Daniel SamsonandClaude Opus 4.5 92810cabee feat(service): add IPC communication and service management
Implement proper CLI-to-service communication via Unix domain sockets,
fixing issue where CLI commands couldn't see jobs managed by the service.

Key changes:
- Add IPC client/server for CLI-service communication
- Fix directory mismatch (CLI used java.io.tmpdir, service used /tmp/barn)
- Add service management commands (start, stop, restart, reload, logs)
- Add service installation for macOS (launchd), Linux (systemd), Windows
- Add process usage monitoring (barn usage command)
- Add job state breakdown in service status (succeeded, failed, canceled)
- Add output formatters (human, JSON, XML)
- Add crash recovery and heartbeat checking
- Add structured logging with MDC context

The CLI commands now properly communicate with the running service
via IPC, ensuring consistent job state visibility.

Fixes #24

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 21:41:02 +00:00
Daniel SamsonandClaude Opus 4.5 3c09ea978d Add coding standards and quality enforcement tooling
- docs/coding-standards.md: Comprehensive Java coding standards
- CLAUDE.md: AI assistant instructions for the project
- .editorconfig: Editor configuration for consistent formatting
- pom.xml: Updated with quality plugins (Checkstyle, SpotBugs, PMD, JaCoCo)
- config/checkstyle/: Checkstyle configuration (Google Java Style based)
- config/spotbugs/: SpotBugs exclusions
- config/pmd/: PMD ruleset
- .githooks/pre-commit: Pre-commit hook for local quality checks
- .github/workflows/lint.yml: CI workflow for automated quality checks
- docs/development.md: Updated for Java/Maven toolchain

Quality enforcement:
- Checkstyle runs on validate phase
- SpotBugs and PMD run on verify phase
- JaCoCo enforces 80% line coverage, 70% branch coverage
- Pre-commit hook runs all checks before allowing commits
- CI runs all checks on push and PR

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:22:06 +00:00
Daniel SamsonandClaude Opus 4.5 cf750b6eb5 Add comprehensive project documentation
- docs/config.md: Configuration options, retry behavior, cleanup policies
- docs/development.md: Local dev setup, building from source
- docs/releasing.md: Version management, release process, AUR/Homebrew automation
- docs/ci-cd.md: GitHub Actions workflows for build, release, AUR, Homebrew
- docs/distribution.md: Package manager setup (WinGet, apt, AUR, Homebrew)
- docs/auto-update.md: Built-in barn update command
- docs/testing-automated.md: Test suite, running tests, CI integration
- docs/testing-manual.md: Step-by-step manual test procedures
- docs/jobs.md: Added retry-related state files
- README.md: Updated documentation links

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-21 12:12:16 +00:00
Daniel Samson 822086b39d Add initial files 2026-01-21 11:49:12 +00:00