aboutsummaryrefslogtreecommitdiff
path: root/app
Commit message (Collapse)AuthorAgeFilesLines
* Use new unique_versions view in package show UI.v6.0.5Alec Warner2018-02-251-1/+1
|
* Uniqify versions in the UI for the moment.v6.0.4Alec Warner2018-02-251-1/+4
| | | | | The indexer is still doing naughty things, but we can patch the UI to uniqify versions until we fix the index.
* Merge branch 'es-6-compat' into master.v6.0.0Alec Warner2018-02-185-42/+46
|\ | | | | | | | | | | | | | | Signed-off-by: Robin Johnson <robbat2@gentoo.org> Collectively this contains a series of commits to move from Elasticsearch v2.X to Elasticsearch v6.0.1. It also contains a bundler update for the ruby environment.
| * Fix Changes index again.Alec Warner2018-02-171-1/+1
| | | | | | | | | | Its simpler to fix by not renaming the class and just renaming the index name due to how we automate things in p.g.o.
| * Fix bug in versions.Alec Warner2018-02-041-1/+1
| | | | | | | | | | Previously it matched by name but package.name == 'portage' and we need to match on atom. So switch to atom.
| * Fix find_all_by_package.Alec Warner2018-02-041-1/+1
| | | | | | | | | | | | Originally designed as a replacement for find_all_by_parent, we don't need a custom function for it because Version.find_all_by(:package, name) works just as well.
| * Convert more fields to keyword mapping.Alec Warner2018-01-204-23/+23
| | | | | | | | | | | | | | | | | | | | In previous changes I over-eagerly converted string fields to text. Note in package.rb most of them were already 'keyword'. This cause the package indices to work well, but the other indices were failing to work properly. By default, try to keyword index all fields. This should provide similar matching as before. Fulltext index description fields.
| * Turn category names back into keywords.Alec Warner2018-01-201-1/+1
| | | | | | | | | | | | | | The 'text' fields were not indexed properly. Keyword fields are indexed properly, so turn it back into a keyword. Also fix the index reloading to remove indices by name.
| * Add find_all_by_package.Alec Warner2018-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | Due to splitting of indexes for ES6, we can no longer rely on parent, child relations to determine 'which packages have which versions' because ES6 cannot join between two indexes. Instead we lookup in the versions table a particular package (CP). This should yield some reasonable count of versions (typically 1-100). We then use those results to find answers like "highest version" by simplying sorting the result and taking the first of the sort.
| * Update ES indexing scheme for ES6.Alec Warner2018-01-165-41/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ES6 introduces a number of breaking changes into ES. 1) https://www.elastic.co/guide/en/elasticsearch/reference/master/removal-of-types.html This basically entails breaking up the single multi-typel index we had into N indices, one per model. Our other option is to continue to use a single index, but add a custom type property. This seemed unwieldy. 2) The 'String' type was also deprecated. See https://www.elastic.co/blog/strings-are-dead-long-live-strings So we see many updates from "not analyzed" to "keyword" to retain the previous behavior
* | Update copyright year in footer.Alec Warner2018-02-031-1/+1
|/ | | | Closes: https://bugs.gentoo.org/636114
* Handle removed packages that still appear in changes feedsAlex Legler2016-08-241-2/+4
|
* Link package versions to ebuild on gitwebAlex Legler2016-08-103-1/+13
|
* Remove popover keyword legend, link insteadAlex Legler2016-08-102-16/+0
| | | | Doesn't work properly on XS screens
* Begin transition to inline SVG octiconsAlex Legler2016-08-103-5/+9
|
* Manually expire changelog cacheAlex Legler2016-08-101-1/+1
| | | | This should hopefully relieve the load the repeated `git log' calls cause.
* Don't cache package headerAlex Legler2016-08-091-2/+1
|
* Rework package metadata headerAlex Legler2016-08-094-36/+67
|
* Properly handle homepage being an empty arrayAlex Legler2016-08-091-1/+1
|
* Build package homepages manually (#588946)Alex Legler2016-08-061-1/+1
| | | | | This avoids Rails handling own app URLs specially, exposing the URL Encoded atom slash issue.
* Initial commit w/currently running codeAlex Legler2016-07-20112-0/+3539