36 Commits

Author SHA256 Message Date
e72890c5ad Accepting request 1289236 from utilities
ugrep 7.5.0 (forwarded request 1289235 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1289236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=87
2025-06-30 11:21:04 +00:00
4d918d2db7 ugrep 7.5.0
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=178
2025-06-30 10:07:44 +00:00
7f0b9b8c84 Accepting request 1280539 from utilities
OBS-URL: https://build.opensuse.org/request/show/1280539
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=86
2025-05-27 16:43:30 +00:00
211300925d ugrep 7.4.3
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=176
2025-05-27 12:01:05 +00:00
c30d092ff0 Accepting request 1273636 from utilities
OBS-URL: https://build.opensuse.org/request/show/1273636
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=85
2025-04-30 17:05:39 +00:00
156a6ac2ea ugrep 7.4.2
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=174
2025-04-30 09:59:29 +00:00
8d15aecb98 Accepting request 1272941 from utilities
ugrep 7.4.1 (forwarded request 1272940 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1272941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=84
2025-04-27 20:54:29 +00:00
86b238c1b2 ugrep 7.4.1
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=172
2025-04-27 11:52:35 +00:00
5803459abc Accepting request 1255512 from utilities
OBS-URL: https://build.opensuse.org/request/show/1255512
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=83
2025-03-24 12:32:28 +00:00
2f93ebd3f3 ugrep 7.3.0
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=170
2025-03-24 07:13:37 +00:00
33d1053e3e Accepting request 1243533 from utilities
OBS-URL: https://build.opensuse.org/request/show/1243533
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=82
2025-02-06 21:08:14 +00:00
jun wang
839d0a7a56 Accepting request 1243395 from home:AndreasStieger:branches:utilities
ugrep 7.2.2

OBS-URL: https://build.opensuse.org/request/show/1243395
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=168
2025-02-06 02:07:44 +00:00
7e48272542 Accepting request 1237212 from utilities
OBS-URL: https://build.opensuse.org/request/show/1237212
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=81
2025-01-13 16:50:46 +00:00
jun wang
9a7e552f66 Accepting request 1237012 from home:AndreasStieger:branches:utilities
ugrep 7.1.3

OBS-URL: https://build.opensuse.org/request/show/1237012
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=166
2025-01-13 01:58:46 +00:00
d75d7bf7fc Accepting request 1228646 from utilities
OBS-URL: https://build.opensuse.org/request/show/1228646
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=80
2024-12-06 13:26:58 +00:00
17affcbdea Accepting request 1228559 from home:AndreasStieger:branches:utilities
ugrep 7.1.1

OBS-URL: https://build.opensuse.org/request/show/1228559
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=164
2024-12-06 03:14:36 +00:00
bd9f7aaf34 Accepting request 1226238 from utilities
OBS-URL: https://build.opensuse.org/request/show/1226238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=79
2024-11-25 22:22:40 +00:00
jun wang
d9defd08e2 Accepting request 1225960 from home:AndreasStieger:branches:utilities
ugrep 7.1.0

OBS-URL: https://build.opensuse.org/request/show/1225960
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=162
2024-11-25 10:19:30 +00:00
f6fa05ab84 Accepting request 1224738 from utilities
ugrep 7.0.4 (forwarded request 1224701 from AndreasStieger)

OBS-URL: https://build.opensuse.org/request/show/1224738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=78
2024-11-18 19:01:38 +00:00
jun wang
adc8492135 Accepting request 1224701 from home:AndreasStieger:branches:utilities
ugrep 7.0.4

OBS-URL: https://build.opensuse.org/request/show/1224701
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=160
2024-11-17 23:55:29 +00:00
9ac48eb8da Accepting request 1223820 from utilities
OBS-URL: https://build.opensuse.org/request/show/1223820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=77
2024-11-13 14:28:55 +00:00
jun wang
27852cdc3f Accepting request 1223792 from home:AndreasStieger:branches:utilities
ugrep 7.0.3

OBS-URL: https://build.opensuse.org/request/show/1223792
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=158
2024-11-13 01:03:09 +00:00
091d881908 Accepting request 1221323 from utilities
OBS-URL: https://build.opensuse.org/request/show/1221323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=76
2024-11-05 14:41:41 +00:00
jun wang
68559fdd87 Accepting request 1218866 from home:AndreasStieger:branches:utilities
ugrep 7.0.2

OBS-URL: https://build.opensuse.org/request/show/1218866
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=156
2024-11-05 07:16:46 +00:00
94c97330c9 Accepting request 1207848 from utilities
OBS-URL: https://build.opensuse.org/request/show/1207848
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=75
2024-10-14 11:08:08 +00:00
jun wang
58ca47e915 Accepting request 1207847 from home:jgwang:branches:utilities
disable AVX2/AVX512BW CPU extensions because of bsc#1222752

OBS-URL: https://build.opensuse.org/request/show/1207847
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=154
2024-10-14 08:11:06 +00:00
57ed41fef1 Accepting request 1195824 from utilities
OBS-URL: https://build.opensuse.org/request/show/1195824
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=74
2024-08-25 10:10:34 +00:00
95fe079f25 Accepting request 1195823 from home:AndreasStieger:branches:utilities
ugrep 6.5.0

OBS-URL: https://build.opensuse.org/request/show/1195823
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=152
2024-08-24 07:14:01 +00:00
6f7e653743 Accepting request 1193034 from utilities
OBS-URL: https://build.opensuse.org/request/show/1193034
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=73
2024-08-10 17:07:57 +00:00
2d3805839d Accepting request 1193033 from home:AndreasStieger:branches:utilities
ugrep 6.4.1

OBS-URL: https://build.opensuse.org/request/show/1193033
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=150
2024-08-09 17:08:49 +00:00
afda8acda2 Accepting request 1192922 from utilities
OBS-URL: https://build.opensuse.org/request/show/1192922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=72
2024-08-09 14:16:14 +00:00
b6d255e9a5 Accepting request 1192921 from home:AndreasStieger:branches:utilities
6.4.0

OBS-URL: https://build.opensuse.org/request/show/1192921
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=148
2024-08-09 12:12:02 +00:00
66326c40e3 Accepting request 1190808 from utilities
OBS-URL: https://build.opensuse.org/request/show/1190808
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=71
2024-08-01 20:04:39 +00:00
cc782956fa Accepting request 1190807 from home:AndreasStieger:branches:utilities
ugrep 6.3.0

OBS-URL: https://build.opensuse.org/request/show/1190807
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=146
2024-07-31 20:28:47 +00:00
a3b79caeaf Accepting request 1186670 from utilities
OBS-URL: https://build.opensuse.org/request/show/1186670
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ugrep?expand=0&rev=70
2024-07-11 18:32:14 +00:00
999fa69855 Accepting request 1186669 from home:AndreasStieger:branches:utilities
ugrep 6.2.0

OBS-URL: https://build.opensuse.org/request/show/1186669
OBS-URL: https://build.opensuse.org/package/show/utilities/ugrep?expand=0&rev=144
2024-07-10 19:15:40 +00:00
7 changed files with 276 additions and 20 deletions

22
_service Normal file
View 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
View 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>

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:587ebb694dd3d2f5bef9f35df5b9e196b89da981cfe1084539e55b8d9a62fd65
size 13091376

3
ugrep-7.5.0.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0a80b608f4f514b597bc2e5af397d5681d7ce3009d1f8caf407c2befb253fa37
size 24764429

View File

@@ -1,3 +1,221 @@
-------------------------------------------------------------------
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>
- update to 6.5.0
* faster binary file checking with SIMD (SSE2/AVX2/NEON) UTF-8
validation
* new option --context-separator=SEP
* options -W and -X now also apply to --format fields %o and %O
to output hex
* ugrep-indexer option -z (indexes compressed files and
zip/7z/tar/cpio/pax archives) no longer indexes hidden
directories and files (i.e. "dotfiles") stored in archives, to
save space
- make spec build on Amazon Linux 2023
-------------------------------------------------------------------
Fri Aug 9 17:04:45 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 6.4.1:
* fix problem with --fixed-strings and --file FILE when FILE
contains an \E
-------------------------------------------------------------------
Fri Aug 9 12:10:51 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 6.4.0:
* new custom output format fields for options --format and
--replace
* fix bash completions for key bindings
-------------------------------------------------------------------
Wed Jul 31 20:22:31 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 6.3.0:
* option --index always enables --recursive
* new bash, fish and zsh ugrep-indexer completions
* option --hyperlink outputs absolute search paths
* update regex DFA cut optimization that was too agressive for
some patterns
* option -o (--only-matching) with -ABC context now also
supports multi-line pattern matching with \n (newline) in regex
patterns
-------------------------------------------------------------------
Wed Jul 10 19:12:15 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>
- update to 6.2.0:
* improved support for legacy grep color environment variable
single ANSI color codes format
* improved zsh -ABC options completion
* improved option -% (--bool) when multiple -e PATTERN are
specified; now aligns with the documentation of option -e to
match any of the specified PATTERN (note that -% can be
combined with options --and, --andnot, --not. -e amd -N)
* improved option -Q (--query) when combined with options --and,
--andnot, --not by activatating option -% (--bool) so that the
combined search patterns can be edited as one Boolean query
pattern in the TUI
* minor speed improvement when searching in large files with
option -f with a file with hundreds, thousands or more
words/strings to find (-fwords/4.txt in benchmarks)
* again extensively tested with randomized patterns
-------------------------------------------------------------------
Tue Jun 4 16:40:11 UTC 2024 - Andreas Stieger <andreas.stieger@gmx.de>

4
ugrep.obsinfo Normal file
View File

@@ -0,0 +1,4 @@
name: ugrep
version: 7.5.0
mtime: 1750273655
commit: eada75555a2bc033559b182f334e0406bc54a641

View File

@@ -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
@@ -17,18 +17,24 @@
#
%if 0%{?amzn}
%bcond_with fish
%else
%bcond_without fish
%endif
Name: ugrep
Version: 6.1.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
BuildRequires: c++_compiler
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)
@@ -37,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
@@ -77,6 +72,7 @@ BuildArch: noarch
This package contains the zsh completion for ugrep.
%if %{with fish}
%package fish-completion
Summary: Fish completion for ugrep
BuildRequires: fish
@@ -88,15 +84,18 @@ BuildArch: noarch
%description fish-completion
This package contains the fish completion for ugrep.
%endif
%prep
%autosetup -p1
%build
%configure \
--disable-avx2 \
--enable-color \
%if 0%{?suse_version} > 1599
--with-bzip3 \
%if !%{with fish}
--with-fish-completion-dir=no \
%endif
%{nil}
%make_build
@@ -104,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
@@ -111,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
@@ -123,8 +127,10 @@ This package contains the fish completion for ugrep.
%license LICENSE.txt
%{_datadir}/zsh/site-functions/*
%if %{with fish}
%files fish-completion
%license LICENSE.txt
%{_datadir}/fish/vendor_completions.d/*.fish
%endif
%changelog