aboutsummaryrefslogtreecommitdiff
path: root/guix-data-service/model/git-branch.scm
Commit message (Collapse)AuthorAge
* Fix expected exec-query value when no branch existsChristopher Baines2022-05-24
|
* Partition the package_derivations_by_guix_revision_range tableChristopher Baines2022-05-23
| | | | | | | | | | | | And create a proper git_branches table in the process. I'm hoping this will help with slow deletions from the package_derivations_by_guix_revision_range table in the case where there are lots of branches, since it'll separate the data for one branch from another. These migrations will remove the existing data, so rebuild-package-derivations-table will currently need manually running to regenerate it.
* Adjust all-branches-with-most-recent-commit for recent changesChristopher Baines2021-02-03
| | | | Look at the job succeeded_at, rather than the guix_revisions.id field.
* Update most-recent-commits-for-branch to handle data availabilityChristopher Baines2021-02-03
|
* Fix latest processed commit for branchChristopher Baines2021-02-03
|
* Start to add compatibility with squee returning #f for null valuesChristopher Baines2021-01-02
| | | | While maintaining compatibility for older versions of squee.
* Add copyright and license headers to a bunch of source filesChristopher Baines2019-12-26
| | | | That were missing them.
* 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.