aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model/location.scm
Commit message (Collapse)AuthorAge
* 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.
* 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.