summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
* 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.
* Order the all-git-repositories resultsChristopher Baines2019-05-13
| | | | So at least they're stable.
* 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.
* Add a textual search to the packages pageChristopher Baines2019-05-12
|
* Add a function for making query parameters mutually exclusiveChristopher Baines2019-05-12
| | | | | This allows building more complicated forms, where some of the query parameters don't work together.
* Add a function for searching for packagesChristopher Baines2019-05-12
|
* Add some basic pagination to the packages pageChristopher Baines2019-05-12
| | | | | Lower powered devices will have problems displaying all ~9000+ packages, so return a smaller number by default.
* 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.
* Add initial JSON output for the package pageChristopher Baines2019-05-12
|
* Add a JSON variant of the packages pageChristopher Baines2019-05-12
|
* Add a JSON variant of the revision pageChristopher Baines2019-05-12
|
* Fix extension handling a bit moreChristopher Baines2019-05-12
| | | | | Previously, it was spliting versions up for the package pages. To stop this, now it just matches the extensions it knows about (currently .html and .json).
* Fix a request->path-components-and-mime-type bugChristopher Baines2019-05-11
| | | | The first value should always be a list.
* Improve the content negotiation handling in generalChristopher Baines2019-05-11
| | | | | | | | | | | Previously, the routing layer handled the content negotiation, and the Accept header was ignored. Now, the extension if one is provided in the URL is still used, and more widely than before, but the Accept header is also taken in to account. This all now happens before the routing decisions are made, so the routing is now pretty much extension independant (with the exception of the /gnu/store/... routes).
* Update the derivation comparison implementationChristopher Baines2019-05-11
| | | | | This adds more query parameter validation, and uses form-horizontal-control to neaten up the view code.
* Add support for select elements to form-horizontal-controlChristopher Baines2019-05-11
|
* Add query-parameters->stringChristopher Baines2019-05-11
|
* Add #:required and #:multi-value support to parse-query-parametersChristopher Baines2019-05-11
|
* Add ("") to parse-query-stringChristopher Baines2019-05-11
| | | | Otherwise a URL like https://example.com? will cause this to fail.
* Add a guix-commit-exists? functionChristopher Baines2019-05-11
|
* Add some options to the branch pageChristopher Baines2019-05-11
| | | | | | Add handling for some query parameters to the branch page. This takes advantage of the improvements for building forms and query parameter validation.
* Add a form-horizontal-control function to better handle formsChristopher Baines2019-05-11
| | | | Each input is pretty complex, and this function helps handle that complexity.
* Add some word handling utilitiesChristopher Baines2019-05-11
| | | | These are useful for constructing HTML ids and similar things.
* Add a new query-parameters moduleChristopher Baines2019-05-11
| | | | | | | | | The query parameters feed in to the results shown, but also forms on pages. Validation is important to avoid errors and security issues, but it's also important to provide appropriate feedback to the user. This module provides some utilities and structure around handling query parameters.
* Don't enqueue jobs when branches are deletedChristopher Baines2019-05-05
|
* 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 a with-postgresql-transaction procedureChristopher Baines2019-05-05
| | | | To help with running tests.
* Try harder to handle errors when loading new revisionsChristopher Baines2019-05-01
| | | | | If the repl enters a bad state, attempt to exit, and catch failures in the parent process, and rollback the open transaction.
* Fix "More information" link for target packagesChristopher Baines2019-04-21
| | | | On the packages comparison page.
* Add missing (guix-data-service database) importChristopher Baines2019-04-17
|
* Add sqitch to guix-dev.scmChristopher Baines2019-04-16
| | | | As it's used to manage the database schema.
* Add missing build-aux filesChristopher Baines2019-04-16
| | | | | And tweak the .gitignore to reduce the chance that similar files are missed in the future.
* Add .dir-locals.elChristopher Baines2019-04-14
|
* Add an initial testChristopher Baines2019-04-14
| | | | Along with the buildsystem changes to make `make check` work.
* Add some initial Sqitch migrationsChristopher Baines2019-04-14
| | | | These are based on the state of the current manually managed database.
* Tweak the Sqitch configurationChristopher Baines2019-04-14
|
* Extract out some database functionality to another moduleChristopher Baines2019-04-14
|
* Add a .gitattributes fileChristopher Baines2019-04-14
| | | | This is recommended by the Sqitch docs.
* Move the sqitch files in to the sqitch directoryChristopher Baines2019-04-13
| | | | To keep them together, and leave the top level repository directory clearer.
* Initialise SqitchChristopher Baines2019-04-13
| | | | It's a tool for managing the database schema.
* Clear the packages derivation cacheChristopher Baines2019-04-10
| | | | | As this should help prevent issues when the previously cached derivation is removed from the store.
* Improve the job processingChristopher Baines2019-04-10
| | | | Speed up checking for new jobs, and remove debugging output.
* Add a statistics pageChristopher Baines2019-04-08
| | | | To show the total number of derivations, and guix revisions.
* Add a function to get a count of Guix revisionsChristopher Baines2019-04-08
|
* Add a function to get a count of derivationsChristopher Baines2019-04-08
|