Commit Graph

811 Commits

Author SHA1 Message Date
Christopher Baines 31737d32f9
Add some super crude JSON pages
Provide JSON versions of the existing HTML compare and
compare/derivations pages. Refactor the code and extract some
functions to make this a little less painful.
2019-02-25 22:07:26 +00:00
Christopher Baines fd0bf340a7
Fix showing versions in the comparison
Previously, some extra data from the query would be added on to the
end of the version. This change prevents that from happening.
2019-02-25 21:42:07 +00:00
Christopher Baines b8543859c9
Show when revisions are missing, but queued for processing 2019-02-24 16:52:45 +00:00
Christopher Baines e68142cf91
Add a new page comparing the derivations of two revisions 2019-02-24 15:38:08 +00:00
Christopher Baines a5cc703e18
Load new Guix revisions within a container
Use some experimental functionality to run the inferior repl in a
container. This provides some isolation.
2019-02-24 15:37:08 +00:00
Christopher Baines 83832a7862
Build new Guix revisions within an inferior
Once inferiors can provide some isolation, this will make building
guix in this way safer.
2019-02-23 20:15:35 +00:00
Christopher Baines c6949a2710
Add some environment variables to the .envrc file 2019-02-10 09:44:11 +00:00
Christopher Baines c88d8335ba
Improve the model for derivations
These changes mean that more information about derivations is
recorded. There are a number of corresponding changes in the database
schema that are not tracked in the repository unfortunately.
2019-02-10 09:42:22 +00:00
Christopher Baines 552723cef1
Add an error page for unknown commits 2019-02-08 11:27:07 +00:00
Christopher Baines 0a49c0a84a
Actually close database connections
Previously, the connections were not closed, so eventually PostgreSQL
would run out. Using a pool of connections would be better, but as a
short term solution, just close the connection after each request.
2019-02-08 11:19:12 +00:00
Christopher Baines 5a9262b38d
Initial commit
This is a service designed to provide information about Guix. At the
moment, this initial prototype gathers up information about packages,
the associated metadata and derivations.

The initial primary use case is to compare two different revisions of
Guix, detecting which packages are new, no longer present, updated or
otherwise different.

It's based on the Mumi project.

[1]: https://git.elephly.net/software/mumi.git
2019-02-07 22:26:57 +00:00