./devel/diffsitter, Tree-sitter based AST difftool to get meaningful semantic diffs

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.8.2, Package name: diffsitter-0.8.2, Maintainer: pkgsrc-users

diffsitter creates semantically meaningful diffs that ignore formatting
differences like spacing. It does so by computing a diff on the AST (abstract
syntax tree) of a file rather than computing the diff on the text contents of
the file.

diffsitter uses the parsers from the tree-sitter project to parse source code.
As such, the languages supported by this tool are restricted to the languages
supported by tree-sitter.

Supported languages: Bash, C#, C++, CSS, Go, Java, OCaml, PHP, Python, Ruby,
Rust, Typescript/TSX and HCL

diffsitter is very much a work in progress and nowhere close to production
ready (yet). Contributions are always welcome!


Master sites:

Filesize: 725.402 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-14 21:05:19 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
diffsitter: update to 0.8.2.

What's Changed

    build(deps): bump serde from 1.0.174 to 1.0.175 by @dependabot in #693
    build(deps): bump jemallocator from 0.5.0 to 0.5.4 by @dependabot in #696
    build(deps): bump cc from 1.0.79 to 1.0.81 by @dependabot in #700
    chore: Update Cargo deps by @afnanenayet in #701
    chore: Update grammars by @afnanenayet in #702
    build: Disable extra warnings, std C11 by @afnanenayet in #703
    build(deps): bump clap from 4.3.19 to 4.3.21 by @dependabot in #707
    chore(cargo): Update cargo dependencies by @afnanenayet in #708
    chore(deps): Update cargo deps by @afnanenayet in #709
    build(deps): bump clap from 4.3.21 to 4.3.22 by @dependabot in #713
    build(deps): bump thiserror from 1.0.44 to 1.0.47 by @dependabot in #712
    chore: Update cargo deps by @afnanenayet in #714
    build(deps): bump clap from 4.4.0 to 4.4.1 by @dependabot in #723
    chore(deps): Update Cargo dependencies by @afnanenayet in #724
    build(deps): bump thiserror from 1.0.47 to 1.0.48 by @dependabot in #726
    build(deps): bump clap_complete from 4.4.0 to 4.4.1 by @dependabot in #727
    build(deps): bump clap from 4.4.1 to 4.4.2 by @dependabot in #725
    build(deps): bump clap from 4.4.2 to 4.4.3 by @dependabot in #729
    build(deps): bump test-case from 3.1.0 to 3.2.1 by @dependabot in #730
    chore(deps): Update Cargo dependencies by @afnanenayet in #742
    Fix Locust link by @jaens in #748
    chore(deps): Update cargo deps by @afnanenayet in #753
    feat: Add profiling profile by @afnanenayet in #754
    build(deps): bump human-panic from 1.2.1 to 1.2.2 by @dependabot in #756
    chore: Address clippy lint by @afnanenayet in #759
    chore: Update pre-commit hooks by @afnanenayet in #760
    build(deps): bump test-case from 3.2.1 to 3.3.0 by @dependabot in #762
    build(deps): bump serde from 1.0.190 to 1.0.193 by @dependabot in #767
    chore: Update grammars by @afnanenayet in #765
    chore: Address clippy lints by @afnanenayet in #764
    fix(config): Default the entire config by @afnanenayet in #768
    feat: Strip/ignore whitespace in nodes by @afnanenayet in #761
    afnan/update grammars by @afnanenayet in #772
    build(grammars): Rename existing libraries, C++17 by @afnanenayet in #771
    build(grammars): Build C grammar, use default arg by @afnanenayet in #770
    build(deps): bump shadow-rs from 0.24.1 to 0.25.0 by @dependabot in #774
    build(deps): bump clap from 4.4.7 to 4.4.11 by @dependabot in #773
    build(deps): bump test-case from 3.3.0 to 3.3.1 by @dependabot in #766
    feat(grammars): Add Markdown grammar by @afnanenayet in #728
    chore(cargo): Update deps by @afnanenayet in #775
    build(deps): bump thiserror from 1.0.50 to 1.0.51 by @dependabot in #776
    build(grammars): Fix build settings for md by @afnanenayet in #778
    build(deps): bump mockall from 0.12.0 to 0.12.1 by @dependabot in #779
    chore(deps): Update Cargo deps by @afnanenayet in #781
    fix: Check loaded language ABI by @afnanenayet in #783
    build(deps): bump thiserror from 1.0.51 to 1.0.52 by @dependabot in #785
    fix(grammars): Leak language after loading by @afnanenayet in #786
    feat(scripts): Build script for sanitizers by @afnanenayet in #791
    chore(cargo): Update deps by @afnanenayet in #796
    build(deps): bump shadow-rs from 0.25.0 to 0.26.0 by @dependabot in #789
    build(deps): bump human-panic from 1.2.2 to 1.2.3 by @dependabot in #800
    build(deps): bump console from 0.15.7 to 0.15.8 by @dependabot in #798
    build(deps): bump clap from 4.4.13 to 4.4.16 by @dependabot in #799
    chore(dev): Script to update cargo deps by @afnanenayet in #801
    chore(grammars): Update grammars by @afnanenayet in #802
    fix: Update markdown grammar properly by @afnanenayet in #803
   2023-08-14 07:25:36 by Thomas Klausner | Files touched by this commit (1247)
Log message:
*: recursive bump for Python 3.11 as new default
   2023-07-25 12:05:16 by pin | Files touched by this commit (3) | Package updated
Log message:
devel/diffsitter: update to 0.8.1

Notes

This release was mostly cut to fix an issue with the homebrew formula which
refers to the git-diffsitter script. That file was not included in the release
archive for v0.8.0 which caused errors when trying to install with homebrew.
What's Changed
 - docs: Add code coverage badge by @afnanenayet in #625
 - docs: Update badge to track main branch by @afnanenayet in #626
 - build(deps): bump serde from 1.0.162 to 1.0.163 by @dependabot in #628
 - build(deps): bump clap_complete from 4.2.2 to 4.2.3 by @dependabot in #629
 - ci: Fix condition if nightly tag doesn't exist by @afnanenayet in #631
 - feat: Add dockerfiles for building by @afnanenayet in #632
 - fix: Remove bad fetch call by @afnanenayet in #633
 - ci: Fix conditional statement for checking tag by @afnanenayet in #634
 - build(deps): bump console from 0.15.5 to 0.15.6 by @dependabot in #635
 - build(deps): bump pretty_env_logger from 0.4.0 to 0.5.0 by @dependabot in #636
 - ci: Fix upload rust binary action for nightly by @afnanenayet in #637
 - cd: Update versions of actions by @afnanenayet in #638
 - chore: Update vendored grammars by @afnanenayet in #639
 - chore(deps): Update Cargo deps by @afnanenayet in #643
 - docs: Document error by @afnanenayet in #646
 - chore(grammars): Update grammars by @afnanenayet in #645
 - docs: Document error (#646) by @afnanenayet in #647
 - chore: Update Cargo dependencies by @afnanenayet in #651
 - chore: Update grammars by @afnanenayet in #656
 - ci(releases): Fix conditional for nightlies by @afnanenayet in #657
 - chore: Update Cargo dependencies by @afnanenayet in #658
 - build(deps): bump human-panic from 1.1.4 to 1.1.5 by @dependabot in #660
 - build(deps): bump clap from 4.3.3 to 4.3.4 by @dependabot in #659
 - ci: Try using job outputs for CD pipeline by @afnanenayet in #661
 - build(deps): bump strum_macros from 0.24.3 to 0.25.0 by @dependabot in #663
 - chore: Update grammars by @afnanenayet in #667
 - chore: Update cargo deps by @afnanenayet in #683
 - build(deps): bump strum from 0.24.1 to 0.25.0 by @dependabot in #662
 - chore: Update Cargo deps by @afnanenayet in #692
   2023-05-18 00:29:27 by Thomas Klausner | Files touched by this commit (2)
Log message:
diffsitter: use cargo.mk's install

adds another file to the installation

Bump PKGREVISION.
   2023-05-10 12:25:24 by pin | Files touched by this commit (4) | Package updated
Log message:
devel/diffsitter: update to 0.8.0

What's Changed
    chore(Cargo): Update deps by @afnanenayet in #513
    build(deps): bump clap from 4.0.29 to 4.0.32 by @dependabot in #515
    build(deps): bump clap_complete from 4.0.6 to 4.0.7 by @dependabot in #516
    feat(output): Implement modular rendering by @afnanenayet in #446
    Add example usage with git difftool. by @ClashTheBunny in #157
    build(deps): bump serde from 1.0.151 to 1.0.152 by @dependabot in #518
    feat(rendering): Add JSON rendering mode by @afnanenayet in #519
    build(deps): bump console from 0.15.2 to 0.15.3 by @dependabot in #521
    build(deps): bump shadow-rs from 0.19.0 to 0.20.0 by @dependabot in #522
    build(deps): bump enum_dispatch from 0.3.8 to 0.3.9 by @dependabot in #523
    feat(errors): Early error for bad render config by @afnanenayet in #526
    chore(deps): Update deps by @afnanenayet in #524
    build(deps): bump insta from 1.23.0 to 1.24.1 by @dependabot in #528
    chore(grammars): Update grammars by @afnanenayet in #527
    chore(deps): Update deps by @afnanenayet in #529
    chore(clippy): Apply clippy lints by @afnanenayet in #530
    chore(deps): Update lockfile by @afnanenayet in #531
    chore: update deps by @afnanenayet in #534
    chore(deps): Update grammars by @afnanenayet in #535
    chore: Update deps by @afnanenayet in #538
    Allow dynamic-grammar-libs to be found on NetBSD by @0323pin in #537
    chore(deps): Update lockfile by @afnanenayet in #540
    chore(grammars): Update grammars by @afnanenayet in #542
    feat(processing): Filter by TS node type by @afnanenayet in #541
    chore(deps): Update, removed unused deps by @afnanenayet in #543
    Update deps by @afnanenayet in #547
    build(deps): bump cc from 1.0.78 to 1.0.79 by @dependabot in #548
    build(deps): bump human-panic from 1.0.3 to 1.1.0 by @dependabot in #551
    build(deps): bump unicode-segmentation from 1.10.0 to 1.10.1 by @dependabot
  in #550
    build(deps): bump test-case from 2.2.2 to 3.0.0 by @dependabot in #553
    ci: Update checkout action by @afnanenayet in #558
    build: Update grammars by @afnanenayet in #552
    chore: Update deps by @afnanenayet in #559
    chore: Update cargo deps and grammars by @afnanenayet in #560
    ci: Use a newer submodule checkout action by @afnanenayet in #561
    build(deps): bump shadow-rs from 0.20.1 to 0.21.0 by @dependabot in #564
    Add error check to main snapshot test by @afnanenayet in #569
    fix: Use checkout v3 in CD pipeline by @afnanenayet in #571
    fix: Fix logic for handling offsets with graphemes by @afnanenayet in #573
    Update dependencies and grammars by @afnanenayet in #574
    build(deps): bump serde from 1.0.155 to 1.0.156 by @dependabot in #576
    build(deps): bump clap from 4.1.8 to 4.1.9 by @dependabot in #580
    fix: Use a newer cargo deb version by @afnanenayet in #575
    refactor: Split up libraries and binaries by @afnanenayet in #581
    fix: Remove the main.rs file by @afnanenayet in #582
    chore: Address clippy lints by @afnanenayet in #583
    chore: Update cargo deps by @afnanenayet in #584
    ci: Use latest rust-cache action by @afnanenayet in #585
    chore: Update tree-sitter grammars by @afnanenayet in #586
    refactor: Use Write trait, separate term info by @afnanenayet in #549
    build: Add default-run manifest key by @afnanenayet in #588
    build(deps): bump serde from 1.0.157 to 1.0.158 by @dependabot in #589
    build(deps): bump insta from 1.28.0 to 1.29.0 by @dependabot in #590
    chore: Update grammars by @afnanenayet in #597
    chore: Update dependencies by @afnanenayet in #596
    build(deps): bump test-case from 3.0.0 to 3.1.0 by @dependabot in #598
    build(deps): bump tree-sitter from 0.20.9 to 0.20.10 by @dependabot in #599
    chore: Update Cargo dependencies by @afnanenayet in #600
    build(deps): bump libloading from 0.7.4 to 0.8.0 by @dependabot in #602
    chore: Update Cargo deps by @afnanenayet in #607
    build(deps): bump clap_complete from 4.2.0 to 4.2.1 by @dependabot in #608
    feat: Use human_panic only when building with panic = "unwind" by \ 
@jirutka
  in #612
    chore: Update grammars by @afnanenayet in #613
    fix: Guard against invalid indices by @afnanenayet in #614
    build(deps): bump clap from 4.2.4 to 4.2.5 by @dependabot in #611
    fix: Don't leak pointer to dylib by @afnanenayet in #616
    build(deps): bump clap from 4.2.5 to 4.2.7 by @dependabot in #618
    afnan/pre commit hooks by @afnanenayet in #619
    Add coverage job to CI by @afnanenayet in #621
    ci: Update Github actions to use more recent APIs by @afnanenayet in #617
    chore: Update treesitter grammars by @afnanenayet in #624
    chore: Update cargo dependencies by @afnanenayet in #623
   2023-02-21 14:20:55 by pin | Files touched by this commit (1)
Log message:
devel/diffsitter: reset maintainer
   2023-01-18 11:56:42 by pin | Files touched by this commit (3)
Log message:
devel/diffsitter: add support for tree-sitter grammars
   2022-12-26 23:13:02 by pin | Files touched by this commit (3) | Package updated
Log message:
devel/diffsitter: update to 0.7.3

What's Changed
 - build(deps): bump clap from 4.0.27 to 4.0.29 by @dependabot in #494
 - chore: Update grammars by @afnanenayet in #501
 - Update deps by @afnanenayet in #499
 - Add related project by @afnanenayet in #500
 - chore: Update dependencies by @afnanenayet in #508
 - chore(grammars): Update grammars by @afnanenayet in #510
 - docs(testing): Add note about why tests break by @afnanenayet in #511
 - ci(windows): Add back windows target by @afnanenayet in #512