Skip to content

ProgrammerBill/AutoPatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

auto_patch release

AUTO PATCH

 █████╗ ██╗   ██╗████████╗ ██████╗     ██████╗  █████╗ ████████╗ ██████╗██╗  ██╗
██╔══██╗██║   ██║╚══██╔══╝██╔═══██╗    ██╔══██╗██╔══██╗╚══██╔══╝██╔════╝██║  ██║
███████║██║   ██║   ██║   ██║   ██║    ██████╔╝███████║   ██║   ██║     ███████║
██╔══██║██║   ██║   ██║   ██║   ██║    ██╔═══╝ ██╔══██║   ██║   ██║     ██╔══██║
██║  ██║╚██████╔╝   ██║   ╚██████╔╝    ██║     ██║  ██║   ██║   ╚██████╗██║  ██║
╚═╝  ╚═╝ ╚═════╝    ╚═╝    ╚═════╝     ╚═╝     ╚═╝  ╚═╝   ╚═╝    ╚═════╝╚═╝  ╚═╝

Description

This project is designed to facilitate the rapid selection of repositories and corresponding commits within environments hosting multiple Git repositories, such as Android, Linux kernel, and other types of SDKs, through an interactive interface. It automates the generation of diff files and source files based on the selected commits.

Setup

  • Install a Python version that is 3.6 or newer.
  • install FZF

Usage

run auto_patch.py and generate patch files in auto_create_patch.

python3 auto_patch.py -i [sdk path] -o [patch path]

auto-patch-demo

About

A simple patch tools based on fzf and git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages