ab8a02cf13
Sort package versions on a branch by version as well
...
To fix the order when the first_datetime matches.
2019-10-08 19:44:09 +01:00
dbe171bc75
Handle potentially serving assets from the store
2019-10-06 14:23:15 +01:00
eab5a70976
Add a new static-asset-from-store-renderer function
...
Previously, the assets would be served from the store normally, but this meant
that they were read from disk each time, and stat calls were used to determine
when they were last modified.
This doesn't work for files in the store, as the timestamps are normalised,
therefore add a renderer that takes advantage of the asset directory being in
the store. All the files are read at startup, and then stored in memory. Also,
the process start time is used as a value for the last modified header, which
isn't ideal, but it's better than 1970.
2019-10-06 14:19:26 +01:00
7e5d54148d
Add assets-dir-in-store? to the config module
...
To allow looking up if the assets are in the store, which will happen if the
Guix Data Service is running from a Guix package.
2019-10-06 14:18:38 +01:00
7c199c1416
Run the logo.png through optipng
2019-10-05 12:49:48 +01:00
8019d2e687
Add "No lint warning changes" message to compare page
2019-10-05 11:11:22 +01:00
9fc6dd08e6
Remove duplicates from the guix_revisions table
2019-10-05 09:14:40 +01:00
a104fbc5e1
Link from the revision package page to the version history page
2019-10-03 22:08:06 +01:00
fb301a8495
Add a package page, showing versions for a revision
2019-10-03 21:35:29 +01:00
a40a8f0f92
Rename render-revision-package to render-revision-package-version
...
As this name is more specific.
2019-10-03 20:15:56 +01:00
427063c812
Make it easier to retry jobs
...
Add a new event 'retry', and run jobs where the number of retry events is
greater or equal to the number of failure events.
Also add an index to the git_branches table to make the finding jobs query a
bit faster.
2019-10-02 21:54:11 +01:00
e00aabde43
Remove "support for viewing package history" from the Roadmap
...
As there is an initial version of this feature now.
2019-10-01 19:05:44 +01:00
652c95f691
Say "with graphs" in the README
...
As I think this makes more sense than "including graphs".
2019-10-01 19:05:20 +01:00
977609c66e
Rewrite localhost for sqitch
...
As this means that like psql, the unix socket will be used.
2019-10-01 19:03:34 +01:00
44c0c9d0dd
Remove non-existent test from Makefile.am
2019-10-01 19:03:17 +01:00
48bdb35f3e
Hide deleted branches on the index page
...
To keep the page length down. All branches can still be seen on the page for
specific repositories.
2019-09-29 17:12:50 +01:00
e486ba6274
Remove a redundant query condition
...
The git_branches.commits column doesn't allow NULL values.
2019-09-29 17:12:20 +01:00
b90e6289ac
Fix the 'NULL' values in git_branches for the commits
...
The git_branches table had 'NULL' values for some commits where the branch was
deleted, importantly this was the string 'NULL', not an actual NULL value.
This commit fixes that, migrating the existing values to be '', and changing
the relevant code.
The primary key is also extended to include the datetime field, as this is
important to allow a branch to be deleted twice.
2019-09-29 17:10:04 +01:00
bd47a03c22
Add migration to create an index on load_new_guix_revision_job_events
...
To speed up the rendering of the index page.
2019-09-29 12:04:57 +01:00
580900b0f4
Fail early if the inferior is #f
...
This happens when the repl can't be loaded for example.
2019-09-29 10:45:46 +01:00
208122317a
Try setting the en_US.UTF-8 locale, if the normalised fails
...
Older versions of the glibc-locales package just contain the UTF-8 variants,
not utf8.
2019-09-29 10:44:53 +01:00
d236f05d0f
Don't error when processing revisions of Guix without graft support
2019-09-29 10:44:25 +01:00
c81d1e04ea
Handle loading revisions without the (guix lint) module
...
This is a recent addition, so to support loading revisions without it, better
handle the error when loading the module.
2019-09-29 00:21:25 +01:00
15b94238c5
Unset the GUILE_LOAD_* environment variables when using inferiors
...
Otherwise modules from outside of the inferior can leak in.
2019-09-28 23:56:41 +01:00
16ed3e376e
Provide the job id for jobs on the revision page
...
Using the title element, as the identifier is internal, but it's useful for
development to be able to find it out, if you want to run the job for testing.
2019-09-28 23:55:50 +01:00
ea253c4515
Add a new script to process emails in an mbox file
...
This can be used with the mbox files for the guix-commits mailing list to add
older emails in to the database.
2019-09-28 23:55:11 +01:00
4df889fc3c
Add JSON output for the branch package versions page
2019-09-27 17:53:45 +01:00
00ac080297
Add some bars to the table on the branch package versions page
...
To provide a more visual view of when the package versions were available.
2019-09-27 17:29:33 +01:00
59c342ffde
Add a new page to show package versions available on a branch
...
This is useful when looking back through history at what package versions were
previously available.
2019-09-27 17:28:46 +01:00
43bc7cab91
Add a new table to store package versions by revision ranges
...
This isn't new information, but derived from information already in the
database. It's collected here to make querying faster.
The table is updated when each new revision is entered.
2019-09-27 17:28:46 +01:00
465f262ded
Tweak the textual search to rank exact name matches higher
...
Previously, if you searched for packages like Ruby or Guile, the actual Ruby
and Guile packages would be low in the rankings, as the terms Ruby or Guile
don't appear much in the descriptions.
Therefore, change the ordering to make these exact matches appear higher up.
2019-09-26 18:29:17 +01:00
759b75257e
Switch to processing emails as bytevectors
...
This is better, as different parts of the email might be encoded differently,
and guile-email will take care of this if handed a bytevector.
2019-09-26 18:08:12 +01:00
bb94f6dd05
Add a Roadmap section to the README
2019-09-23 16:49:20 +01:00
b96bc58422
Handle the README.html file being missing
2019-09-23 16:44:16 +01:00
970bcb31cf
Tweak screen.css to display paragraphs and lists better
2019-09-21 12:41:52 +01:00
1181d999a9
Serve the README.html file on the site
2019-09-21 12:41:39 +01:00
f5ff0f8638
Hack building a HTML version of the README in to Makefile.am
...
This is to be able to serve a readable version of the README on the site,
allowing those without Emacs to more easily read it.
2019-09-21 12:40:46 +01:00
ec1b2001cc
Add a README
...
With local development instructions.
2019-09-21 12:40:21 +01:00
34ed73cdc1
Fix the godir in Makefile.am
...
I think the .go files should be in lib, rather than share.
2019-09-21 11:30:25 +01:00
ddf3eb6589
Add guix as a dependency
...
This is used as a Guile module.
2019-09-21 11:29:10 +01:00
1fcb5ad959
Remove test-env from the repository
...
This is a generated file.
2019-09-21 11:28:52 +01:00
aecd23d599
Add support for a .local.envrc file
...
As this is useful when setting custom configuration.
2019-09-21 11:28:24 +01:00
6a9f11fb94
Fix the repository page
...
The repository id is expected to be a number.
2019-09-14 09:05:47 +01:00
ce5f9bb3e6
Update the "source code here" link
2019-09-10 20:28:24 +01:00
eb0d33a3ba
Show lint warnings on the comparison page
2019-09-07 17:19:34 +02:00
fe8102e1df
Use numeric ids for git repositories
2019-09-05 16:40:39 +02:00
38adedcede
Add newline to the end of the duplicate lint warning output
2019-09-05 16:07:23 +02:00
2485da7cfc
Use numbers for ids in the derivation model
...
As this is easier to handle when doing queries with PostgreSQL, as you can use
the type information to determine how to handle the values.
2019-09-05 16:07:23 +02:00
2cb389037b
Fix data input for package-metadata
...
Represent non-string home pages as NULL, and delete duplicates, as package
metadata entries can be duplicated.
2019-09-05 16:07:23 +02:00
4c67160b92
Improve error handling for insert-missing-data-and-return-all-ids
2019-09-05 16:07:23 +02:00