Skip to content

eramdam/lovely-differ

This branch is 1 commit behind a-e-m/lovely-differ:main.

Repository files navigation

Lovely differ

This is a Python that's meant to generate diffs for Lovely. It does this by generating Lovely patches based on Git diffs

Installation

You'll need to install whatthepatch using pip or a similar tool (I personally have been using uv)

Usage

python3 differ.py PATH_TO_GIT_DIRECTORY [COMMIT_HASH], where passing a commit hash is optional. This will generate a lovely.toml file. You can pass --output PATH_TO_LOVELY_FILE to generate the lovely.toml file at a different path. You can also pass --patch PATH_TO_PATH_FILE to provide your own patch file.

Notes

Currently this only generates patches for existing files with changes, and does not look at new files

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%