Commit graph

29 commits

Author SHA1 Message Date
Naïm Favier 42b0e87393
import-scripts: fix IndexError for options with no declarations (#330) 2021-08-02 22:30:46 +02:00
Jan Tojnar 25b085fb41
Do not show legacy aliases (#309)
Legacy aliases are slated for removal and should not be used.

https://github.com/NixOS/nixos-search/issues/306
2021-06-08 17:16:36 +02:00
Rok Garbas d1085b806f
21.05 release (#311)
* Bump unstable and add 21.05 release

* The usual typos

* The frontend stuff was missing

* preserve the order

* Update import-scripts/import_scripts/channel.py

Co-authored-by: Rok Garbas <rok@garbas.si>

Co-authored-by: Jonathan Ringer <jonringer117@gmail.com>
2021-06-01 21:49:42 -07:00
Rok Garbas ff8022fba5
emacs packages have new attr path (#299)
also bump version to make sure package set gets recreated
2021-03-30 23:58:24 +02:00
Rok Garbas e5ba0562a7
unstable/21.03pre -> unstable/21.05pre (#297) 2021-03-30 23:32:43 +02:00
Rok Garbas cfb5e540b9
Improving search query (#288)
* Reduce the numbers of bucket results on each ChangeBucket event
* Warmup after reindexing, fixes #250
* Using multiple sort keys, fixes #218
* Index also unfree packages, fixes #226, fixes #237
* Add wilcard query, fixes #279
2021-02-07 19:10:13 +01:00
Rok Garbas 5bb94c9c92
Adds faceted search (#261) 2021-01-23 17:25:43 +01:00
Naïm Favier aea6789af6
Improve nix.py (#254)
Co-authored-by: Rok Garbas <rok@garbas.si>
2020-12-18 13:04:13 +01:00
Rok Garbas 274e65711a
Pretty print nix examples and default fields in options (#252) 2020-12-16 12:45:10 +01:00
Rok Garbas 06f5aa9cd7
Add retry to parts of the import script which were failing from time to time (#249) 2020-12-07 10:56:04 +01:00
Naïm Favier ba3fe60808
import-scripts: fix boolean rendering (#246) 2020-12-07 08:48:48 +01:00
Naïm Favier 27ff900fc3
Fix package position links (#242) 2020-12-02 13:53:52 +01:00
Rok Garbas d23b777053
use lowercase filter on edge analyzer (#241) 2020-12-01 00:30:45 +01:00
Naïm Favier 7bcf9f17d8
Fix import scripts, remove 19.09 branch (#239)
* Fix rendering of default and example values

* bump the version

* reduce nix-instantiate calls

* Allow literalExample in default values, handle null correctly

* using py38 for now

* literalExample is not always string

* in case literalExample is not string process it as we would normally

* Remove 19.09 branch

* also remove 19.09 channel from github actions

* improve testing of empty lists and dicts

Co-authored-by: Rok Garbas <rok@garbas.si>
2020-11-30 17:58:42 +01:00
Adam Sandberg Eriksson 7ac72dc89c
recurse into haskell.compiler to find additional Haskell compilers (#222) 2020-11-17 10:16:38 +01:00
Rok Garbas adbb224490
point to release prefix for 20.09 channel (#212) 2020-10-27 15:34:56 -04:00
Rok Garbas a23bcf1497
channel-diff script (#206) 2020-10-07 08:58:17 +02:00
Andreas Rammhold 33c2c8a837
Always use NixOS/nixpkgs instead of NixOS/nixpkgs-channels (#208)
Links in the search results for NixOS 20.09 started throwing 404
otherwise. Not all channels are being pushed to nixpkgs-channels as
apparently it is being phased out.
2020-10-06 20:26:07 -04:00
Rok Garbas a2c570e52e
20.09 -> nixos-20.09beta and unstable -> nixos-21.03pre (#205) 2020-10-05 23:27:02 +02:00
Rok Garbas 4b9f197fb0
Add nixos 20.09 (#199)
* Add NixOS 20.09

* a different prefix is needed since 20.09 is not released yet

Co-authored-by: Andreas Rammhold <andreas@rammhold.de>
2020-09-24 22:29:47 +02:00
Rok Garbas 86ad9d036d
Reworked search query (#197)
- still muse multi_match but now with cross_fields type
- add edge n-gram index field since cross_fields works only with match
  and this way we can have prefix support
- suffix support is still supported as before by reversing the words in
  data and query
- for query we now create variations of all multi_match queries. from 2
  words you get 4 queries, from 3 works you get 8 queries and so on.
2020-09-23 14:39:36 +02:00
Rok Garbas c12f4dfb6c
add suffix search (or reverse prefix) (#176)
also fixes #170
2020-09-01 17:20:35 +02:00
adisbladis d96877dc64
Use english analyzer for descriptions (#110) 2020-08-08 22:38:06 +02:00
Rok Garbas 44cbea8547
remove suggestions feature (#141) 2020-07-24 23:01:16 +02:00
Rok Garbas c048af9f69
Always use "nixos-*" channels to look up for builds (#139) 2020-07-24 11:50:24 +02:00
adisbladis 1f8939b3af
Suggestions for search field (#74) 2020-07-02 14:27:49 +02:00
Rok Garbas b06bac6187
Fix cron workflow (#108) 2020-06-19 20:16:11 +02:00
Rok Garbas 3ecce08a94
Improve option search ranking (#107) 2020-06-19 08:53:49 +02:00
Rok Garbas bbc97d17f0
flakify (#106) 2020-06-19 00:41:01 +02:00