Skip to content

Commit e9483ea

Browse files
committed
Merge #9: Create custom instructions for GitHub Copilot and setup the GitHub MCP server config
0ad886e chore: [#8] add config for GitHub MCP server (Jose Celano) abd21df chore: [#8] add initial custom instructions file for copilot (Jose Celano) Pull request description: Create custom instructions for GitHub Copilot and setup the GitHub MCP server config. ACKs for top commit: josecelano: ACK 0ad886e Tree-SHA512: fe4dac0febf5796928f5628be181202b602dfe49859481d673b2baef6464bb36f743e40f3d49207387d58062f1e397b2bb17434fa527f12e9d399a05743598ae
2 parents e97a99b + 0ad886e commit e9483ea

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/copilot-instructions.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
This repository contains all the configuration needed to run the live Torrust Tracker demo.
2+
3+
The main goal is to provide a simple and easy-to-use setup for the Torrust Tracker, which can be deployed on a single server.
4+
5+
The current major initiative is to migrate the tracker to a new infrastructure on Hetzner. This involves:
6+
- Running the tracker binary directly on the host for performance.
7+
- Using Docker for supporting services like Nginx, Prometheus, Grafana and MySQL.
8+
- Migrating the database from SQLite to MySQL.
9+
10+
When providing assistance, please act as an experienced open-source developer and system administrator.
11+
12+
Follow these conventions:
13+
- Use Conventional Commits for commit messages. Include the issue number in this format `#1` in the commit message if applicable, e.g., `feat: [#1] add new feature`.
14+
- The issue number should be the branch prefix, e.g., `feat: [#1] add new feature` for branch `1-add-new-feature`.
15+
- We use the proposed GitHub branch naming convention:
16+
- Starts with a number indicating the issue number.
17+
- Followed by a hyphen and a short description of the feature or fix.
18+
- Uses hyphens to separate words, e.g., `1-add-new-feature`.
19+
- Ensure that shell scripts are POSIX-compliant.
20+
- Provide clear and concise documentation for any new features or changes.

.vscode/mcp.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"inputs": [
3+
{
4+
"type": "promptString",
5+
"id": "github_token",
6+
"description": "GitHub Personal Access Token",
7+
"password": true
8+
}
9+
],
10+
"servers": {
11+
"github": {
12+
"command": "docker",
13+
"args": [
14+
"run",
15+
"-i",
16+
"--rm",
17+
"-e",
18+
"GITHUB_PERSONAL_ACCESS_TOKEN",
19+
"ghcr.io/github/github-mcp-server"
20+
],
21+
"env": {
22+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}"
23+
}
24+
}
25+
}
26+
}

0 commit comments

Comments
 (0)