Subject: CVS commit: pkgsrc/devel/superdiff
From: pin
Date: 2022-12-29 09:07:22
Message id: 20221229080722.CEFD5FA90@cvs.NetBSD.org

Log Message:
devel/superdiff: import package

Are you working to eliminate similar/duplicate code from your files?

Do you have a suspicion that chunks of code are copy-pasted, but are slightly
different s.t. normal diff methods don't work?

Are you tired of visually going through and inspecting your code for repeating
chunks?

If so, this might be the tool for you!

Features
- Finds duplicate code slices
- Finds similar-enough code slices
- JSON reporting for jq integeration
- Fast enough (00:03:39 for a 17k LOC with block size 10 and Levenshtein
  threshold 10)
- Can check for duplicate code across multiple files
- Vim integration!

Limitations
- Not instantaneous for large files
- Single-threaded

Files:
RevisionActionfile
1.1addpkgsrc/devel/superdiff/DESCR
1.1addpkgsrc/devel/superdiff/Makefile
1.1addpkgsrc/devel/superdiff/PLIST
1.1addpkgsrc/devel/superdiff/cargo-depends.mk
1.1addpkgsrc/devel/superdiff/distinfo