aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model/git-branch.scm
Commit message (Collapse)AuthorAge
* Remove a redundant query conditionChristopher Baines2019-09-29
| | | | The git_branches.commits column doesn't allow NULL values.
* 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 the latest-processed-revision pagesChristopher Baines2019-07-27
|
* Link from a revision to the git repository pageChristopher Baines2019-07-19
|
* Improve how repositories and branches are handledChristopher Baines2019-07-19
| | | | | Make the link between repositories and branches clearer, replacing the /branches and /branch pages by /repository/ and /repository/*/branch/* pages.
* Add labels to revisions on the branches and branch pagesChristopher Baines2019-06-19
| | | | | And always link to the revision page. Now the label let's you know if you should expect information or not for that revision.
* Support accessing the latest processed revision for a branchChristopher Baines2019-06-13
| | | | | | This makes is easier to get the latest data for a branch in a single request, rather than making one request to find the latest revision, then another to get the data.
* Add git-branches-with-repository-details-for-commitChristopher Baines2019-05-18
| | | | | To get git repository and git branch information suitable for the revision page.
* 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.
* 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.
* 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.