aboutsummaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAge
* Add a new test to cover some of the loading new revisions codeChristopher Baines2019-06-02
|
* Fix the package-metadata testsChristopher Baines2019-05-16
|
* Fix how email dates are inserted in to PostgreSQLChristopher Baines2019-05-16
| | | | | Previously, the timezone was stripped off, so the timestamps were off. This commit changes the code to use a Unix timestamp, which avoids this issue.
* Store license information for packagesChristopher Baines2019-05-15
| | | | | | | | | | And display this on the package page. This uses a couple of new tables, and an additional field in the package_metadata table. Currently, the order of the licenses in the package definition isn't stored, as I'm not sure the order in the list is significant.
* Fix type issues with the location idsChristopher Baines2019-05-14
| | | | | | | | On one code path, they were handled as numbers, whereas elsewhere they were handled as strings. This led to the package-metadata code trying to insert duplicate entries. Instead, just handle them as strings everywhere.
* Store and display the location of packagesChristopher Baines2019-05-13
| | | | | | | Store the location a package can be found at, and display this on the package page. If available, link off to the git repository containing the package.
* Remove the sha1_hash from the package_metadata tableChristopher Baines2019-05-12
| | | | | | | | I'm thinking about adding more fields to this table, and the sha1_hash values will make this tricker. Therefore, remove the value, and adjust the existing code to cope. This commit also adds a new test which coveres some of the changed functionality.
* Add a mock-inferior moduleChristopher Baines2019-05-12
| | | | This to help test code which uses the (guix inferior) module.
* Add a (tests driver) moduleChristopher Baines2019-05-12
| | | | | Using the test driver from build-aux/test-driver.scm, as this shows the test errors when tests fail.
* Start to handle information about Git branchesChristopher Baines2019-05-05
| | | | | | Add some new pages /branches and /branch/... as well as a new git_branches table. Also extend the email processing to enter the branch information in to the database.
* Switch to storing Git repositories in a tableChristopher Baines2019-05-05
| | | | | | Rather than just storing the URL in the guix_revisions and load_new_guix_revision_jobs tables. This will help when storing more information like tags and branches in the future.
* Add an initial testChristopher Baines2019-04-14
Along with the buildsystem changes to make `make check` work.