Pwclient
The command-line client for the patchwork patch tracking tool
Install / Use
/learn @getpatchwork/PwclientREADME
======== pwclient
.. NOTE: If editing this, be sure to update the line numbers in 'doc/index'
.. image:: https://badge.fury.io/py/pwclient.svg :target: https://badge.fury.io/py/pwclient :alt: PyPi Status
.. image:: https://readthedocs.org/projects/pwclient/badge/?version=latest :target: https://pwclient.readthedocs.io/en/latest/?badge=latest :alt: Documentation Status
.. image:: https://github.com/getpatchwork/pwclient/actions/workflows/ci.yaml/badge.svg :target: https://github.com/getpatchwork/pwclient/actions/workflows/ci.yaml :alt: Build Status
pwclient is a VCS-agnostic tool for interacting with Patchwork__, the
web-based patch tracking system.
__ http://jk.ozlabs.org/projects/patchwork/
Installation
The easiest way to install pwclient and its dependencies is using pip. To
do so, run:
.. code-block:: bash
$ python3 -m pip install pwclient
You can also install pwclient manually. First, install the required dependencies. On Fedora, run:
.. code-block:: bash
$ sudo dnf install python-pbr
On Ubuntu, run:
.. code-block:: bash
$ sudo apt-get install python-pbr
Once dependencies are installed, clone this repo and run setup.py:
.. code-block:: bash
$ git clone https://github.com/getpatchwork/pwclient $ cd pwclient $ python3 -m pip install --user .
Getting Started
To use pwclient, you will need a .pwclientrc file, located in your home
directory ($HOME or ~). You can point to another path with the
environment variable PWCLIENTRC. Patchwork itself provides sample
.pwclientrc files for projects at /project/{projectName}/pwclientrc/.
For example, here__ is the .pwclientrc file for Patchwork itself.
__ https://patchwork.ozlabs.org/project/patchwork/pwclientrc/
Development
If you're interested in contributing to pwclient, first clone the repo:
.. code-block:: bash
$ git clone https://github.com/getpatchwork/pwclient $ cd pwclient
Create a virtualenv, then install the package in editable__ mode:
.. code-block:: bash
$ virtualenv .venv $ source .venv/bin/activate $ python3 -m pip install --editable .
__ https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs
Documentation
Documentation is available on Read the Docs__
__ https://pwclient.readthedocs.io/
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
