-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdmtools.env.example
More file actions
166 lines (128 loc) · 5.67 KB
/
dmtools.env.example
File metadata and controls
166 lines (128 loc) · 5.67 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# DMTools Environment Configuration Example
# Copy this file to 'dmtools.env' or '.env' and fill in your actual values
# Keep your actual environment files secure and never commit them to version control
# =============================================================================
# JIRA CONFIGURATION
# =============================================================================
# Your Jira instance base URL (without trailing slash)
JIRA_BASE_PATH=https://yourcompany.atlassian.net
# Your Jira email address
JIRA_EMAIL=your.email@company.com
# Jira API token (create at: https://id.atlassian.com/manage-profile/security/api-tokens)
JIRA_API_TOKEN=ATATT3xFfGF0T...your-token-here
# Authentication type (basic, bearer, or cookie)
JIRA_AUTH_TYPE=basic
# Optional: Wait before performing operations (true/false)
# JIRA_WAIT_BEFORE_PERFORM=false
# Optional: Enable debug logging (true/false)
# JIRA_LOGGING_ENABLED=false
# Optional: Clear cache on startup (true/false)
# JIRA_CLEAR_CACHE=false
# Optional: Project for extra fields
# JIRA_EXTRA_FIELDS_PROJECT=YOUR_PROJECT
# =============================================================================
# CONFLUENCE CONFIGURATION
# =============================================================================
# Your Confluence instance base URL
CONFLUENCE_BASE_PATH=https://yourcompany.atlassian.net/wiki
# Confluence email (usually same as Jira)
CONFLUENCE_EMAIL=your.email@company.com
# Confluence API token (same as Jira token if using Atlassian Cloud)
CONFLUENCE_API_TOKEN=ATATT3xFfGF0T...your-token-here
# Authentication type
CONFLUENCE_AUTH_TYPE=basic
# Optional: Default space key
# CONFLUENCE_DEFAULT_SPACE=YOURSPACE
# Optional: GraphQL path for advanced queries
# CONFLUENCE_GRAPHQL_PATH=/graphql
# =============================================================================
# AZURE DEVOPS CONFIGURATION
# =============================================================================
# Azure DevOps organization name (from your ADO URL: dev.azure.com/{organization})
ADO_ORGANIZATION=yourorganization
# Default Azure DevOps project name
ADO_PROJECT=YourProject
# Azure DevOps Personal Access Token (create at: https://dev.azure.com/{org}/_usersSettings/tokens)
# Scopes needed: Work Items (Read, Write), Code (Read)
ADO_PAT_TOKEN=your-pat-token-here
# Optional: Base path (usually default is fine)
# ADO_BASE_PATH=https://dev.azure.com
# =============================================================================
# AI PROVIDERS CONFIGURATION
# =============================================================================
# Google Gemini API Key (get from: https://aistudio.google.com/app/apikey)
GEMINI_API_KEY=AIza...your-api-key-here
# Default Gemini model
GEMINI_DEFAULT_MODEL=gemini-2.0-flash
# Gemini base path (usually default is fine)
# GEMINI_BASE_PATH=https://generativelanguage.googleapis.com/v1beta/models
# OpenAI API Key (if using OpenAI)
# OPEN_AI_API_KEY=sk-...your-openai-key-here
# OpenAI model
# OPEN_AI_MODEL=gpt-4
# AI retry configuration
# AI_RETRY_AMOUNT=3
# AI_RETRY_DELAY_STEP=20000
# =============================================================================
# SOURCE CONTROL CONFIGURATION
# =============================================================================
# GitHub Personal Access Token (create at: https://github.com/settings/tokens)
GITHUB_TOKEN=ghp_...your-github-token-here
# Optional: GitHub configuration
# GITHUB_WORKSPACE=your-org
# GITHUB_REPOSITORY=your-repo
# GITHUB_BRANCH=main
# GITHUB_BASE_PATH=https://api.github.com
# GitLab Personal Access Token (if using GitLab)
# GITLAB_TOKEN=glpat-...your-gitlab-token-here
# GITLAB_WORKSPACE=your-group
# GITLAB_REPOSITORY=your-repo
# GITLAB_BRANCH=main
# GITLAB_BASE_PATH=https://gitlab.com/api/v4
# Bitbucket App Password (if using Bitbucket)
# BITBUCKET_TOKEN=your-app-password-here
# BITBUCKET_WORKSPACE=your-workspace
# BITBUCKET_REPOSITORY=your-repo
# BITBUCKET_BRANCH=main
# BITBUCKET_API_VERSION=2.0
# BITBUCKET_BASE_PATH=https://api.bitbucket.org
# =============================================================================
# DESIGN TOOLS CONFIGURATION
# =============================================================================
# Figma Personal Access Token (create at: https://www.figma.com/settings)
FIGMA_API_KEY=figd_...your-figma-token-here
# Figma base path (usually default is fine)
# FIGMA_BASE_PATH=https://api.figma.com
# =============================================================================
# OTHER INTEGRATIONS
# =============================================================================
# Rally configuration (if using Rally)
# RALLY_TOKEN=your-rally-token
# RALLY_PATH=https://rally1.rallydev.com
# Firebase configuration (if using Firebase)
# FIREBASE_PROJECT_ID=your-project-id
# FIREBASE_SERVICE_ACCOUNT_JSON_AUTH={"type":"service_account",...}
# App Center configuration (if using App Center)
# APP_CENTER_TOKEN=your-app-center-token
# APP_CENTER_ORGANIZATION=your-org
# Custom AI/JS configuration
# JS_SCRIPT_PATH=/path/to/your/script.js
# JS_CLIENT_NAME=YourCustomClient
# JS_DEFAULT_MODEL=your-model
# JS_BASE_PATH=https://your-api-endpoint.com
# =============================================================================
# ADVANCED CONFIGURATION
# =============================================================================
# Prompt configuration
# PROMPT_CHUNK_TOKEN_LIMIT=4000
# PROMPT_CHUNK_MAX_SINGLE_FILE_SIZE=50000
# PROMPT_CHUNK_MAX_TOTAL_FILES_SIZE=200000
# PROMPT_CHUNK_MAX_FILES=10
# Metrics configuration
# DEFAULT_TICKET_WEIGHT_IF_NO_SPS=1
# LINES_OF_CODE_DIVIDER=100.0
# TIME_SPENT_ON_DIVIDER=8.0
# Request throttling
# SLEEP_TIME_REQUEST=1000
# Integrations (comma-separated list)
# DMTOOLS_INTEGRATIONS=jira,confluence,figma,github