aboutsummaryrefslogtreecommitdiff
path: root/tests/model-license-set.scm
Commit message (Collapse)AuthorAge
* Fix indentation in (tests model-license-set)Christopher Baines2021-01-02
|
* Don't use the (tests driver) moduleChristopher Baines2020-02-27
| | | | | As I forget why I even added it. I'm sure it was to try and make test failures more understandable, but I'm not sure it worked.
* Adapt some license related code to work without mock in the testsChristopher Baines2020-02-24
| | | | | With Guile 3, there's a potential for mock to work in even fewer circumstances. So, adapt the code to enable writing the tests without mock.
* Check that the test database is being used in all the testsChristopher Baines2020-02-24
|
* Fix some duplicated values in tablesChristopher Baines2019-08-04
| | | | | | | | | | | | | The licenses table, along with the package_metadata table had duplicate values. This could happen as the unique constraints on those tables didn't properly account for the nullable fields. The duplicates in those tables also affected the license_sets, packages, package_derivations tables in a similar way. Finally, the guix_revision_package_derivations table was also affected. This commit adds a migration to fix the data, as well as the constraints. THe code to populate the licenses and package_metadata tables is also updated.
* Associate a name with database connectionsChristopher Baines2019-07-12
| | | | This helps when working out which connection to the database is doing what.
* 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.