Skip to content

Patchwork is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.

License

Notifications You must be signed in to change notification settings

jremmet/patchwork

 
 

Repository files navigation

Patchwork

Requirements Status Codecov Build Status Documentation Status

Patchwork is a patch tracking system for community-based projects. It is intended to make the patch management process easier for both the project's contributors and maintainers, leaving time for the more important (and more interesting) stuff.

Patches that have been sent to a mailing list are "caught" by the system, and appear on a web page. Any comments posted that reference the patch are appended to the patch page too. The project's maintainer can then scan through the list of patches, marking each with a certain state, such as Accepted, Rejected or Under Review. Old patches can be sent to the archive or deleted.

Currently, Patchwork is being used for a number of open-source projects, mostly subsystems of the Linux kernel. Although Patchwork has been developed with the kernel workflow in mind, the aim is to be flexible enough to suit the majority of community projects.

Requirements

Patchwork requires reasonably recent versions of:

  • Python 3
  • Django
  • Django REST Framework
  • Django Filters

The precise versions supported are listed in the release notes.

Development Installation

Docker is the recommended installation method for a Patchwork development environment. To install Patchwork:

  1. Install Docker and docker-compose.

  2. Clone the Patchwork repo:

    $ git clone https://github.com/getpatchwork/patchwork.git
    
  3. Create a .env file in the root directory of the project and store your UID and GID attributes there:

    $ cd patchwork && printf "UID=$(id -u)\nGID=$(id -g)\n" > .env
    
  4. Build the images. This will download a number of packages from the internet, and compile several versions of Python:

    $ docker-compose build
    
  5. Run docker-compose up:

    $ docker-compose up
    

The Patchwork instance will now be deployed at http://localhost:8000/.

For more information, including helpful command line options and alternative installation methods, refer to the documentation.

Talks and Presentations

  • Mailing List, Meet CI (slides) - FOSDEM 2017
  • Patches carved into stone tablets (slides) - Kernel Recipes Conference 2016
  • A New Patchwork (slides) - FOSDEM 2016
  • Patchwork: reducing your patch workload (slides) - Linux Plumbers Conference 2011

Additional Information

For further information, refer to the documentation.

Contact

For bug reports, patch submissions or other questions, use the mailing list.

About

Patchwork is a web-based patch tracking system designed to facilitate the contribution and management of contributions to an open-source project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 88.0%
  • HTML 6.3%
  • CSS 2.1%
  • JavaScript 1.8%
  • Shell 0.9%
  • PLpgSQL 0.7%
  • Dockerfile 0.2%