diff --git a/fzf-0.31.0.tar.gz b/fzf-0.31.0.tar.gz deleted file mode 100644 index d83fc23..0000000 --- a/fzf-0.31.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:df4edee32cb214018ed40160ced968d4cc3b63bba5b0571487011ee7099faa76 -size 210779 diff --git a/fzf-0.32.0.tar.gz b/fzf-0.32.0.tar.gz new file mode 100644 index 0000000..d30667f --- /dev/null +++ b/fzf-0.32.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3502c15faeb0a6d553c68ab1a7f472af08afed94a1d016427a8ab053ef149a8f +size 212066 diff --git a/fzf.changes b/fzf.changes index 9214069..5fa516f 100644 --- a/fzf.changes +++ b/fzf.changes @@ -1,3 +1,36 @@ +------------------------------------------------------------------- +Wed Aug 3 14:31:08 UTC 2022 - Matej Cepl + +- Update to 0.32.0: + - Updated the scoring algorithm + - Different bonus points to different categories of word + boundaries (listed higher to lower bonus point) + - Word after whitespace characters or beginning of the string + - Word after common delimiter characters (/,:;|) + - Word after other non-word characters + # foo/bar.sh` is preferred over `foo-bar.sh` on `bar` + fzf --query=bar --height=4 << EOF + foo-bar.sh + foo/bar.sh + EOF + - Added a new tiebreak chunk + - Favors the line with shorter matched chunk. A chunk is a + set of consecutive non-whitespace characters. + - Unlike the default length, this scheme works well with + tabular input + # length prefers item #1, because the whole line is shorter, + # chunk prefers item #2, because the matched chunk ("foo") is shorter + fzf --height=6 --header-lines=2 --tiebreak=chunk --reverse --query=fo << "EOF" + N | Field1 | Field2 | Field3 + - | ------ | ------ | ------ + 1 | hello | foobar | baz + 2 | world | foo | bazbaz + EOF + - If the input does not contain any spaces, chunk is + equivalent to length. But we're not going to set it as the + default because it is computationally more expensive. + - Bug fixes and improvements + ------------------------------------------------------------------- Thu Jul 21 16:17:24 UTC 2022 - Matej Cepl diff --git a/fzf.spec b/fzf.spec index 9817a63..81e8c0f 100644 --- a/fzf.spec +++ b/fzf.spec @@ -17,14 +17,14 @@ Name: fzf -Version: 0.31.0 +Version: 0.32.0 Release: 0 Summary: A command-line fuzzy finder License: MIT Group: Productivity/File utilities URL: https://github.com/junegunn/fzf Source0: https://github.com/junegunn/fzf/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -Source1: vendor.tar.gz +Source1: vendor.tar.xz BuildRequires: golang(API) = 1.18 %description diff --git a/vendor.tar.gz b/vendor.tar.gz deleted file mode 100644 index 74d86c8..0000000 --- a/vendor.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:23c06e9e68baf8774cfe96b58d66811684fe7b6352ae610e41ef48c269827ad1 -size 2590604 diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..6ec67cc --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f72530ac494d377196fff4446ab8a1b033f2b078b21594248dceea1cdd2940f4 +size 1307584