Metadata-Version: 2.1
Name: ppatch
Version: 0.0.4b3
Summary: Universal tool to analysis patches, bulit for Linux Kernel.
Author-Email: jingfelix <jingfelix@outlook.com>
License: MIT
Requires-Python: >=3.10
Requires-Dist: typer[all]>=0.9.0
Requires-Dist: pydantic>=2.5.3
Requires-Dist: whatthepatch>=1.0.5
Requires-Dist: pydantic-settings>=2.2.1
Description-Content-Type: text/markdown

# ppatch

A tool to analyze and patches between different Linux Kernel versions.

## Config

`ppatch` loads the configuration from a file named `.ppatch.env` in `$HOME`.

```shell
base_dir = "/home/laboratory/workspace/exps/ppatch" # The base directory to store the patches
patch_store_dir = "_patches" # The directory to store the patches
max_diff_lines = 3
```

By default, base_dir is the base directory where `ppatch` is installed.

## Development

`ppatch` uses `pdm` as package manager. To install the dependencies in your workspace, run:

```bash
pdm install --prod

# If you want to trace ppatch execution
pdm install
```

ref: [PDM Documentation](https://pdm-project.org/en/latest/usage/dependency/)
