Skip to content

SunDog/hist-sanitizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hist-sanitizer

This tool which builds the changelog for the Swift repository between two given tags, eliminating Merge commits and replacing them with the title of the Pull Request which created the Merge commit.

Exemple:

* Merge pull request #PR_ID from 'feature/another'
* Title of commit 4
* Merge pull request #PR_ID from 'feature/branch'
* Title of commit 2
* Title of commit 1

is transformed into:

* Title of the Pull Request
* Title of commit 4
* Title of the Pull Request
* Title of commit 2
* Title of commit 1

How to use it:

Just call it from the cli replacing the tags:

$ ./hist-sanitizer <GIT-TAG-BASE> <GIT-TAG-HEAD>

Ex:. ./hist-sanitizer swift-5.5.3-RELEASE swift-5.5.1-RELEASE

Or for authenticated calls:

$ GITHUB_API_TOKEN=<your-token> ./hist-sanitizer <GIT-TAG-BASE> <GIT-TAG-HEAD>

Development mode:

Using docker with live reloading

On .air.toml file change the property full_bin passing the tags you want to see on live reload Then:

$ docker compose up

For using authenticated user Create .env file with GITHUB_API_TOKEN property

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published