Skip to content

Latest commit

 

History

History
99 lines (74 loc) · 4.04 KB

File metadata and controls

99 lines (74 loc) · 4.04 KB

Contributing to Context Portal MCP (ConPort)

Thank you for your interest in contributing to the Context Portal MCP project! We welcome contributions of all kinds, including bug reports, feature requests, documentation improvements, and code contributions.

By participating in this project, you are expected to uphold our Code of Conduct. (Note: A CODE_OF_CONDUCT.md file is recommended but not currently present in this repo. You may want to create one.)

How to Contribute

Reporting Bugs

If you find a bug, please report it by opening a new issue on the GitHub repository.

When reporting a bug, please include:

  • A clear and concise description of the bug.
  • Steps to reproduce the behavior.
  • The version of ConPort you are using.
  • Your operating system and Python version.
  • Any relevant error messages or logs (like output.log).

Suggesting Enhancements

If you have an idea for a new feature or enhancement, please suggest it by opening a new issue on the GitHub repository.

When suggesting an enhancement, please include:

  • A clear and concise description of the proposed enhancement.
  • The problem it solves or the benefit it provides.
  • Any potential design considerations.

Setting Up Your Development Environment

To contribute code, you'll need to set up a development environment.

  1. Clone the Repository:

    git clone https://github.com/GreatScottyMac/context-portal.git
    cd context-portal
  2. Create and Activate a Virtual Environment: Using uv (recommended):

    uv venv
    source .venv/bin/activate # Linux/macOS
    # .venv\Scripts\activate.bat # Windows Command Prompt
    # .venv\Scripts\Activate.ps1 # Windows PowerShell

    Using standard venv:

    python3 -m venv .venv # Or 'python -m venv .venv'
    source .venv/bin/activate # Linux/macOS
    # .venv\Scripts\activate.bat # Windows Command Prompt
    # .venv\Scripts\Activate.ps1 # Windows PowerShell
  3. Install Dependencies: With your virtual environment activated: Using uv (recommended):

    uv pip install -r requirements.txt

    Using standard pip:

    pip install -r requirements.txt

Code Contributions

We follow a standard GitHub pull request workflow.

  1. Fork the Repository: Fork the context-portal repository.
  2. Create a Branch: Create a new branch for your contribution.
    git checkout -b feature/your-feature-name
    or
    git checkout -b bugfix/your-bugfix-name
  3. Make Your Changes: Implement your feature or bug fix.
  4. Write Tests: If applicable, add tests for your changes.
  5. Run Tests: Ensure all tests pass. (Details on running tests TBD - you may want to add a section on testing).
  6. Code Style: Adhere to the project's code style (e.g., PEP 8). (Details on code formatting/linting TBD - you may want to add a section on this).
  7. Commit Your Changes: Write clear and concise commit messages.
  8. Push Your Branch: Push your branch to your fork on GitHub.
  9. Open a Pull Request: Open a pull request from your fork to the main repository's main branch. Provide a clear description of your changes.

Documentation Improvements

Improving documentation is a valuable contribution! You can suggest changes by opening issues or submitting pull requests directly to the docs/ or root Markdown files (README.md, CONTRIBUTING.md, etc.).

Licensing

By contributing to Context Portal MCP, you agree that your contributions will be licensed under the same Apache-2.0 License as the project.

Code of Conduct

Please note that this project has a Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to [YOUR_EMAIL_ADDRESS] (Note: Replace with a suitable contact method).