aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Add a READMEChristopher Baines2019-09-21
| | | | With local development instructions.
* Fix the godir in Makefile.amChristopher Baines2019-09-21
| | | | I think the .go files should be in lib, rather than share.
* Add guix as a dependencyChristopher Baines2019-09-21
| | | | This is used as a Guile module.
* Remove test-env from the repositoryChristopher Baines2019-09-21
| | | | This is a generated file.
* Add support for a .local.envrc fileChristopher Baines2019-09-21
| | | | As this is useful when setting custom configuration.
* Fix the repository pageChristopher Baines2019-09-14
| | | | The repository id is expected to be a number.
* Update the "source code here" linkChristopher Baines2019-09-10
|
* Show lint warnings on the comparison pageChristopher Baines2019-09-07
|
* Use numeric ids for git repositoriesChristopher Baines2019-09-05
|
* Add newline to the end of the duplicate lint warning outputChristopher Baines2019-09-05
|
* Use numbers for ids in the derivation modelChristopher Baines2019-09-05
| | | | | As this is easier to handle when doing queries with PostgreSQL, as you can use the type information to determine how to handle the values.
* Fix data input for package-metadataChristopher Baines2019-09-05
| | | | | Represent non-string home pages as NULL, and delete duplicates, as package metadata entries can be duplicated.
* Improve error handling for insert-missing-data-and-return-all-idsChristopher Baines2019-09-05
|
* Support deleting duplicates in insert-missing-data-and-return-all-idsChristopher Baines2019-09-05
| | | | | | This is useful when you want to pass in data with some duplicates, and get back a list of ids, where the duplicate entries are represented by the same id.
* Improve the package and package-metadata modulesChristopher Baines2019-09-05
| | | | | | | Add tests around the package module, extract out the use of the inferior-package record assessors so that they aren't part of the tests, and switch across the package-metadata module to use insert-missing-data-and-return-all-ids.
* Put some comments in the mock-inferior moduleChristopher Baines2019-09-05
| | | | About mocking the record file accessors not working :(
* 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.
* Reduce code duplication in the package moduleChristopher Baines2019-09-05
| | | | By using insert-missing-data-and-return-all-ids.
* Reduce code duplication in the package-derivation moduleChristopher Baines2019-09-04
| | | | Through using insert-missing-data-and-return-all-ids.
* Change license code to use insert-missing-data-and-return-all-idsChristopher Baines2019-09-04
| | | | As this now supports inserting sets of data.
* 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.
* Hack better NULL support on to (squee)Christopher Baines2019-09-04
| | | | | | | | | PQgetvalue used by squee returns null values as empty strings, which are ambiguous for string fields. Therefore, use PQgetisnull to implement a serialiser for squee which checks empty strings to see if they're actually a NULL value, then returns '() in this case. exec-query-with-null-handling can be used to access this behaviour.
* Change normalise-database-values to normalise-valuesChristopher Baines2019-09-02
| | | | As these values are not from the database, which is why they're not strings.
* Fix a couple of GET's in the controller match expressionChristopher Baines2019-09-01
| | | | These should be symbols, not just placeholders.
* Fix the after link on the packages pageChristopher Baines2019-09-01
|
* Add a header for the derivations on the package pageChristopher Baines2019-09-01
|
* Add lint warnings to the package pageChristopher Baines2019-09-01
|
* Link to the package from the lint warnings pageChristopher Baines2019-09-01
|
* Link to the lint warnings page from the revision pageChristopher Baines2019-09-01
|
* Support filtering lint warnings by linterChristopher Baines2019-09-01
|
* Add lint-checkers-for-revision to the lint-checker moduleChristopher Baines2019-09-01
|
* Add a new table guix_revision_lint_checkersChristopher Baines2019-09-01
| | | | | | | | | To associate a set of lint checkers with a specific revision. While there is the association through the lint warnings, that only works for checkers where there are lint warnings for that revision. Therefore, to allow finding all the checkers for a specific revision, also associate them directly with the revision.
* Handle a change in guix with the <derivation-input> recordChristopher Baines2019-09-01
| | | | | | | | The first field is now a <derivation> record, rather than a store path for the derivation. It's probably not necessary to cope with two versions, but this is what I've done currently.
* Log the manifest derivation when loading new revisionsChristopher Baines2019-09-01
| | | | As this is useful to know.
* Add a page to show the lint warnings for a revisionChristopher Baines2019-09-01
|
* Add lint-warnings-for-guix-revision to the lint-warning moduleChristopher Baines2019-09-01
|
* Include glibc-locales from the inferior guix in the environmentChristopher Baines2019-09-01
| | | | | | | | | | | When loading data from an inferior Guix, first build it's latest version of glibc-locales, and include that in the environment from the inferior. This improves locale support, which is currently relevant for extracting lint warnings. Without this change, you'd only be able to switch to locales supported by the glibc-utf8-locales package, assuming that the right version is available.
* Log the guix store path being usedChristopher Baines2019-09-01
| | | | In the load-new-guix-revision module.
* Improve handling of errors when changing localeChristopher Baines2019-09-01
| | | | In the load-new-guix-revision module.
* Display counts of lint warnings on the revision pageChristopher Baines2019-09-01
|
* Add lint-warning-count-by-lint-checker-for-revisionChristopher Baines2019-09-01
| | | | | To return counts of lint warnings, grouped by lint checker for a specific revision.
* 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.
* Add buffering to the log handling for jobsChristopher Baines2019-08-31
| | | | | To increase the log output speed, avoiding inserting one character at a time in to the database.
* Add insert-missing-data-and-return-all-ids to the model utils moduleChristopher Baines2019-08-31
| | | | | This should help greatly with populating the database with new entries, and greatly reduce code duplication.
* Use $STR$ for better quoting in quote-stringChristopher Baines2019-08-31
|
* Add value->sql-boolean to (guix-data-service model utils)Christopher Baines2019-08-31
|
* Fix insert-guix-revision to return an idChristopher Baines2019-08-31
| | | | Rather than an id wrapped in a list.
* Improve error handling for processing emailsChristopher Baines2019-08-31
|
* Alphabetically order the derivation comparison pageChristopher Baines2019-08-06
|
* Remove the build status filter from the compare derivations pageChristopher Baines2019-08-06
| | | | As there isn't sufficient data to make this work yet.