forked from pool/ugrep
Compare commits
179 Commits
Author | SHA256 | Date | |
---|---|---|---|
475348a1be | |||
370f86e18a | |||
0c2d6d67f9 | |||
222608928a | |||
028431c8fe | |||
9b7a1eeb0e | |||
944c0ed3f2 | |||
16ababa5ee | |||
fadc8bd679 | |||
dd47e585f4 | |||
82e7a26131 | |||
|
6391f65bc4 | ||
328549760d | |||
|
ff36c44e5a | ||
b07329ade6 | |||
05d3184aa7 | |||
dfc777a37b | |||
|
cc022d3d73 | ||
66aa37e1a0 | |||
|
04c64f7cb6 | ||
e004e031b5 | |||
|
b7c5f7f993 | ||
23ec018f24 | |||
|
dce40bdb82 | ||
f32bd1535c | |||
|
c762959ed8 | ||
dae5f33d49 | |||
802b8b894b | |||
53c946fcfe | |||
f6ecba2b9f | |||
1f9fcf95e8 | |||
2927bd2899 | |||
a7bcc75d79 | |||
650d1fedca | |||
e83c6d4bdf | |||
29f8ee69c3 | |||
cc6a48d4c9 | |||
dd0dcbba78 | |||
054d1dc646 | |||
8e64e3d90f | |||
63c7b20769 | |||
1a08054d34 | |||
4b569381a3 | |||
1cc83d9111 | |||
fc57373262 | |||
1465ee117a | |||
ff06563c8b | |||
867a95a17d | |||
031dc3fd62 | |||
6810f3fcf8 | |||
4e775078f7 | |||
258c01960c | |||
9ba22ce4d6 | |||
0865182597 | |||
58de9d2f50 | |||
7a039ff358 | |||
610062caf2 | |||
69c6d3c942 | |||
1ab5aabe8c | |||
dfb4a488b7 | |||
9ec8bf6a12 | |||
e80a782e28 | |||
df2d918aca | |||
9965df5fcd | |||
c99699eb78 | |||
662b89fcb1 | |||
e8de35f0d0 | |||
643752c94c | |||
7edf2a125c | |||
784511178d | |||
4770db08f1 | |||
8ff371c1f2 | |||
6016546b2d | |||
cc8100f9aa | |||
8cda487f0b | |||
e13523b1ee | |||
c6f7da7433 | |||
9bcef843af | |||
e36a38e2b2 | |||
d6bcea06e5 | |||
60fa4b34a4 | |||
f475ebd65b | |||
eec5074887 | |||
54529812c2 | |||
61eed40d05 | |||
c19d995027 | |||
553aec5208 | |||
93dc7b1603 | |||
6914b777a0 | |||
d2f94739cd | |||
d13cc4e0aa | |||
c650b7f54c | |||
e49e7ef214 | |||
ae4ab885b6 | |||
9fa7837405 | |||
2679cdda7a | |||
fc3a939496 | |||
3f38e0c85c | |||
13c06cbd2d | |||
935b6b58ba | |||
e9dd21bdc4 | |||
736aaeb2a1 | |||
24fa3e62b6 | |||
1a6b7ff792 | |||
d1e7964732 | |||
998bf8e0fb | |||
2078fad014 | |||
1bfbb6287a | |||
e4840aa562 | |||
77189d4d96 | |||
2f12cae245 | |||
b0900e7253 | |||
10dba3f5b9 | |||
24ee577363 | |||
7b79b5dfa6 | |||
17eb91c425 | |||
f97c058f98 | |||
781cc44332 | |||
5d5705fe06 | |||
07ae0ee0f9 | |||
fb7e3659dc | |||
3bfadb2210 | |||
6737dd96a1 | |||
8d0afcb284 | |||
a264d155b5 | |||
5a645ee3fd | |||
a7a983003e | |||
5118e23023 | |||
a2efe3d33c | |||
cc7a1d5eec | |||
ebdfaf72be | |||
a38d658d11 | |||
258358ff12 | |||
0a0083c1ac | |||
55aee0e51f | |||
4fc57677de | |||
892906fddc | |||
eb67ff6270 | |||
|
fbfd71a437 | ||
73e88dca09 | |||
|
6d8e0e2807 | ||
71f7856aa7 | |||
86d9631ef9 | |||
01646660c5 | |||
6dceceeb68 | |||
4037385077 | |||
932856b03d | |||
49e5bb6183 | |||
082402777a | |||
358aa5d1c0 | |||
68e72534c5 | |||
dcec821524 | |||
f3854037a1 | |||
15ccc67479 | |||
f507e1b30a | |||
a660ea6c17 | |||
882fa81e7d | |||
8cdd2bbcd3 | |||
4e729820f5 | |||
5808978ac0 | |||
ac4b27208c | |||
5a59d34cdc | |||
9faa82bf6f | |||
b674fa1040 | |||
002722bf39 | |||
889954e512 | |||
8614247459 | |||
7a2349f9dc | |||
10a0aaed78 | |||
bd65c9dcf7 | |||
3ba67f7adb | |||
b120f2d76f | |||
7bbca8570f | |||
217b4bc19b | |||
6ba6ce5830 | |||
a38709d768 | |||
39e1c55b9b | |||
0a7bfd2525 | |||
cbfeeedb4c |
22
_service
Normal file
22
_service
Normal file
@@ -0,0 +1,22 @@
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/Genivia/ugrep.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">ugrep</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="revision">v7.5.0</param>
|
||||
<param name="versionrewrite-pattern">v(.*)</param>
|
||||
<param name="versionrewrite-replacement">\1</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual"/>
|
||||
<service name="tar" mode="buildtime">
|
||||
<!-- throw away binaries -->
|
||||
<param name="exclude">bin/win32</param>
|
||||
<param name="exclude">bin/win64</param>
|
||||
</service>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
</services>
|
6
_servicedata
Normal file
6
_servicedata
Normal file
@@ -0,0 +1,6 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/Genivia/ugrep.git</param>
|
||||
<param name="changesrevision">eada75555a2bc033559b182f334e0406bc54a641</param>
|
||||
</service>
|
||||
</servicedata>
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:587ebb694dd3d2f5bef9f35df5b9e196b89da981cfe1084539e55b8d9a62fd65
|
||||
size 13091376
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7b54e8e7d2d9058167269673fd783651071ba1ace547cf6c926b833607d2e1b
|
||||
size 7024025
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6042ba7b4bf040e44c16b89a056e926d46d179de48b1077888abb5b8a7be435
|
||||
size 7032313
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:eec1ddcd17dcc017987caad916ed245adef5ccc151837eefae5f86047fae0d99
|
||||
size 7055035
|
3
ugrep-7.5.0.obscpio
Normal file
3
ugrep-7.5.0.obscpio
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0a80b608f4f514b597bc2e5af397d5681d7ce3009d1f8caf407c2befb253fa37
|
||||
size 24764429
|
155
ugrep.changes
155
ugrep.changes
@@ -1,3 +1,158 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 30 10:06:08 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.5.0:
|
||||
* extended dual predict-match PM3+PM5 algorithms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 11:01:51 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.4.3:
|
||||
* fix bug in option -x and regex ^$-anchors used in certain short
|
||||
patterns
|
||||
* mark likely/unlikely branches for performance
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 30 09:17:39 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.4.2:
|
||||
* speed up regex pattern search for some more extreme cases
|
||||
* clean up code base to remove shadowed locals
|
||||
* add safeguards for preventable pattern undermatch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 27 11:49:31 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.4.1:
|
||||
* more responsive output when searching slow standard input pipes
|
||||
such as tail -f log | ug pattern
|
||||
* new option argument -t seed7 (or --file-type=seed7) searches
|
||||
seed7 files
|
||||
* faster path glob search
|
||||
* options with paths (globs containing a /) also enable option
|
||||
-r when -d, -r or -R are not specified
|
||||
* clarify the usefulness of the default to not empty-match
|
||||
empty-matching patterns versus GNU grep that does
|
||||
(as with ugrep option -Y)
|
||||
* option -z (or --decompress) now also auto-detects bzip2, XZ,
|
||||
and Zstandard compressed files
|
||||
* new option --from=FILE: read additional pathnames of files to
|
||||
search from FILE
|
||||
* drain the input pipe until EOF when reading non-seekable
|
||||
standard input such as from a pipe, for compatibility with GNU
|
||||
grep
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 4 07:34:18 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.3.0:
|
||||
* make options -i (--ignore-case) and -j (--smart-case) respect
|
||||
Unicode letter case conventions
|
||||
* usability improvements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 5 14:17:52 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.2.2:
|
||||
* improve search speed when the specified regex pattern is not
|
||||
found in the input when the specified regex starts with a
|
||||
wildcard such as .*, which previously resulted in unnecessary
|
||||
regex match processing overhead
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 28 06:44:29 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.2.1:
|
||||
* Fix possible hang when SIMD is not available for some options
|
||||
and patterns
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 24 13:28:19 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.2.0:
|
||||
* new options --no-files-with-matches and --no-count
|
||||
* update options -i and -j when used together: -i unconditional
|
||||
case-insensitive matching should override -j smart-case
|
||||
conditional case-insensitive matching
|
||||
* new adoc type added to option -t or --file-type
|
||||
* new full support for GNU/BSD grep option -z (--null-data),
|
||||
such that -z is reassigned from --decompress to --null-data
|
||||
when ugrep is specifically copied or symlinked with the target
|
||||
name grep, egrep, fgrep, zgrep, zegrep, or zfgrep executable
|
||||
file binaries to run as replacements of GNU/BSD grep
|
||||
* fix a bug in ugrep v7 when matching certain case-insensitive
|
||||
patterns at the very end of a file at EOF when an EOL before
|
||||
EOF is missing (this is not a problem in versions prior to v7)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 11 10:40:31 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.1.3:
|
||||
* fix a problem with option -i (--ignore-case) that in rare and
|
||||
specific circumstances may not match all of the specified
|
||||
alternate sub-patterns
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 1 18:57:59 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.1.2:
|
||||
* support the latest bzip3 library upgrades
|
||||
* permit su search of "unreadable" files
|
||||
* do not exit with code 2 when some files can't be decompressed
|
||||
- enable bzip3 support for Leap
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 5 16:03:18 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.1.1:
|
||||
* fix negative character classes when option -i or --ignore-case
|
||||
is used and make ugrep closely emulate GNU grep's character
|
||||
class behavior when options -i and -P are used
|
||||
* appease -Woverload-virtual and -Wshadow warnings
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 23 10:07:23 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.1.0:
|
||||
* add TUI glob editor syntax highlighting
|
||||
* bin/ug(|rep)+: Let the helper script work if no helper is
|
||||
available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 17 17:55:42 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- Update to version 7.0.4:
|
||||
* TUI fixes for other platforms
|
||||
- remove Windows binaries from src rpm; switch to source service
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 12 21:10:44 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 7.0.3:
|
||||
* fixes for other platforms
|
||||
* usability improvements
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 20:35:07 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
- update to 7.0.2:
|
||||
* rewritten SIMD acceleration logic and the search algorithm
|
||||
selection decision logic to speed up pattern matching (the
|
||||
actual speedup depends on the type of regex patterns specified)
|
||||
* improved regex anchors and word boundary matching speed and
|
||||
support
|
||||
* fix option --xml pathnames with special characters, which are
|
||||
unlikely to occur in pathnames, but aren't strictly forbidden
|
||||
* updated option --hexdump with -ABC context hex lines before and
|
||||
after a match
|
||||
* the TUI now also uses the VISUAL environment variable if PAGER
|
||||
is not set
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 9 05:24:34 UTC 2024 - jun wang <jgwang@suse.com>
|
||||
|
||||
- disable AVX2/AVX512BW CPU extensions because of bsc#1222752
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 24 07:09:34 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||
|
||||
|
4
ugrep.obsinfo
Normal file
4
ugrep.obsinfo
Normal file
@@ -0,0 +1,4 @@
|
||||
name: ugrep
|
||||
version: 7.5.0
|
||||
mtime: 1750273655
|
||||
commit: eada75555a2bc033559b182f334e0406bc54a641
|
28
ugrep.spec
28
ugrep.spec
@@ -2,7 +2,7 @@
|
||||
# spec file for package ugrep
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -23,17 +23,18 @@
|
||||
%bcond_without fish
|
||||
%endif
|
||||
Name: ugrep
|
||||
Version: 6.5.0
|
||||
Version: 7.5.0
|
||||
Release: 0
|
||||
Summary: Universal grep: a feature-rich grep implementation with focus on speed
|
||||
License: BSD-3-Clause
|
||||
Group: Productivity/File utilities
|
||||
URL: https://github.com/Genivia/ugrep
|
||||
Source: https://github.com/Genivia/ugrep/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(bzip2)
|
||||
BuildRequires: pkgconfig(bzip3)
|
||||
BuildRequires: pkgconfig(libbrotlidec)
|
||||
BuildRequires: pkgconfig(liblz4)
|
||||
BuildRequires: pkgconfig(liblzma)
|
||||
@@ -42,17 +43,6 @@ BuildRequires: pkgconfig(libzstd)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
Provides: ugrep-indexer = 1.0.0
|
||||
Obsoletes: ugrep-indexer < 1.0.0
|
||||
# the bzip3 version seems to old, the tests break with decompression errors
|
||||
%if 0%{?suse_version} > 1599
|
||||
BuildRequires: pkgconfig(bzip3)
|
||||
%endif
|
||||
# lib/matcher_avx2.cpp is selected based on a runtime AVX2 check
|
||||
# lib/matcher_avx512bw.cpp is selected based on runtime AVX512BW check
|
||||
# Make OBS select an x86_64-v3 build host to reproducibly enable usage
|
||||
# without cross-compiling
|
||||
%ifarch x86_64
|
||||
#!BuildConstraint: hardware:cpu:flag x86-64-v3
|
||||
%endif
|
||||
|
||||
%description
|
||||
Ugrep supports an interactive query UI and can search file systems, source
|
||||
@@ -101,10 +91,9 @@ This package contains the fish completion for ugrep.
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-avx2 \
|
||||
--enable-color \
|
||||
%if 0%{?suse_version} > 1599
|
||||
--with-bzip3 \
|
||||
%endif
|
||||
%if !%{with fish}
|
||||
--with-fish-completion-dir=no \
|
||||
%endif
|
||||
@@ -114,6 +103,7 @@ This package contains the fish completion for ugrep.
|
||||
%install
|
||||
%make_install
|
||||
%fdupes %{buildroot}%{_datadir}/%{name}
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
|
||||
%check
|
||||
%make_build test
|
||||
@@ -121,7 +111,11 @@ This package contains the fish completion for ugrep.
|
||||
%files
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%{_bindir}/*
|
||||
%{_bindir}/ug
|
||||
%{_bindir}/ug+
|
||||
%{_bindir}/ugrep
|
||||
%{_bindir}/ugrep+
|
||||
%{_bindir}/ugrep-indexer
|
||||
%{_mandir}/man1/*.1%{?ext_man}
|
||||
%{_datadir}/ugrep
|
||||
|
||||
|
Reference in New Issue
Block a user