gitingest/CONTRIBUTING.md
Romain Courtois f5b20dec44
Some checks are pending
CI / test (macos-latest, 3.10) (push) Waiting to run
CI / test (macos-latest, 3.11) (push) Waiting to run
CI / test (macos-latest, 3.12) (push) Waiting to run
CI / test (macos-latest, 3.13) (push) Waiting to run
CI / test (macos-latest, 3.8) (push) Waiting to run
CI / test (macos-latest, 3.9) (push) Waiting to run
CI / test (ubuntu-latest, 3.10) (push) Waiting to run
CI / test (ubuntu-latest, 3.11) (push) Waiting to run
CI / test (ubuntu-latest, 3.12) (push) Waiting to run
CI / test (ubuntu-latest, 3.13) (push) Waiting to run
CI / test (ubuntu-latest, 3.8) (push) Waiting to run
CI / test (ubuntu-latest, 3.9) (push) Waiting to run
CI / test (windows-latest, 3.10) (push) Waiting to run
CI / test (windows-latest, 3.11) (push) Waiting to run
CI / test (windows-latest, 3.12) (push) Waiting to run
CI / test (windows-latest, 3.13) (push) Waiting to run
CI / test (windows-latest, 3.8) (push) Waiting to run
CI / test (windows-latest, 3.9) (push) Waiting to run
OSSF Scorecard / Scorecard analysis (push) Waiting to run
chore: replace org name in repo urls (#396)
2025-07-09 11:30:37 +02:00

2.1 KiB
Raw Blame History

Contributing to Gitingest

Thanks for your interest in contributing to Gitingest 🚀 Our goal is to keep the codebase friendly to first-time contributors. If you ever get stuck, reach out on Discord.


How to Contribute (non-technical)

  • Create an Issue found a bug or have a feature idea? Open an issue.
  • Spread the Word tweet, blog, or tell a friend.
  • Use Gitingest real-world usage gives the best feedback. File issues or ping us on Discord with anything you notice.

How to submit a Pull Request

Prerequisites: The project uses Python 3.9+ and pre-commit for development.

  1. Fork the repository.

  2. Clone your fork:

    git clone https://github.com/coderamp-labs/gitingest.git
    cd gitingest
    
  3. Set up the dev environment:

    python -m venv .venv
    source .venv/bin/activate
    pip install -e ".[dev]"
    pre-commit install
    
  4. Create a branch for your changes:

    git checkout -b your-branch
    
  5. Make your changes (and add tests when relevant).

  6. Stage the changes:

    git add .
    
  7. Run the backend test suite:

    pytest
    
  8. (Optional) Run pre-commit on all files to check hooks without committing:

    pre-commit run --all-files
    
  9. Run the local server to sanity-check:

    cd src
    uvicorn server.main:app
    

    Open http://localhost:8000 to confirm everything works.

  10. Commit (signed):

    git commit -S -m "Your commit message"
    

    If pre-commit complains, fix the problems and repeat 5 9.

  11. Push your branch:

    git push origin your-branch
    
  12. Open a pull request on GitHub with a clear description.

  13. Iterate on any review feedback—update your branch and repeat 6 11 as needed.

(Optional) Invite a maintainer to your branch for easier collaboration.