spacedrive/crates
Consoli 26b6baffb6
Extend indexer rules with .gitignore when available (#2459)
* Extend indexer rules with `.gitignore` when available

* Make indexer accounts for valid git  repos when reading ignore files

* Ignore poorly formatted gitignore rules

* Reduce allocation in gitignore indexer rules

* Fix tests for gitignore indexer rules

* Remove code duplication

* Remove double call to git rules

* Improve doc for todo

* rustfmt

* Skip star rules that matches a negated pattern when parsing gitignore

* Skip conflicting glob rules

* Rename and remove print

* Make git ignore indexer consider multiple paths

* Use gix_ignore to handle gitignore rules

* Fix gitignore patterns relative to git repo

* Git indexer also consider nested repos

* Create a dedicated type for rules coming from git

* Consider every gitignore file inside a git repo

* Add IgnoredByGit to interface

* Add Gitignore system IndexerRule to allow front-end to toggle GitIgnoreRules
 - Make IndexerRules names unique
 - CLippy fmt

* Fix migration concat

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
2024-05-17 06:28:12 +00:00
..
actors separate cloud sync into sd-core-cloud-sync (#2025) 2024-01-31 08:16:54 +00:00
ai Media metadata extraction & Thumbnailer rework (#2285) 2024-05-09 02:20:28 +00:00
cloud-api Fix CI (#2461) 2024-05-08 05:04:25 +00:00
crypto Media metadata extraction & Thumbnailer rework (#2285) 2024-05-09 02:20:28 +00:00
deps-generator Fix CI (#2461) 2024-05-08 05:04:25 +00:00
fda [ENG-1479] AI Prototype (#1845) 2023-12-19 09:28:57 +00:00
ffmpeg Improve Thumbnail quality + fixes (#2467) 2024-05-09 05:48:43 +00:00
file-ext Media metadata extraction & Thumbnailer rework (#2285) 2024-05-09 02:20:28 +00:00
images Clippy the entire repo (#2195) 2024-03-12 11:27:23 +00:00
media-metadata Improve Thumbnail quality + fixes (#2467) 2024-05-09 05:48:43 +00:00
p2p Extend indexer rules with .gitignore when available (#2459) 2024-05-17 06:28:12 +00:00
prisma Media metadata extraction & Thumbnailer rework (#2285) 2024-05-09 02:20:28 +00:00
prisma-cli [ENG-1628] Write new indexer with the task system (#2161) 2024-04-08 14:32:44 +00:00
sync Fix cargo test & improve pnpm prep native deps download (#2393) 2024-04-25 17:58:50 +00:00
sync-generator use prisma-client-rust main branch (#2471) 2024-05-10 15:54:34 +00:00
task-system [ENG-1634 / ENG-1636] Integrate Media Data Extractor and Thumbnail Actor with New Task System (#2423) 2024-05-10 12:51:22 +00:00
utils use prisma-client-rust main branch (#2471) 2024-05-10 15:54:34 +00:00