Skip to content

DOC: Add comprehensive BUILDGUIDE.md with cross-platform build instructions and VS Code setup#156

Closed
bewithgaurav with Copilot wants to merge 12 commits into
mainfrom
copilot/fix-d256ab98-5fb4-49b7-8e63-79159ab0b9b8
Closed

DOC: Add comprehensive BUILDGUIDE.md with cross-platform build instructions and VS Code setup#156
bewithgaurav with Copilot wants to merge 12 commits into
mainfrom
copilot/fix-d256ab98-5fb4-49b7-8e63-79159ab0b9b8

Conversation

Copilot AI commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

Work Item / Issue Reference

GitHub Issue: #145


Summary

This pull request adds a comprehensive build guide for contributors to the mssql-python project. The guide provides detailed instructions for setting up the development environment, building native bindings, packaging the project as a Python wheel, and running tests.

Documentation Enhancements:

  • New BUILDGUIDE.md file that includes:
    • Getting Started section with both command-line and Visual Studio Code approaches for forking and cloning
      • Command-line instructions for traditional Git workflows
      • VS Code-specific instructions including GitHub extension installation and integrated Git workflows
    • Prerequisites for development, including Python 3.10+, pybind11, and CMake
    • Platform-specific setup instructions for Windows, macOS, and Linux
      • Windows setup includes alternative VS Code configuration option
    • Steps for building native bindings using platform-specific scripts with correct directory paths
    • Instructions for building Python wheel packages after compiling native bindings
    • Enhanced test running guidance with proper directory navigation and environment variable setup
    • Comprehensive database setup section with detailed platform-specific commands for Windows, macOS, and Linux using go-sqlcmd for containerized SQL Server instances
    • Overview of project directory structure
    • Comprehensive troubleshooting section

Key Fixes Applied:

  • Corrected all directory paths from pybind/ to mssql_python/pybind/ to match actual repository structure
  • Fixed broken internal links, particularly the reference to the pybind README
  • Added clear navigation instructions for running tests from the correct directory
  • Enhanced Windows setup with VS Code alternative configuration
  • Added comprehensive VS Code workflow instructions for contributors who prefer IDE-based development
  • Added complete platform-specific database setup commands for all three major platforms (Windows, macOS, Linux) with detailed installation steps for Docker and sqlcmd

The guide now provides a complete contributor onboarding experience with accurate paths, comprehensive setup options, support for both command-line and VS Code workflows, and detailed database setup instructions for all platforms.


This pull request was created and enhanced based on feedback to ensure all links work correctly, paths match the actual repository structure, includes modern development workflows using Visual Studio Code, and provides complete database setup instructions for Windows, macOS, and Linux.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-size: medium Moderate update size

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants