Repository navigation
0.2.0
Added
-
The first search starts a background process that keeps the models in memory: later searches take about a second,
with no second terminal. It stops on its own after 30 minutes without searches;s1grep stopstops it now. -
Progress while indexing: a live bar with the functions done, the speed and the time left, also for searches answered
by the background process. -
s1grep status: the background process, the models and how far each project is indexed. -
Ignore files decide what is read:
~/.config/s1grep/ignorefor every project (created with the defaults on first
use) and a.s1grepignorein any folder;--excludeadds a pattern for one search. -
Installers:
install.shandupdate.shfor Linux,install.ps1for Windows. They check every download against the
release'sSHA256SUMSand prove the new binary runs before replacing anything.
Changed
- One index per project: searching a subfolder reuses the index of its project and is indexed first.
- Vectors are stored by the content of each function and shared between projects, so a framework copied into several
projects is embedded once. - Only files whose size or date changed are read again.
- Only one process indexes a project at a time; another search uses what is already indexed and says so.
Removed
--include-tests: bring tests back with!tests/in an ignore file.
Install
Linux (x86-64, glibc 2.38 or newer):
curl -fsSL https://raw.githubusercontent.com/apiservicesac/s1grep/main/install.sh | bashPin this version with --version 0.2.0. Already installed? Update in place:
curl -fsSL https://raw.githubusercontent.com/apiservicesac/s1grep/main/update.sh | bashWindows (x86-64), in PowerShell:
irm https://raw.githubusercontent.com/apiservicesac/s1grep/main/install.ps1 | iexRunning it again updates s1grep in place.