From abd21dfd69178f172bcec242fcafff2603ffd8bc Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Mon, 30 Jun 2025 17:31:33 +0100 Subject: [PATCH 1/2] chore: [#8] add initial custom instructions file for copilot --- .github/copilot-instructions.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/copilot-instructions.md diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md new file mode 100644 index 0000000..bf7643e --- /dev/null +++ b/.github/copilot-instructions.md @@ -0,0 +1,20 @@ +This repository contains all the configuration needed to run the live Torrust Tracker demo. + +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. + +The current major initiative is to migrate the tracker to a new infrastructure on Hetzner. This involves: +- Running the tracker binary directly on the host for performance. +- Using Docker for supporting services like Nginx, Prometheus, Grafana and MySQL. +- Migrating the database from SQLite to MySQL. + +When providing assistance, please act as an experienced open-source developer and system administrator. + +Follow these conventions: +- 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`. + - The issue number should be the branch prefix, e.g., `feat: [#1] add new feature` for branch `1-add-new-feature`. +- We use the proposed GitHub branch naming convention: + - Starts with a number indicating the issue number. + - Followed by a hyphen and a short description of the feature or fix. + - Uses hyphens to separate words, e.g., `1-add-new-feature`. +- Ensure that shell scripts are POSIX-compliant. +- Provide clear and concise documentation for any new features or changes. From 0ad886ecfaf21b11bf26c2bd3a19fbf8c364e7d3 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Mon, 30 Jun 2025 17:44:09 +0100 Subject: [PATCH 2/2] chore: [#8] add config for GitHub MCP server --- .vscode/mcp.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .vscode/mcp.json diff --git a/.vscode/mcp.json b/.vscode/mcp.json new file mode 100644 index 0000000..506a522 --- /dev/null +++ b/.vscode/mcp.json @@ -0,0 +1,26 @@ +{ + "inputs": [ + { + "type": "promptString", + "id": "github_token", + "description": "GitHub Personal Access Token", + "password": true + } + ], + "servers": { + "github": { + "command": "docker", + "args": [ + "run", + "-i", + "--rm", + "-e", + "GITHUB_PERSONAL_ACCESS_TOKEN", + "ghcr.io/github/github-mcp-server" + ], + "env": { + "GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github_token}" + } + } + } +} \ No newline at end of file