| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- thanks to upgrade of @gentoo/tyrian, we can now upgrade to newer node
version (from 13 to 20!)
- remove invalid import "packages.js" which was empty and now removed
- upgrade some dependencies
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
| |
- cache the svg for version rows, and use "href" for the svg
this minifies the HTML and make the browser render a little faster
- trim more whitespaces, especially around ranges
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
| |
- remove a lot of whitespaces
- compute the bugs count in normal Go code
- build the `.Package.AllBugs` only once
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/904888
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- not all relations were needed for all pages. split most into per page
should improve performance of those pages by not little
- perform mostly correct ordering of version in DB, so real correct sort
has less comparisons to do
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/904703
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
| |
- fix typeahead completion for useflags and in packages search (was
missing import JS)
- unvendor d3 and typeahead and upgrade them to latest versions
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- configure webpack to extract the css
- configure webpack mode to be production
- add fallback for noscript users with the css
In this mode, the website is still far from ideal, for example the icons
aren't displayed, but it looks much better now, mostly functional.
Closes: https://bugs.gentoo.org/721684
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
| |
Shown as a small download button on the right of the title "Stable
Requests" under the Stabilization tab, clicking on it will show menu
listing the 3 types.
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add exports in 3 formats: JSON, XML, and plain text consisting of
`cat/pkg-ver # message` format. For now this is a "hidden" url, by
adding ".json", ".xml", or ".list" to the end of the url, such as::
https://packages.gentoo.org/categories/dev-cpp/stabilization.xml
Still need to add a link to those files on the normal stabilization.
Closes: https://bugs.gentoo.org/904340
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The previous implementation was using the search facility with csv
output, which had hard limit of 10000. No passing of offset & limit
enabled us to fetch the next pages. By using the REST API, we can fetch
beyond that limit without issues.
Also implement a better "diff" update, which will only fetch the changed
since a week ago. This will reduce the load on the server, and will
enable us to update bugs more frequently. Reuse the `last_commit` field
in DB to hold the last update time, which enables us to start with
"empty" DB and still get the full history on next deploy.
Closes: https://bugs.gentoo.org/768174
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/903987
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
| |
Bug: https://bugs.gentoo.org/903987
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
| |
- if passed cat/pkgname is found, redirect to the package page
- redirect to the first result if there is only one
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
Better handling when there are whitespaces in the summary which was
causing issues with matching. I'm unsure if I fixed the linked bug,
but I suspect the answer is still no, I need a reproducer.
Bug: https://bugs.gentoo.org/768174
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- repology json can combine multiple gentoo packages into one "group"
(for example normal and "-bin" packages). Mark outdated for all those
packages.
- when selecting current latest version, instead of using the last entry
in array, version compare them and select latest.
Closes: https://bugs.gentoo.org/771126
Closes: https://bugs.gentoo.org/892591
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
| |
- fetch only bug ids (since only them are used)
- delete package_to_bugs entries using just bug id, so no need to
compute affected package.
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
| |
Closes: https://bugs.gentoo.org/888205
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
|
| |
- sort the results based on type (global, local, use_expand) and then
text search match level
- show local use flags as such in results with the referencing package
name
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
| |
Compute the whole result in DB, in a semi-ugly way (perform json array
expand, moving the replace char logic to SQL), but resulting in a much
better performance, less data transfer and less memory usage.
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
|
|
|
|
| |
A collection of stupid mistakes I've done. At least if works now :)
Fixes: 4fa6e4b619c0362728955b6ec56eab0e0cbf1e23
Closes: https://bugs.gentoo.org/903305
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|
|
|
|
| |
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
|