Eelco Dolstra
|
3cab639e21
|
Use extended SQLite error codes
|
2018-05-30 13:25:03 +02:00 |
|
Eelco Dolstra
|
ca14b14200
|
Use boost::format from the boost package
Note that this only requires headers from boost so it doesn't add a
runtime dependency.
Also, use Nixpkgs 18.03.
|
2018-03-14 19:24:04 +01:00 |
|
Jörg Thalheim
|
2fd8f8bb99
|
Replace Unicode quotes in user-facing strings by ASCII
Relevant RFC: NixOS/rfcs#4
$ ag -l | xargs sed -i -e "/\"/s/’/'/g;/\"/s/‘/'/g"
|
2017-07-30 12:32:45 +01:00 |
|
Eelco Dolstra
|
fd86dd93dd
|
Improve SQLite busy handling
|
2017-02-28 13:59:11 +01:00 |
|
Eelco Dolstra
|
80027144ae
|
In SQLite errors, include the database path
This is necessary because we have multiple SQLite databases (e.g. the
binary cache cache).
|
2017-02-28 13:20:12 +01:00 |
|
Eelco Dolstra
|
215b70f51e
|
Revert "Get rid of unicode quotes (#1140)"
This reverts commit f78126bfd6 . There
really is no need for such a massive change...
|
2016-11-26 00:38:01 +01:00 |
|
Guillaume Maudoux
|
f78126bfd6
|
Get rid of unicode quotes (#1140)
|
2016-11-25 15:48:27 +01:00 |
|
Eelco Dolstra
|
c55bf085eb
|
printMsg(lvlError, ...) -> printError(...) etc.
|
2016-09-21 16:54:53 +02:00 |
|
Eelco Dolstra
|
f294623d1d
|
SQLite:: Add some convenience
|
2016-08-10 18:05:35 +02:00 |
|
Eelco Dolstra
|
451ebf24ce
|
Cache path info lookups in SQLite
This re-implements the binary cache database in C++, allowing it to be
used by other Store backends, in particular the S3 backend.
|
2016-04-20 14:12:38 +02:00 |
|
Eelco Dolstra
|
80da7a6375
|
Probably fix SQLITE_BUSY errors
|
2016-04-05 15:29:56 +02:00 |
|
Eelco Dolstra
|
37a337bcec
|
throwSQLiteError(): Check for SIGINT so we don't loop forever
|
2016-04-04 15:08:08 +02:00 |
|
Eelco Dolstra
|
3d119f0a3b
|
Improve the SQLite wrapper API
In particular, this eliminates a bunch of boilerplate code.
|
2016-03-30 15:50:45 +02:00 |
|
Eelco Dolstra
|
d9c5e3bbf0
|
Factour out SQLite handling
|
2016-03-30 13:27:25 +02:00 |
|