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
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')
-rw-r--r--Gemfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index e3952fb..6ff8992 100644
--- a/Gemfile
+++ b/Gemfile
@@ -33,6 +33,8 @@ gem 'sidekiq', require: false
gem 'rdiscount'
+gem 'parslet'
+
# UI
gem 'octicons_helper'