aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Magorsch <max@magorsch.de>2019-10-18 00:50:51 +0200
committerMax Magorsch <max@magorsch.de>2019-10-18 00:50:51 +0200
commita5a8ff8c763ae3d25c15a90190403fbd854f3f48 (patch)
treea9dbbac408ea5b7e59f1ff372f730f3910f3fa7b /Gemfile.lock
parentAdd a couple of initial integration tests (diff)
downloadpackages-5-a5a8ff8c763ae3d25c15a90190403fbd854f3f48.tar.gz
packages-5-a5a8ff8c763ae3d25c15a90190403fbd854f3f48.tar.bz2
packages-5-a5a8ff8c763ae3d25c15a90190403fbd854f3f48.zip
Add a query parser for advanced search queries
Add a query parser using parslet which is able to parse advanced queries. This way, it is possible to run queries like: > +maintainers.emails:haskell@gentoo.org or > +maintainers.emails:haskell@gentoo.org -category:dev-haskell to find all packages that are maintained by the haskell herd and respectively all packages that are maintained by the haskell herd but not part of dev-haskell. Documentation on how to use the advanced queries is included into the website and can be viewed by clicking on a question mark next to the search bar on the landing page. Signed-off-by: Max Magorsch <max@magorsch.de>
Diffstat (limited to 'Gemfile.lock')
-rw-r--r--Gemfile.lock2
1 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile.lock b/Gemfile.lock
index 71c12c2..f959a48 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -130,6 +130,7 @@ GEM
parallel (1.17.0)
parser (2.6.4.1)
ast (~> 2.4.0)
+ parslet (1.8.2)
rack (2.0.7)
rack-protection (2.0.7)
rack
@@ -247,6 +248,7 @@ DEPENDENCIES
listen
nokogiri
octicons_helper
+ parslet
rails (~> 6.0.0)
rails-controller-testing
rdiscount