summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump the version to v0.2.0v0.2.0Max Magorsch2020-06-011-1/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Show the pkg-check and outdated infos in the UIMax Magorsch2020-06-016-1/+63
| | | | | | | | | | For now it's possible to show the pkg-check reports and information about outdated packages by clicking on a link 'Developer Mode' in the footer. This might change in future. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add further information to package and version objectsMax Magorsch2020-06-016-36/+288
| | | | | | | Pkgcheck and outdated information have been added to the package and version objects Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add the pkgcheck results to the graphql apiMax Magorsch2020-06-014-0/+716
| | | | | | | It's now possible to query for pkgcheck results using the graphql api. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Run Go Fmt ProjectMax Magorsch2020-06-015-14/+13
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add pkgcheck resultsMax Magorsch2020-06-014-0/+105
| | | | | | | | | | | qa-reports.gentoo.org will be used for now to fetch the pkgcheck results. All results will be stored in a database table so that they might be retrieved via the api or displayed in the UI in future. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add the outdated packages to the graphql apiMax Magorsch2020-06-014-0/+450
| | | | | | | It's now possible to query for outdated packages using the graphql api. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use repology to find outdated packagesMax Magorsch2020-06-014-3/+126
| | | | | | | | | | | | The repology api will be used to find all gentoo packages that are possibly outdated, that is that a newer version is available. The outdated version are stored in a database table so that they might be retrieved via the api or displayed in the UI in future. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Add a graphql apiMax Magorsch2020-06-0118-7/+9033
| | | | | | | | | | | | | | | | | | | So far the application had no standardized api. Instead there have been different json endpoints on different locations which were mostly taken over from kkuleomi for backwards compability. Now a graphql api has been added at /api/graphql For more information about graphql, please refer to https://graphql.org/ Using the graphql api it's possible to access all of the data that is present in the postgres database. Documentation for the api will follow. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Remove outdated feed templatesMax Magorsch2020-05-312-49/+0
| | | | | | | We are using gorilla feeds now, so that there is now need for the templates anymore. Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use the gorilla feeds for the search feedMax Magorsch2020-05-312-10/+29
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use 250 items for all atom feedsMax Magorsch2020-05-314-5/+5
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Clean up redundant codeMax Magorsch2020-05-311-25/+0
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use the gorilla feeds for the arches feedsMax Magorsch2020-05-311-2/+7
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use the gorilla feeds for the keyworded packagesMax Magorsch2020-05-311-1/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use the gorilla feeds for the stabilized packagesMax Magorsch2020-05-311-1/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use the gorilla feeds for the updated packagesMax Magorsch2020-05-311-1/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Move the new gorilla feeds to the feeds packageMax Magorsch2020-05-312-19/+39
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Fix icon for CI reports.Alec Warner2020-05-281-1/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Add CI report link to Resources.Alec Warner2020-05-281-0/+4
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Improve search queries that include whitespacesMax Magorsch2020-05-281-2/+4
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Consolidate the feed code for new Atom module.Alec Warner2020-05-272-19/+26
| | | | | | | Now each module just defines the main feed object and we use one function to populate the feed entries. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Fix broken build. I blame rod pike and smalltalk.Alec Warner2020-05-271-1/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* use cpv in content and title.Alec Warner2020-05-271-2/+3
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Update added feed per feedback.Alec Warner2020-05-271-2/+2
| | | | | | | | | Encode version in the title; this should make it clearer why there are multiple feed entries; as their titles will be different now. Make the content link an href. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Extend atom feed to 250 entities.Alec Warner2020-05-271-1/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Revert "Use RFC3339 for time in footer."Alec Warner2020-05-262-3/+1
| | | | | | | This reverts commit 858c36efe5ba15523e08d56c75545ddeb5ccd315. There are too many funcmaps; try again later. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Run go fmt on the codebase.Alec Warner2020-05-2615-64/+63
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Correct earlier commit.Alec Warner2020-05-261-1/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Handle the case where a query param is missing.Alec Warner2020-05-261-4/+4
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Don't throw a 500 when users search with no query.Alec Warner2020-05-261-0/+4
| | | | | | Raise a 400 instead. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Always restart watchtower in productionMax Magorsch2020-05-261-0/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Use RFC3339 for time in footer.Alec Warner2020-05-262-1/+3
| | | | | | Closes: https://bugs.gentoo.org/show_bug.cgi?id=708302 Signed-off-by: Alec Warner <antarus@gentoo.org>
* Rewrite added feed with gorilla feed.Alec Warner2020-05-262-6/+31
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Add docker files for development purposesMax Magorsch2020-05-243-7/+22
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Fix Typo.Alec Warner2020-05-241-2/+2
| | | | | | Closes: https://bugs.gentoo.org/show_bug.cgi?id=724888 Signed-off-by: Alec Warner <antarus@gentoo.org>
* Filter duplicate useflags by name not by idMax Magorsch2020-05-181-1/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Fix duplicate global useflagsMax Magorsch2020-05-181-6/+6
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Hide global useflags that are defined locallyMax Magorsch2020-05-181-3/+22
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Remove the space between the useflagsMax Magorsch2020-05-181-1/+2
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Packages should print out different USE_EXPAND sources.Alec Warner2020-05-173-17/+25
| | | | | | | | | Extend GetPackageUseflags to return a map instead of a list. Keys are USE_EXPAND categories, and values are the flags. Fix json and useflag templates to properly emit the flags. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Add gorilla feeds.Alec Warner2020-05-152-0/+15
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Revert "Propagate the git commit we built at into the env."Alec Warner2020-05-151-1/+0
| | | | | | | | This reverts commit e8d6f900277077facd5c1de5b57327b3f29c47ea. Of course this is build env not run env and the variables don't propagate into the contianer. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Add commit link to changes feed.Alec Warner2020-05-151-1/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Add image: titles in the override.Alec Warner2020-05-151-0/+2
| | | | | | | | | | | | | | | When I run docker-compose up; it attempts to build the containers. This is correct, but on my Ubuntu box for some silly reason go thinks my kernel is bad and needs a higher ulimit set to memlock the signal stack (a known golang bug.) I can do this in docker build (via --ulimit to docker build) but docker-compose offers no such luxury when calling docker build. So by naming them in the docker-compose file, I can run docker build by hand to produce the containers, and then docker compose just starts and stops them. Signed-off-by: Alec Warner <antarus@gentoo.org>
* Propagate the git commit we built at into the env.Alec Warner2020-05-141-0/+1
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Render 1000 items in the feed instead of 50.Alec Warner2020-05-144-4/+4
| | | | Signed-off-by: Alec Warner <antarus@gentoo.org>
* Bump the version to v0.1.23v0.1.23Max Magorsch2020-05-131-1/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Fix outdated mask entriesMax Magorsch2020-05-131-0/+13
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>
* Show the useflags of the latest version of a packageMax Magorsch2020-05-131-1/+1
| | | | Signed-off-by: Max Magorsch <arzano@gentoo.org>