Skip to main content

A tool to work with public-inbox and patch archives

Project description

This is a helper utility to work with patches made available via a public-inbox archive like lore.kernel.org. It is written to make it easier to participate in a patch-based workflows, like those used in the Linux kernel development.

The name “b4” was chosen for ease of typing and because B-4 was the precursor to Lore and Data in the Star Trek universe.

See https://b4.docs.kernel.org/ for online documentation.

Installing

To install the latest released version with pip:

python3 -m pip install b4

Or to install the latest master (warning, maybe broken!):

python3 -m pip install git+https://git.kernel.org/pub/scm/utils/b4/b4.git@master

Upgrading

If you previously installed from pypi:

python3 -m pip install --upgrade b4

Or to get the latest stuff from git:

python3 -m pip install --upgrade git+https://git.kernel.org/pub/scm/utils/b4/b4.git@master

Running from the checkout dir

If you want to run from the checkout dir without installing the python package, you can use the included b4.sh wrapper. You can set it as an alias in your .bash_profile:

alias b4="$HOME/path/to/b4/b4.sh"

Setting up a symlink should also be possible. Remember to run the following commands after the initial clone:

git submodule update --init
python3 -m pip install -r requirements.txt

Support

For support or with any other questions, please email tools@kernel.org, or browse the list archive at https://lore.kernel.org/tools.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

b4-0.14.3.tar.gz (121.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

b4-0.14.3-py3-none-any.whl (125.1 kB view details)

Uploaded Python 3

File details

Details for the file b4-0.14.3.tar.gz.

File metadata

  • Download URL: b4-0.14.3.tar.gz
  • Upload date:
  • Size: 121.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for b4-0.14.3.tar.gz
Algorithm Hash digest
SHA256 31a4927b8dfbb5c97edfc9569cda3b6737bbfd8430881e8cc48a0b088ced6147
MD5 c476977abb68bf17caa0ac61dca0cf92
BLAKE2b-256 70992b34c8451ad6599090f7d9045adb9f19270c2ed8cef4d52c179b297f8e37

See more details on using hashes here.

File details

Details for the file b4-0.14.3-py3-none-any.whl.

File metadata

  • Download URL: b4-0.14.3-py3-none-any.whl
  • Upload date:
  • Size: 125.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for b4-0.14.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ef623fc159e746c7fce599d42661eb4ed4e036593a4d6484effbe474fc4e3288
MD5 4e67ab868c2dc7066cca4cf4ae20796d
BLAKE2b-256 c9a83a3c17af29db744dc321fed3fad6ce944e604781341664619834828688fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page