fun-refactor

Walkthrough

One refactor, start to pull request

Ten steps against helm/helm at a8ab76e: survey the repository, find something worth changing, change it, prove it still compiles, and open the PR.

Recorded  These transcripts come from real runs and replay here. The page is static and runs nothing. Copy any command, point it at the same commit, and it produces the same output.

    helm/helm

    What the tool refused to do

    The interesting output is not the diff, it is the list underneath it. In this run the rename reported thirteen chart fixtures that do not parse โ€” helm keeps deliberately broken templates to test its own error messages โ€” because a reference inside a file it could not read is a reference it cannot promise it found.

    It also left TestDetermineReleaseSSAApplyMethod alone. That identifier contains the old name and is not it, which is exactly the case a find-and-replace gets wrong.

    Try it on your own code

    git clone https://github.com/e6qu/fun-refactor && cargo install --path fun-refactor
    cd your-project && fr parse --stats