aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model/lint-warning-message.scm
Commit message (Collapse)AuthorAge
* Reformat lint warning related queryChristopher Baines2020-10-02
|
* Make the query that provides locale options look nicerDanjela Lura2020-06-07
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Add option to change language of lint messages for the revision pageDanjela lura2020-04-04
| | | | Signed-off-by: Christopher Baines <mail@cbaines.net>
* Sort the lint-warning-message-ids when queryingChristopher Baines2020-03-23
| | | | | This might solve errors where the Guix Data Service is trying to insert a lint_warning_message_set that already exists.
* Add copyright and license headers to a bunch of source filesChristopher Baines2019-12-26
| | | | That were missing them.
* Start handling ids as numbers, rather than stringsChristopher Baines2019-09-05
| | | | | | | | | squee, returns all data as strings, and expects strings as inputs to queries. So, keeping the ids as strings was easy initially, but it means that you can't tell from the type whether it should be quoted, or not... Therefore, handle ids as strings, converting them to numbers when they're fetched from the database, and back to strings as part of the queries.
* Improve insert-missing-data-and-return-all-idsChristopher Baines2019-09-04
| | | | | | Use exec-query-with-null-handling to distinguish NULL values, change it to just take a list of fields and remove the handlers. Also, add a sets-of-data? parameter so that this can be used licenses.
* Store lint warnings in the databaseChristopher Baines2019-09-01
This commit adds the relevant tables and code to store lint warnings in the database. Currently, only lint checkers which don't require access to the network will be run, as this allows the processing to happen without network access. Also, this functionality won't work in older versions of Guix which don't expose the lint warnings in a compatible way.