audio-transcode-watcher 0.5.1__tar.gz → 0.6.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. audio_transcode_watcher-0.6.0/.beads/.gitignore +82 -0
  2. audio_transcode_watcher-0.6.0/.beads/README.md +81 -0
  3. audio_transcode_watcher-0.6.0/.beads/config.yaml +71 -0
  4. audio_transcode_watcher-0.6.0/.beads/hooks/commit-msg +32 -0
  5. audio_transcode_watcher-0.6.0/.beads/hooks/post-checkout +33 -0
  6. audio_transcode_watcher-0.6.0/.beads/hooks/post-merge +33 -0
  7. audio_transcode_watcher-0.6.0/.beads/hooks/pre-commit +33 -0
  8. audio_transcode_watcher-0.6.0/.beads/hooks/pre-push +33 -0
  9. audio_transcode_watcher-0.6.0/.beads/hooks/prepare-commit-msg +33 -0
  10. audio_transcode_watcher-0.6.0/.beads/metadata.json +7 -0
  11. audio_transcode_watcher-0.6.0/.claude/settings.json +15 -0
  12. audio_transcode_watcher-0.6.0/.github/dependabot.yml +60 -0
  13. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/.github/workflows/dockerhub-description.yml +3 -3
  14. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/.github/workflows/release.yml +17 -15
  15. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/.github/workflows/stale.yml +6 -1
  16. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/.github/workflows/tests.yml +12 -10
  17. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/.gitignore +1 -0
  18. audio_transcode_watcher-0.6.0/AGENTS.md +107 -0
  19. audio_transcode_watcher-0.6.0/CHANGELOG.md +38 -0
  20. audio_transcode_watcher-0.6.0/CLAUDE.md +103 -0
  21. audio_transcode_watcher-0.6.0/PKG-INFO +93 -0
  22. audio_transcode_watcher-0.6.0/README.md +63 -0
  23. audio_transcode_watcher-0.6.0/codecov.yml +39 -0
  24. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/config.example.yaml +12 -1
  25. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/docs/ROADMAP.md +6 -5
  26. audio_transcode_watcher-0.6.0/docs/configuration.md +114 -0
  27. audio_transcode_watcher-0.6.0/docs/development.md +39 -0
  28. audio_transcode_watcher-0.6.0/docs/getting-started.md +65 -0
  29. audio_transcode_watcher-0.6.0/docs/how-it-works.md +54 -0
  30. audio_transcode_watcher-0.6.0/docs/images/banner.svg +1 -0
  31. audio_transcode_watcher-0.6.0/docs/images/social-preview.png +0 -0
  32. audio_transcode_watcher-0.6.0/docs/usage.md +16 -0
  33. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/pyproject.toml +1 -2
  34. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/src/audio_transcode_watcher/__init__.py +1 -1
  35. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/src/audio_transcode_watcher/config.py +32 -4
  36. audio_transcode_watcher-0.6.0/src/audio_transcode_watcher/encoder.py +379 -0
  37. audio_transcode_watcher-0.6.0/src/audio_transcode_watcher/lyrics.py +171 -0
  38. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/src/audio_transcode_watcher/main.py +4 -5
  39. audio_transcode_watcher-0.6.0/src/audio_transcode_watcher/sync.py +652 -0
  40. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/src/audio_transcode_watcher/utils.py +25 -4
  41. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/tests/test_config.py +61 -0
  42. audio_transcode_watcher-0.6.0/tests/test_encoder.py +747 -0
  43. audio_transcode_watcher-0.6.0/tests/test_lyrics.py +285 -0
  44. audio_transcode_watcher-0.6.0/tests/test_main.py +204 -0
  45. audio_transcode_watcher-0.6.0/tests/test_sync.py +1707 -0
  46. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/tests/test_utils.py +121 -0
  47. audio_transcode_watcher-0.6.0/tests/test_watcher.py +372 -0
  48. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/tools/verify_sync.py +11 -7
  49. audio_transcode_watcher-0.6.0/uv.lock +350 -0
  50. audio_transcode_watcher-0.5.1/.github/dependabot.yml +0 -64
  51. audio_transcode_watcher-0.5.1/AGENTS.md +0 -18
  52. audio_transcode_watcher-0.5.1/PKG-INFO +0 -326
  53. audio_transcode_watcher-0.5.1/README.md +0 -295
  54. audio_transcode_watcher-0.5.1/docs/images/banner.svg +0 -97
  55. audio_transcode_watcher-0.5.1/src/audio_transcode_watcher/encoder.py +0 -208
  56. audio_transcode_watcher-0.5.1/src/audio_transcode_watcher/lyrics.py +0 -193
  57. audio_transcode_watcher-0.5.1/src/audio_transcode_watcher/sync.py +0 -493
  58. audio_transcode_watcher-0.5.1/tests/test_encoder.py +0 -206
  59. audio_transcode_watcher-0.5.1/tests/test_lyrics.py +0 -163
  60. audio_transcode_watcher-0.5.1/tests/test_sync.py +0 -539
  61. audio_transcode_watcher-0.5.1/tests/test_watcher.py +0 -158
  62. audio_transcode_watcher-0.5.1/uv.lock +0 -819
  63. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/.coderabbit.yaml +0 -0
  64. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/.github/FUNDING.yml +0 -0
  65. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/Dockerfile +0 -0
  66. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/LICENSE +0 -0
  67. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/SECURITY.md +0 -0
  68. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/docs/images/icon.png +0 -0
  69. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/docs/images/icon.svg +0 -0
  70. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/src/audio_transcode_watcher/watcher.py +0 -0
  71. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/tests/__init__.py +0 -0
  72. {audio_transcode_watcher-0.5.1 → audio_transcode_watcher-0.6.0}/tests/conftest.py +0 -0
@@ -0,0 +1,82 @@
1
+ # Dolt database (managed by Dolt, not git)
2
+ dolt/
3
+ embeddeddolt/
4
+ proxieddb/
5
+
6
+ # Bead text lives in the Dolt tracker only, never in git
7
+ issues.jsonl
8
+ interactions.jsonl
9
+ events.jsonl
10
+
11
+ # Runtime files
12
+ bd.sock
13
+ bd.sock.startlock
14
+ sync-state.json
15
+ last-touched
16
+ .exclusive-lock
17
+
18
+ # Daemon runtime (lock, log, pid)
19
+ daemon.*
20
+
21
+ # Push state (runtime, per-machine)
22
+ push-state.json
23
+
24
+ # Lock files (various runtime locks)
25
+ *.lock
26
+
27
+ # Credential key (encryption key for federation peer auth — never commit)
28
+ .beads-credential-key
29
+
30
+ # Local version tracking (prevents upgrade notification spam after git ops)
31
+ .local_version
32
+
33
+ proxied_server_client_info.json
34
+
35
+ # Worktree redirect file (contains relative path to main repo's .beads/)
36
+ # Must not be committed as paths would be wrong in other clones
37
+ redirect
38
+
39
+ # Sync state (local-only, per-machine)
40
+ # These files are machine-specific and should not be shared across clones
41
+ .sync.lock
42
+ export-state/
43
+ export-state.json
44
+ last_pull
45
+
46
+ # Ephemeral store (SQLite - wisps/molecules, intentionally not versioned)
47
+ ephemeral.sqlite3
48
+ ephemeral.sqlite3-journal
49
+ ephemeral.sqlite3-wal
50
+ ephemeral.sqlite3-shm
51
+
52
+ # Dolt server management (auto-started by bd)
53
+ dolt-server.pid
54
+ dolt-server.log
55
+ dolt-server.lock
56
+ dolt-server.port
57
+ dolt-server.activity
58
+
59
+ # Debug-mode pprof artifacts (written when dolt.debug: true in config.yaml)
60
+ dolt-pprof/
61
+
62
+ # Corrupt backup directories (created by bd doctor --fix recovery)
63
+ *.corrupt.backup/
64
+
65
+ # Backup data (auto-exported JSONL, local-only)
66
+ backup/
67
+
68
+ # Per-project environment file (Dolt connection config, GH#2520)
69
+ .env
70
+
71
+ # Legacy files (from pre-Dolt versions)
72
+ *.db
73
+ *.db?*
74
+ *.db-journal
75
+ *.db-wal
76
+ *.db-shm
77
+ db.sqlite
78
+ bd.db
79
+ # NOTE: Do NOT add negation patterns here.
80
+ # They would override fork protection in .git/info/exclude.
81
+ # Config files (metadata.json, config.yaml) are tracked by git by default
82
+ # since no pattern above ignores them.
@@ -0,0 +1,81 @@
1
+ # Beads - AI-Native Issue Tracking
2
+
3
+ Welcome to Beads! This repository uses **Beads** for issue tracking - a modern, AI-native tool designed to live directly in your codebase alongside your code.
4
+
5
+ ## What is Beads?
6
+
7
+ Beads is issue tracking that lives in your repo, making it perfect for AI coding agents and developers who want their issues close to their code. No web UI required - everything works through the CLI and integrates seamlessly with git.
8
+
9
+ **Learn more:** [github.com/steveyegge/beads](https://github.com/steveyegge/beads)
10
+
11
+ ## Quick Start
12
+
13
+ ### Essential Commands
14
+
15
+ ```bash
16
+ # Create new issues
17
+ bd create "Add user authentication"
18
+
19
+ # View all issues
20
+ bd list
21
+
22
+ # View issue details
23
+ bd show <issue-id>
24
+
25
+ # Update issue status
26
+ bd update <issue-id> --claim
27
+ bd update <issue-id> --status done
28
+
29
+ # Sync with Dolt remote
30
+ bd dolt push
31
+ ```
32
+
33
+ ### Working with Issues
34
+
35
+ Issues in Beads are:
36
+ - **Git-native**: Stored in Dolt database with version control and branching
37
+ - **AI-friendly**: CLI-first design works perfectly with AI coding agents
38
+ - **Branch-aware**: Issues can follow your branch workflow
39
+ - **Sync-ready**: Uses Dolt remotes for backup and team sharing
40
+
41
+ ## Why Beads?
42
+
43
+ ✨ **AI-Native Design**
44
+ - Built specifically for AI-assisted development workflows
45
+ - CLI-first interface works seamlessly with AI coding agents
46
+ - No context switching to web UIs
47
+
48
+ 🚀 **Developer Focused**
49
+ - Issues live in your repo, right next to your code
50
+ - Works offline, syncs when you push
51
+ - Fast, lightweight, and stays out of your way
52
+
53
+ 🔧 **Git Integration**
54
+ - Dolt-native sync via bd dolt push / bd dolt pull
55
+ - Branch-aware issue tracking
56
+ - Dolt-native three-way merge resolution
57
+
58
+ ## Get Started with Beads
59
+
60
+ Try Beads in your own projects:
61
+
62
+ ```bash
63
+ # Install Beads
64
+ curl -sSL https://raw.githubusercontent.com/steveyegge/beads/main/scripts/install.sh | bash
65
+
66
+ # Initialize in your repo
67
+ bd init
68
+
69
+ # Create your first issue
70
+ bd create "Try out Beads"
71
+ ```
72
+
73
+ ## Learn More
74
+
75
+ - **Documentation**: [github.com/steveyegge/beads/docs](https://github.com/steveyegge/beads/tree/main/docs)
76
+ - **Quick Start Guide**: Run `bd quickstart`
77
+ - **Examples**: [github.com/steveyegge/beads/examples](https://github.com/steveyegge/beads/tree/main/examples)
78
+
79
+ ---
80
+
81
+ *Beads: Issue tracking that moves at the speed of thought* ⚡
@@ -0,0 +1,71 @@
1
+ # Beads Configuration File
2
+ # This file configures default behavior for all bd commands in this repository
3
+ # All settings can also be set via environment variables (BD_* prefix)
4
+ # or overridden with command-line flags
5
+
6
+ # Issue prefix for this repository (used by bd init)
7
+ # If not set, bd init will auto-detect from directory name
8
+ # Example: issue-prefix: "myproject" creates issues like "myproject-1", "myproject-2", etc.
9
+ # issue-prefix: ""
10
+
11
+ # Use no-db mode: JSONL-only, no Dolt database
12
+ # When true, .beads/issues.jsonl is the only local store
13
+ # no-db: false
14
+
15
+ # Enable JSON output by default
16
+ # json: false
17
+
18
+ # Feedback title formatting for mutating commands (create/update/close/dep/edit)
19
+ # 0 = hide titles, N > 0 = truncate to N characters
20
+ # output:
21
+ # title-length: 255
22
+
23
+ # Default actor for audit trails (overridden by BEADS_ACTOR or --actor)
24
+ # actor: ""
25
+
26
+ # Export events (audit trail) to .beads/events.jsonl on each flush/sync
27
+ # When enabled, new events are appended incrementally using a high-water mark.
28
+ # Use 'bd export --events' to trigger manually regardless of this setting.
29
+ # events-export: false
30
+
31
+ # Multi-repo configuration (experimental - bd-307)
32
+ # Allows hydrating from multiple repositories and routing writes to the correct database
33
+ # repos:
34
+ # primary: "." # Primary repo (where this database lives)
35
+ # additional: # Additional repos to hydrate from (read-only)
36
+ # - ~/beads-planning # Personal planning repo
37
+ # - ~/work-planning # Work planning repo
38
+
39
+ # Dolt-native backup (periodic backup for off-machine recovery)
40
+ # This is full database backup only. Cross-machine sync uses Dolt remotes.
41
+ # backup:
42
+ # enabled: false # Disable auto-backup entirely
43
+ # interval: 15m # Minimum time between auto-backups
44
+ # git-push: false # Disable git push (backup locally only)
45
+ # git-repo: "" # Separate git repo for backups (default: project repo)
46
+
47
+ # Optional JSONL auto-export for viewers, interchange, and issue-level migration.
48
+ # Disabled by default; enable only when an integration needs fresh .beads/issues.jsonl.
49
+ # Use relative paths under .beads/ for JSONL import/export filenames.
50
+ # export:
51
+ # auto: false
52
+ # path: issues.jsonl
53
+ # interval: 60s
54
+ # git-add: false
55
+ # import:
56
+ # path: issues.jsonl
57
+
58
+ # Integration settings (access with 'bd config get/set')
59
+ # Non-secret keys (stored in the database):
60
+ # - jira.url, jira.project
61
+ # - linear.team_id
62
+ # - github.org, github.repo
63
+ #
64
+ # Secret keys (stored in this file but prefer env vars to avoid git exposure):
65
+ # - linear.api_key → use LINEAR_API_KEY env var instead
66
+ # - github.token → use GITHUB_TOKEN env var instead
67
+
68
+ # Public repo: the tracker syncs only to this private Gitea repo, never to GitHub.
69
+ sync.remote: "git+ssh://git@gitea.geiser.cloud:2222/giteaer/audio-transcode-watcher-beads.git"
70
+ # Every bd write is a Dolt commit, so a push always carries it.
71
+ dolt.auto-commit: "on"
@@ -0,0 +1,32 @@
1
+ #!/usr/bin/env sh
2
+ # Every commit in this repository has one author. Clones that point
3
+ # core.hooksPath at .beads/hooks skip the machine-wide git hooks, so this
4
+ # hook does the one job those had here: it removes Co-Authored-By trailer
5
+ # lines from the commit message. A mention inside a sentence is kept.
6
+ #
7
+ # A message without such a line is never touched. Otherwise the cleaned
8
+ # text goes to a fresh file from mktemp, is compared with a second run,
9
+ # and is renamed over the message only when every step worked; on any
10
+ # failure the message stays as it was and the commit stops.
11
+ msg="$1"
12
+ [ -f "$msg" ] || exit 0
13
+ case $msg in -*) msg="./$msg" ;; esac
14
+ found=0
15
+ LC_ALL=C grep -q -i '^[[:space:]]*co-authored-by:' "$msg" || found=$?
16
+ case $found in
17
+ 0) ;;
18
+ 1) exit 0 ;;
19
+ *) echo "commit-msg: cannot read $msg" >&2; exit 1 ;;
20
+ esac
21
+ clean() {
22
+ LC_ALL=C awk 'tolower($0) !~ /^[ \t\r\f\v]*co-authored-by:/ { line[++n] = $0 }
23
+ END { while (n > 0 && line[n] ~ /^[ \t\r\f\v]*$/) n--
24
+ for (i = 1; i <= n; i++) print line[i] }' < "$msg"
25
+ }
26
+ tmp=$(mktemp "$msg.XXXXXX") || { echo "commit-msg: cannot create a temporary file beside $msg" >&2; exit 1; }
27
+ trap 'rm -f "$tmp"' EXIT
28
+ trap 'exit 1' HUP INT TERM
29
+ clean > "$tmp" && clean | cmp -s - "$tmp" || { echo "commit-msg: cannot rewrite $msg" >&2; exit 1; }
30
+ trap '' HUP INT TERM
31
+ mv -f "$tmp" "$msg" || { echo "commit-msg: cannot replace $msg" >&2; exit 1; }
32
+ exit 0
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.1.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run post-checkout "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run post-checkout "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run post-checkout "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'post-checkout' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run post-checkout "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'post-checkout' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'post-checkout'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.1.2 ---
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.1.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run post-merge "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run post-merge "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run post-merge "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'post-merge' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run post-merge "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'post-merge' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'post-merge'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.1.2 ---
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.1.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run pre-commit "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run pre-commit "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run pre-commit "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'pre-commit' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run pre-commit "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'pre-commit' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'pre-commit'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.1.2 ---
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.1.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run pre-push "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run pre-push "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run pre-push "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'pre-push' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run pre-push "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'pre-push' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'pre-push'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.1.2 ---
@@ -0,0 +1,33 @@
1
+ #!/usr/bin/env sh
2
+ # --- BEGIN BEADS INTEGRATION v1.1.2 ---
3
+ # This section is managed by beads. Do not remove these markers.
4
+ if command -v bd >/dev/null 2>&1; then
5
+ export BD_GIT_HOOK=1
6
+ _bd_timeout=${BEADS_HOOK_TIMEOUT:-300}
7
+ _bd_used_perl=0
8
+ if command -v timeout >/dev/null 2>&1; then
9
+ timeout "$_bd_timeout" bd hooks run prepare-commit-msg "$@"
10
+ _bd_exit=$?
11
+ elif command -v gtimeout >/dev/null 2>&1; then
12
+ gtimeout "$_bd_timeout" bd hooks run prepare-commit-msg "$@"
13
+ _bd_exit=$?
14
+ elif command -v perl >/dev/null 2>&1; then
15
+ _bd_used_perl=1
16
+ perl -e 'alarm shift; exec @ARGV' "$_bd_timeout" bd hooks run prepare-commit-msg "$@"
17
+ _bd_exit=$?
18
+ else
19
+ echo >&2 "beads: hook 'prepare-commit-msg' running without timeout; install coreutils or perl to enable BEADS_HOOK_TIMEOUT"
20
+ bd hooks run prepare-commit-msg "$@"
21
+ _bd_exit=$?
22
+ fi
23
+ if [ $_bd_exit -eq 124 ] || { [ $_bd_used_perl -eq 1 ] && [ $_bd_exit -eq 142 ]; }; then
24
+ echo >&2 "beads: hook 'prepare-commit-msg' timed out after ${_bd_timeout}s — continuing without beads"
25
+ _bd_exit=0
26
+ fi
27
+ if [ $_bd_exit -eq 3 ]; then
28
+ echo >&2 "beads: database not initialized — skipping hook 'prepare-commit-msg'"
29
+ _bd_exit=0
30
+ fi
31
+ if [ $_bd_exit -ne 0 ]; then exit $_bd_exit; fi
32
+ fi
33
+ # --- END BEADS INTEGRATION v1.1.2 ---
@@ -0,0 +1,7 @@
1
+ {
2
+ "database": "dolt",
3
+ "backend": "dolt",
4
+ "dolt_mode": "embedded",
5
+ "dolt_database": "audio_transcode_watcher",
6
+ "project_id": "6161f9c6-e633-44bd-b41e-c21d91f921d9"
7
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "hooks": {
3
+ "SessionStart": [
4
+ {
5
+ "hooks": [
6
+ {
7
+ "command": "bd prime --hook-json",
8
+ "type": "command"
9
+ }
10
+ ],
11
+ "matcher": ""
12
+ }
13
+ ]
14
+ }
15
+ }
@@ -0,0 +1,60 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: pip
4
+ directory: /
5
+ schedule:
6
+ interval: weekly
7
+ day: monday
8
+ open-pull-requests-limit: 10
9
+ commit-message:
10
+ prefix: deps
11
+ labels:
12
+ - dependencies
13
+ - automated
14
+ groups:
15
+ minor-and-patch:
16
+ patterns:
17
+ - '*'
18
+ update-types:
19
+ - minor
20
+ - patch
21
+ pip_security:
22
+ applies-to: security-updates
23
+ patterns:
24
+ - '*'
25
+ ignore:
26
+ - dependency-name: '*'
27
+ update-types:
28
+ - version-update:semver-major
29
+ - package-ecosystem: docker
30
+ directory: /
31
+ schedule:
32
+ interval: weekly
33
+ day: monday
34
+ commit-message:
35
+ prefix: docker
36
+ labels:
37
+ - docker
38
+ - automated
39
+ groups:
40
+ docker_security:
41
+ applies-to: security-updates
42
+ patterns:
43
+ - '*'
44
+ - package-ecosystem: github-actions
45
+ directory: /
46
+ schedule:
47
+ interval: monthly
48
+ commit-message:
49
+ prefix: ci
50
+ labels:
51
+ - ci
52
+ - automated
53
+ groups:
54
+ github-actions:
55
+ patterns:
56
+ - '*'
57
+ github_actions_security:
58
+ applies-to: security-updates
59
+ patterns:
60
+ - '*'
@@ -10,10 +10,10 @@ jobs:
10
10
  update-description:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
- - uses: actions/checkout@v4
13
+ - uses: actions/checkout@v7
14
14
 
15
- - uses: peter-evans/dockerhub-description@v4
15
+ - uses: peter-evans/dockerhub-description@v5
16
16
  with:
17
17
  username: ${{ secrets.DOCKERHUB_USERNAME }}
18
18
  password: ${{ secrets.DOCKERHUB_TOKEN }}
19
- repository: drumsergio/audio-transcoder
19
+ repository: drumsergio/audio-transcoder
@@ -12,14 +12,16 @@ env:
12
12
  jobs:
13
13
  test:
14
14
  runs-on: ubuntu-latest
15
+ # The Docker image's base, so the real-file tests run against the FFmpeg
16
+ # the image ships. Ubuntu's FFmpeg 6.1 misses corruption that 7.1 catches.
17
+ container: python:3.14-slim
15
18
  steps:
16
- - uses: actions/checkout@v4
19
+ - name: Install FFmpeg and the tools checkout and Codecov need
20
+ run: |
21
+ apt-get update
22
+ apt-get install -y --no-install-recommends ffmpeg git curl gnupg ca-certificates
17
23
 
18
- - name: Set up Python 3.14
19
- uses: actions/setup-python@v5
20
- with:
21
- python-version: '3.14'
22
- cache: 'pip'
24
+ - uses: actions/checkout@v7
23
25
 
24
26
  - name: Install dependencies
25
27
  run: |
@@ -39,27 +41,27 @@ jobs:
39
41
  PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
40
42
 
41
43
  steps:
42
- - uses: actions/checkout@v4
44
+ - uses: actions/checkout@v7
43
45
 
44
46
  - name: Extract version from tag
45
47
  id: version
46
48
  run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
47
49
 
48
50
  - name: Set up QEMU
49
- uses: docker/setup-qemu-action@v3
51
+ uses: docker/setup-qemu-action@v4
50
52
 
51
53
  - name: Set up Docker Buildx
52
- uses: docker/setup-buildx-action@v3
54
+ uses: docker/setup-buildx-action@v4
53
55
 
54
56
  - name: Log into Docker Hub
55
- uses: docker/login-action@v3
57
+ uses: docker/login-action@v4
56
58
  with:
57
59
  username: ${{ secrets.DOCKERHUB_USERNAME }}
58
60
  password: ${{ secrets.DOCKERHUB_TOKEN }}
59
61
 
60
62
  - name: Extract Docker metadata
61
63
  id: meta
62
- uses: docker/metadata-action@v5
64
+ uses: docker/metadata-action@v6
63
65
  with:
64
66
  images: ${{ env.IMAGE_NAME }}
65
67
  tags: |
@@ -69,7 +71,7 @@ jobs:
69
71
  type=raw,value=latest,enable={{is_default_branch}}
70
72
 
71
73
  - name: Build and push Docker image
72
- uses: docker/build-push-action@v6
74
+ uses: docker/build-push-action@v7
73
75
  with:
74
76
  context: .
75
77
  push: true
@@ -80,7 +82,7 @@ jobs:
80
82
  cache-to: type=gha,mode=max
81
83
 
82
84
  - name: Create GitHub Release
83
- uses: softprops/action-gh-release@v2
85
+ uses: softprops/action-gh-release@v3
84
86
  with:
85
87
  generate_release_notes: true
86
88
  body: |
@@ -97,7 +99,7 @@ jobs:
97
99
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98
100
 
99
101
  - name: Set up Python
100
- uses: actions/setup-python@v5
102
+ uses: actions/setup-python@v7
101
103
  with:
102
104
  python-version: '3.14'
103
105
 
@@ -112,4 +114,4 @@ jobs:
112
114
  env:
113
115
  TWINE_USERNAME: __token__
114
116
  TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
115
- run: twine upload dist/*
117
+ run: twine upload dist/*
@@ -3,11 +3,16 @@ on:
3
3
  schedule:
4
4
  - cron: '0 0 * * *'
5
5
 
6
+ permissions:
7
+ actions: write
8
+ issues: write
9
+ pull-requests: write
10
+
6
11
  jobs:
7
12
  stale:
8
13
  runs-on: ubuntu-latest
9
14
  steps:
10
- - uses: actions/stale@v9
15
+ - uses: actions/stale@v11
11
16
  with:
12
17
  stale-issue-message: 'This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs.'
13
18
  close-issue-message: 'This issue was closed because it has been stale for 14 days with no activity.'