Skip to content

docs: add CONTRIBUTING.md with setup guide for Windows and Linux#173

Open
xu826Jamin wants to merge 1 commit intoc2siorg:mainfrom
xu826Jamin:docs/add-contributing-guide
Open

docs: add CONTRIBUTING.md with setup guide for Windows and Linux#173
xu826Jamin wants to merge 1 commit intoc2siorg:mainfrom
xu826Jamin:docs/add-contributing-guide

Conversation

@xu826Jamin
Copy link
Copy Markdown

Summary

Adds a CONTRIBUTING.md file to help new contributors get started with GDB-UI.

What's included

  • Prerequisites (Python, Node.js, Git)
  • Step-by-step setup for both Docker and manual installation
  • Windows-specific notes based on real setup experience
  • Instructions for finding issues and submitting PRs
  • Commit message conventions and code style guidelines

Fixes #43

Copilot AI review requested due to automatic review settings March 23, 2026 02:05
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new CONTRIBUTING.md to guide first-time contributors through prerequisites, local setup (Docker/manual), and the PR workflow for GDB-UI.

Changes:

  • Introduces a contributor guide covering prerequisites, cloning, and running backend/frontend locally.
  • Documents Docker-based setup plus Windows-focused manual setup notes.
  • Adds guidance on finding issues, submitting PRs, and basic code style/commit conventions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +16
\# Contributing to GDB-UI



Thank you for your interest in contributing to GDB-UI! This guide will help you

get the project running locally and walk you through submitting your first pull request.



\---



\## Table of Contents

Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most Markdown syntax is currently escaped (e.g., \#, \##, \---, \-, \[...\], \*\*...\*\*), so headings/lists/bold/links won’t render on GitHub. Remove the leading backslashes so these lines are interpreted as Markdown rather than literal characters.

Copilot uses AI. Check for mistakes.
Comment on lines +19 to +27
\- \[Prerequisites](#prerequisites)

\- \[Forking and Cloning](#forking-and-cloning)

\- \[Running the Project Locally](#running-the-project-locally)

  - \[Option A: Docker](#option-a-docker)

  - \[Option B: Manual Setup](#option-b-manual-setup)
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Table of Contents includes literal HTML entities ( ) and escaped list markers (\-), which prevents proper nested list formatting. Replace the entities with normal spaces and remove the escaping so GitHub renders the TOC as a list.

Copilot uses AI. Check for mistakes.
Comment on lines +83 to +87
1\. Go to \[github.com/c2siorg/GDB-UI](https://github.com/c2siorg/GDB-UI)

2\. Click \*\*Fork\*\* (top right) to create your own copy

3\. Clone your fork locally:
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ordered list markers are escaped as 1\. / 2\. / etc, which stops GitHub from recognizing them as lists. Use normal 1. / 2. syntax so the steps render correctly.

Copilot uses AI. Check for mistakes.

```bash

git clone https://github.com/YOUR\_USERNAME/GDB-UI.git
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inside fenced code blocks the backslash escapes are rendered literally. For example, YOUR\_USERNAME will be copied as-is and will fail for users; it should be YOUR_USERNAME (same applies to other escaped underscores and \# comment lines within code fences).

Suggested change
git clone https://github.com/YOUR\_USERNAME/GDB-UI.git
git clone https://github.com/YOUR_USERNAME/GDB-UI.git

Copilot uses AI. Check for mistakes.
Comment on lines +165 to +172
\# Windows:

venv\\Scripts\\activate

\# Mac/Linux:

source venv/bin/activate

Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Windows venv activation command shown (venv\\Scripts\\activate) is shell-specific and won’t work in PowerShell (common default on Windows). Consider documenting both cmd.exe and PowerShell activation commands (or explicitly state which shell the instructions target) to avoid setup dead-ends.

Copilot uses AI. Check for mistakes.

  - What changes did you make?

  - Reference the issue with `Fixes #ISSUE\_NUMBER`
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This inline code is also affected by escaped underscores: Fixes #ISSUE\_NUMBER will be shown/copied with the backslash. Use Fixes #ISSUE_NUMBER so contributors can copy/paste it directly.

Suggested change
  - Reference the issue with `Fixes #ISSUE\_NUMBER`
  - Reference the issue with `Fixes #ISSUE_NUMBER`

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOC] Missing CONTRIBUTING.md

2 participants