-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitlab-watcher.conf
More file actions
93 lines (77 loc) · 3.64 KB
/
gitlab-watcher.conf
File metadata and controls
93 lines (77 loc) · 3.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# GitLab Watcher Configuration File
# Copy this file to ~/.claude/config/gitlab_watcher.conf and customize
# =============================================================================
# Project Directories
# =============================================================================
# List of directories to monitor for projects
# Each directory must contain a CLAUDE.md file with "Project ID: <number>"
PROJECT_DIRS=(
"/path/to/project1"
"/path/to/project2"
)
# =============================================================================
# GitLab Connection
# =============================================================================
# GitLab server URL (optional - will be extracted from git remote if not set)
GITLAB_URL="https://git.example.com"
# GitLab Personal Access Token (optional - will be extracted from git remote if not set)
GITLAB_TOKEN="your-gitlab-token"
# =============================================================================
# Workflow Labels
# =============================================================================
# Labels used to track issue/MR progress
LABEL_IN_PROGRESS="In progress"
LABEL_REVIEW="Review"
# =============================================================================
# GitLab User
# =============================================================================
# GitLab username to monitor for issues and merge requests
GITLAB_USERNAME="claude"
# =============================================================================
# Polling Interval
# =============================================================================
# How often to check for new issues/MR changes (in seconds)
POLL_INTERVAL=30
# =============================================================================
# Logging
# =============================================================================
# Path to log file
# Default: /var/log/gitlab-watcher.log (requires root)
# If not writable, it will fallback to /tmp/gitlab-watcher/watcher.log
LOG_FILE="/var/log/gitlab-watcher.log"
# Log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
# Default: INFO
LOG_LEVEL="INFO"
# =============================================================================
# Discord Notifications (Optional)
# =============================================================================
# Discord webhook URL for notifications
# Leave empty to disable Discord notifications
DISCORD_WEBHOOK=""
# =============================================================================
# AI Tool Configuration
# =============================================================================
# Available modes:
# - ollama: Ollama with Claude (default)
# - direct: Direct Claude CLI
# - opencode: Opencode CLI
# - custom: Custom command for any AI tool
AI_TOOL_MODE="ollama"
AI_TOOL_TIMEOUT=3600
# Custom command template (only used when AI_TOOL_MODE="custom")
# Available placeholders:
# {prompt} - The prompt text (required)
# {cwd} - Working directory path (optional, only if tool requires explicit dir parameter)
#
# Note: The working directory is automatically set before running the command.
# Use {cwd} only if your AI tool explicitly requires a directory parameter.
#
# Examples:
# AI_TOOL_CUSTOM_COMMAND="my-tool --prompt {prompt}" # Tool works in current dir
# AI_TOOL_CUSTOM_COMMAND="my-tool --dir {cwd} --prompt {prompt}" # Tool requires dir param
AI_TOOL_CUSTOM_COMMAND=""
# =============================================================================
# Default Branch
# =============================================================================
# Default branch name for new branches (usually "master" or "main")
DEFAULT_BRANCH="master"