Commit graph

77 commits

Author SHA1 Message Date
8f7398b814 Tweak the branch table layout 2019-08-05 11:36:57 +01:00
1724bc485f Link to the comparison page from the branch page
To allow easily comparing revisions.
2019-07-29 21:11:45 +01:00
ef123dcded Link to the package pages from the comparison page 2019-07-29 21:10:41 +01:00
91e0527b4d Link to cgit on the comparison page 2019-07-29 20:40:56 +01:00
08d9cbbfe3 Neaten up how branches in Git repositories are linked to 2019-07-27 09:38:50 +01:00
a2caa3ea30 Link to the Statistics and Jobs pages from the index page 2019-07-27 09:38:36 +01:00
7f8ffb4bea Show links to the cgit pages for repositories on the index page 2019-07-22 21:11:09 +01:00
05db0a87f9 Switch the index page to show branches for a repository
As that's probably more useful than recent revisions and jobs.
2019-07-22 20:51:54 +01:00
c23822e14d Extract out the branches with most recent commits table
As I'm thinking about using this on the index page.
2019-07-22 20:36:40 +01:00
219b1fd4ad Extract out view-revision/jobs-and-events
This is common to both view-revision and unknown-revision.
2019-07-22 20:29:38 +01:00
7a70e9ca6f Extract out view-revision/git-repositories
As this was duplicated in the functions for viewing known and unknown
revisions.
2019-07-22 20:29:29 +01:00
91be72df03 Display the jobs related to a revision on the revision page 2019-07-22 20:00:11 +01:00
1f1deac296 Link from a revision to the git repository page 2019-07-19 21:29:56 +01:00
1f977f6c12 Improve how repositories and branches are handled
Make the link between repositories and branches clearer, replacing the
/branches and /branch pages by /repository/ and /repository/*/branch/* pages.
2019-07-19 21:22:15 +01:00
44b9d5658b Add buttons to scroll the page on the job page
As the page can be quite long, so jumping to the top and bottom is really
useful.
2019-06-24 21:01:23 +01:00
54b9922466 Iterate the log viewing
Replace the Guile-side HTML escaping with a less complete, but hopefully
faster PostgreSQL side HTML escaping approach.

Also, allow reading part of the log, by default, the last 1,000,000
characters, as this should render quickly.
2019-06-24 20:30:47 +01:00
e2c9709c7d Add a job page
Which shows the output for that job.
2019-06-22 01:51:49 +02:00
f6ffcb5f02 Remove the revision labels from the links
As that seems neater.
2019-06-20 14:42:38 +02:00
6e1a6c9808 Remove the compare form from the index page
It isn't very useful, as you have to know the commits. Now that there's Git
branch information, it should be possible to access this in a more useful way.
2019-06-20 14:34:00 +02:00
d07e3d9ba8 Move the derivations off the compare page
To the compare/derivations page. Previously, the compare/derivations page was
comparing more than the derivations, notably the package metadata. This change
avoids that, and also reduces the information overload on the compare page.
2019-06-20 14:29:56 +02:00
bb02511607 Don't have all the inputs use a monospace font
Only those where it's appropriate for the data, like commit hashes.
2019-06-20 14:19:11 +02:00
ea80311c49 Use revision labels on the index page as well
Also flip the branch and revision columns around, and add date information to
the branch column.
2019-06-19 23:39:53 +01:00
a168b23c24 Add labels to revisions on the branches and branch pages
And always link to the revision page. Now the label let's you know if you
should expect information or not for that revision.
2019-06-19 22:49:57 +01:00
e93b8f948e Improve the Unknown revision page
Make it similar to the revision page, as some of the information, like the
link to the relevant CGit instance might be available.
2019-06-19 22:03:55 +01:00
ed0745096a Add a new page listing jobs 2019-06-17 11:21:58 +01:00
9c18c90505 Fix indicating if a revision is queued for processing 2019-06-17 11:21:36 +01:00
b1c0ec6c97 Remove some peek calls that have crept in 2019-06-16 14:21:34 +01:00
32ff341089 Link to the latest processed revision for a branch page 2019-06-16 10:45:22 +01:00
de8858c274 Make some pages around revisions more generic
So that they can also be used for the /branch/foo/latest-processed-revision
pages. The content is the same, but the title, link, and some of the links on
the page are different.
2019-06-16 10:27:14 +01:00
aad2c9d9e8 Extract the database connection handling from the server
Previously, one of the first things that happened when responding to a request
was a database connection was made, even when serving the CSS. This is
unnecessary, so move the database connection handling in to the controller.

Also, to allow for separating it out from the assets, separate the assets out
from the parts of the controller that require a database connection.
2019-06-06 20:43:54 +01:00
9c23451482 Handle the 404 case when viewing store items 2019-05-20 08:17:56 +01:00
6add08b109 Add missing revision handling
As previously the pages would render, but with no data.
2019-05-19 22:31:07 +01:00
e92e095ee9 Add an all results option to the packages page 2019-05-19 21:28:01 +01:00
78fb3fafc0 Add type support to form-horizontal-control
Particularly to support checkboxes.
2019-05-19 21:24:50 +01:00
03faff5da0 Remove the HTTP headers from the html module
Given that the headers may be the same, regardless whether it's HTML or JSON
being sent in the body of the response, I think it makes more sense to handle
the headers in the controller.
2019-05-18 20:08:34 +01:00
ed19764bc3 Show the branches for a revision 2019-05-18 12:36:03 +01:00
48070e4a99 Fix the table headers on the Branches page
Date and Commit were the wrong way around.
2019-05-18 12:34:18 +01:00
f04690f38c Add a View JSON button to the packages page 2019-05-16 22:44:07 +01:00
83012b101b Allow specifying the fields on the packages page
This is mostly for the JSON output, as it allows much more information to be
included.
2019-05-16 22:28:16 +01:00
16799a34a9 Store license information for packages
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.
2019-05-15 08:05:14 +01:00
7341d17254 Store and display the location of packages
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.
2019-05-13 21:07:48 +01:00
9aaab6b751 Add a textual search to the packages page 2019-05-12 21:17:08 +01:00
0bdc555ff8 Add some basic pagination to the packages page
Lower powered devices will have problems displaying all ~9000+ packages, so
return a smaller number by default.
2019-05-12 20:45:33 +01:00
640fb8a2ad Update the derivation comparison implementation
This adds more query parameter validation, and uses form-horizontal-control to
neaten up the view code.
2019-05-11 20:38:16 +01:00
512a583fa7 Add support for select elements to form-horizontal-control 2019-05-11 20:36:37 +01:00
3611f7b122 Add some options to the branch page
Add handling for some query parameters to the branch page. This takes
advantage of the improvements for building forms and query parameter
validation.
2019-05-11 16:49:18 +01:00
a7053846f1 Add a form-horizontal-control function to better handle forms
Each input is pretty complex, and this function helps handle that complexity.
2019-05-11 16:48:24 +01:00
5028dfe706 Start to handle information about Git branches
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.
2019-05-05 20:06:28 +01:00
ce4c3c6ed3 Switch to storing Git repositories in a table
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.
2019-05-05 14:36:52 +01:00
24f234f6d8 Fix "More information" link for target packages
On the packages comparison page.
2019-04-21 11:02:55 +01:00