2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/data-service.git synced 2023-12-14 03:23:03 +01:00
Commit graph

127 commits

Author SHA1 Message Date
Christopher Baines
939b51c80c Add a header for the derivations on the package page 2019-09-01 18:32:09 +01:00
Christopher Baines
d3254dddb6 Add lint warnings to the package page 2019-09-01 18:32:09 +01:00
Christopher Baines
514933db47 Link to the package from the lint warnings page 2019-09-01 18:32:09 +01:00
Christopher Baines
14fab21dc1 Link to the lint warnings page from the revision page 2019-09-01 18:32:09 +01:00
Christopher Baines
be25e487f1 Support filtering lint warnings by linter 2019-09-01 18:32:09 +01:00
Christopher Baines
609c5cf4f0 Add a page to show the lint warnings for a revision 2019-09-01 17:40:16 +01:00
Christopher Baines
3a79449974 Display counts of lint warnings on the revision page 2019-09-01 13:12:10 +01:00
Christopher Baines
89b498aad0 Remove the build status filter from the compare derivations page
As there isn't sufficient data to make this work yet.
2019-08-06 10:24:19 +01:00
Christopher Baines
3849bb79c5 Support filtering by systems and targets when comparing derivations 2019-08-06 10:22:57 +01:00
Christopher Baines
36a16d356f Improve derivation comparison to show more changes
In cases where the version is changed for example, the relevant derivations
will now show up, whereas previously they did not.
2019-08-06 09:55:03 +01:00
Christopher Baines
82c3e8942b Only show the Compare button when it'll work
On the branch page.
2019-08-05 21:24:07 +01:00
Christopher Baines
4b59108fdd Properly handle not finding a matching derivation 2019-08-05 19:45:10 +01:00
Christopher Baines
70126f7ed0 Set the Vary header to a sensible default value
As most pages vary based on the Accept header.
2019-08-05 19:43:50 +01:00
Christopher Baines
8f7398b814 Tweak the branch table layout 2019-08-05 11:36:57 +01:00
Christopher Baines
1724bc485f Link to the comparison page from the branch page
To allow easily comparing revisions.
2019-07-29 21:11:45 +01:00
Christopher Baines
ef123dcded Link to the package pages from the comparison page 2019-07-29 21:10:41 +01:00
Christopher Baines
91e0527b4d Link to cgit on the comparison page 2019-07-29 20:40:56 +01:00
Christopher Baines
f2c7cc83ed Fix the JSON compare output 2019-07-29 19:48:57 +01:00
Christopher Baines
08d9cbbfe3 Neaten up how branches in Git repositories are linked to 2019-07-27 09:38:50 +01:00
Christopher Baines
a2caa3ea30 Link to the Statistics and Jobs pages from the index page 2019-07-27 09:38:36 +01:00
Christopher Baines
75226a1499 Fix the latest-processed-revision pages 2019-07-27 09:12:25 +01:00
Christopher Baines
7f8ffb4bea Show links to the cgit pages for repositories on the index page 2019-07-22 21:11:09 +01:00
Christopher Baines
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
Christopher Baines
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
Christopher Baines
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
Christopher Baines
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
Christopher Baines
91be72df03 Display the jobs related to a revision on the revision page 2019-07-22 20:00:11 +01:00
Christopher Baines
1f1deac296 Link from a revision to the git repository page 2019-07-19 21:29:56 +01:00
Christopher Baines
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
Christopher Baines
dab984b1d5 Fix match expression
Specify 'GET rather than GET, to actually match the method, rather than
binding it to GET.
2019-07-19 20:20:52 +01:00
Christopher Baines
743cec7cb6 Associate a name with database connections
This helps when working out which connection to the database is doing what.
2019-07-12 19:49:26 +01:00
Christopher Baines
c00405e232 Add some missing arguments to view-revision-packages 2019-07-07 16:42:00 +01:00
Christopher Baines
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
Christopher Baines
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
Christopher Baines
afa86d6115 Add a parse-number function to the query-parameters module
Which does the same thing as parse-result-limit, which may have an overly
specific name.
2019-06-24 20:30:19 +01:00
Christopher Baines
e2c9709c7d Add a job page
Which shows the output for that job.
2019-06-22 01:51:49 +02:00
Christopher Baines
f6ffcb5f02 Remove the revision labels from the links
As that seems neater.
2019-06-20 14:42:38 +02:00
Christopher Baines
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
Christopher Baines
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
Christopher Baines
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
Christopher Baines
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
Christopher Baines
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
Christopher Baines
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
Christopher Baines
ed0745096a Add a new page listing jobs 2019-06-17 11:21:58 +01:00
Christopher Baines
9c18c90505 Fix indicating if a revision is queued for processing 2019-06-17 11:21:36 +01:00
Christopher Baines
b1c0ec6c97 Remove some peek calls that have crept in 2019-06-16 14:21:34 +01:00
Christopher Baines
32ff341089 Link to the latest processed revision for a branch page 2019-06-16 10:45:22 +01:00
Christopher Baines
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
Christopher Baines
13e2f87555 Support accessing the latest processed revision for a branch
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.
2019-06-13 23:14:04 +01:00
Christopher Baines
3a073d402d Display the request in one go
Otherwise, concurrent requests can cause the output to be interleaved.
2019-06-13 19:07:07 +01:00