github Byron/gitoxide git-glob-v0.2.0
git-glob v0.2.0

2 years ago

Changed (BREAKING)

  • parse() returns a Pattern.
    This is much more ergonomic as this is the only things we are ever
    interested in for matching. If necessary, from there one can also
    use the parts individually or alter them.

Commit Statistics

  • 50 commits contributed to the release over the course of 6 calendar days.
  • 6 days passed between releases.
  • 1 commit where understood as conventional.
  • 1 unique issue was worked on: #301

Thanks Clippy

Clippy helped 3 times to make code idiomatic.

Commit Details

view details
  • #301
    • parse() returns a Pattern. (6ce3611)
    • docs for git-glob (8f4969f)
    • all wildmatch tests succeed (d3a7349)
    • add all character classes sans some of the more obscure ones (538d41d)
    • frame for character classes (6b8d0d2)
    • fix all remaining bracket tests… (3afe2d2)
    • more bracket-range tests succeed (c64f71c)
    • make bracket matching work better (97aa9ed)
    • refactor (fa0440f)
    • first steps towards bracket matching (54fe029)
    • adjust wildmatch corpus expectations as it won't match our preprocessor (48990af)
    • fix another issue around double-star (d15c2fb)
    • fix another special case (09095df)
    • fix double-star matches (43371b6)
    • fix single-level double-star (e5a7995)
    • fix backslash handling; improve star handling (7907cb4)
    • new wildcard tests to help fix star matching (d21c654)
    • All our simple wildmatches are working, a good start (321c4d2)
    • maybe even working double-star handling (48c57ff)
    • slowly move towards star/double-star (4efd215)
    • question mark support (e83c8df)
    • very basic beginnings of wildmatch (334c624)
    • fix logic in wildmatch tests; validate feasibility of all test cases (1336bc9)
    • test corpus for wildcard matches (bd8f95f)
    • frame for wildmatch function and its tests (04ca834)
    • more tests for early exit in case no-wildcard prefix doesn't match (1ff348c)
    • more non-basename shortcuts, and only wildcard matches left (45c6259)
    • make much clearer how base-path works and put in safe-guards (5bf503a)
    • test that bases are ignored for basenames (1b26848)
    • refactor (056b368)
    • a way to set a globs base path (3d58db8)
    • get to the point where globs probably should have a base (2632988)
    • refactor (f2f3f53)
    • prepare for handling absolute patterns (df9778b)
    • Keep track of absolute patterns, those that have to start with it (3956480)
    • basename parsing with simple pattern skips (d18ef14)
    • git-baseline now acts like a massive regression test (fe3d0a7)
    • adjust signatures to know enough to implement git-like matching (b947ff9)
    • refactor; roughly sort regex by simplicity (a7c3a63)
    • Also parse the position of the first wildcard (4178a63)
    • prepare for upcoming wildcard-length field in glob pattern (a11f5d4)
    • refactor (f285ca0)
    • basic infrastructure for running git-baseline against our implementation (027869d)
    • baseline tests for matches and no-matches (621c2ca)
    • bring in all ~140 tests for git pattern matching, git-ignore styile (f9ab830)
    • refactor (dbe7305)
    • refactor (8a54341)
  • Uncategorized

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.