]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
3 years agofeat(cmake): Disable IPO for mingw 918/head
Gregor Jasny [Sun, 22 Aug 2021 11:09:47 +0000 (13:09 +0200)] 
feat(cmake): Disable IPO for mingw

On mingw IPO seems to be broken (out-of-diskspace errors
and lacking linker module support), therefore IPO support is being
deactivated.

3 years agofeat(cmake): Use standard linker for LTO scenarios
Gregor Jasny [Sun, 22 Aug 2021 10:49:09 +0000 (12:49 +0200)] 
feat(cmake): Use standard linker for LTO scenarios

3 years agofeat(cmake): Use the matching lld for clang
Gregor Jasny [Sun, 22 Aug 2021 10:47:04 +0000 (12:47 +0200)] 
feat(cmake): Use the matching lld for clang

Otherwise one could end up on Ubuntu with clang-11 calling lld-10
which breaks IPO.

3 years agofix(test): Pass all three required arguments to expect_file_count (#925)
Gregor Jasny [Sun, 29 Aug 2021 17:50:22 +0000 (19:50 +0200)] 
fix(test): Pass all three required arguments to expect_file_count (#925)

3 years agofix(test): Fix basedir suite failure with symlinked PWD
Joel Rosdahl [Tue, 24 Aug 2021 17:43:30 +0000 (19:43 +0200)] 
fix(test): Fix basedir suite failure with symlinked PWD

Fixes #916.

3 years agotest: Improve output of differing text files on failure
Joel Rosdahl [Tue, 24 Aug 2021 17:40:35 +0000 (19:40 +0200)] 
test: Improve output of differing text files on failure

3 years agochore: Remove asciidoctor package from CentOS 8 Dockerfile
Joel Rosdahl [Tue, 24 Aug 2021 16:58:43 +0000 (18:58 +0200)] 
chore: Remove asciidoctor package from CentOS 8 Dockerfile

Asciidoctor is apparently not packaged for CentOS 8.

3 years agochore: Sort LICENSE.adoc entries properly
Joel Rosdahl [Fri, 20 Aug 2021 19:02:25 +0000 (21:02 +0200)] 
chore: Sort LICENSE.adoc entries properly

3 years agofeat: Only show secondary storage stats if non-empty or with -vv
Joel Rosdahl [Fri, 20 Aug 2021 18:12:29 +0000 (20:12 +0200)] 
feat: Only show secondary storage stats if non-empty or with -vv

3 years agofix(test): Fix .incbin test with newer binutils
Joel Rosdahl [Fri, 20 Aug 2021 17:56:17 +0000 (19:56 +0200)] 
fix(test): Fix .incbin test with newer binutils

The assembler in binutils 2.37 doesn’t want to include /dev/null with
a .incbin directive:

    /tmp/ccbGWiew.s: Assembler messages:
    /tmp/ccbGWiew.s:4: Error: unable to include `/dev/null'
    incbin.s: Assembler messages:
    incbin.s:1: Error: unable to include `/dev/null'

3 years agodocs: Fix grammar
Joel Rosdahl [Thu, 19 Aug 2021 19:52:44 +0000 (21:52 +0200)] 
docs: Fix grammar

3 years agochore: Update release date v4.4
Joel Rosdahl [Thu, 19 Aug 2021 18:43:30 +0000 (20:43 +0200)] 
chore: Update release date

3 years agobuild: Improve detection av Ccache version from source repo
Joel Rosdahl [Thu, 19 Aug 2021 18:34:43 +0000 (20:34 +0200)] 
build: Improve detection av Ccache version from source repo

When running CMake outside the source repository a plain git command
naturally won’t find the repository. Fix this by pointing git towards
the repository.

3 years agochore: Fix Cppcheck warnings
Joel Rosdahl [Thu, 19 Aug 2021 17:57:13 +0000 (19:57 +0200)] 
chore: Fix Cppcheck warnings

3 years agodocs: Improve contributor notes in NEWS
Joel Rosdahl [Wed, 18 Aug 2021 19:43:35 +0000 (21:43 +0200)] 
docs: Improve contributor notes in NEWS

3 years agochore: Update authors
Joel Rosdahl [Wed, 18 Aug 2021 18:11:34 +0000 (20:11 +0200)] 
chore: Update authors

3 years agodocs: Update NEWS for ccache 4.4
Joel Rosdahl [Tue, 17 Aug 2021 18:04:24 +0000 (20:04 +0200)] 
docs: Update NEWS for ccache 4.4

3 years agochore: Add Ryan Burns to .mailmap
Joel Rosdahl [Tue, 17 Aug 2021 18:03:57 +0000 (20:03 +0200)] 
chore: Add Ryan Burns to .mailmap

3 years agochore: Use official debian:11 Docker tag
Joel Rosdahl [Tue, 17 Aug 2021 16:52:21 +0000 (18:52 +0200)] 
chore: Use official debian:11 Docker tag

3 years agodocs: Use consistent casing of “Ccache” in NEWS
Joel Rosdahl [Tue, 17 Aug 2021 16:34:36 +0000 (18:34 +0200)] 
docs: Use consistent casing of “Ccache” in NEWS

3 years agofeat(tracing): Add more trace points
Joel Rosdahl [Mon, 16 Aug 2021 19:17:16 +0000 (21:17 +0200)] 
feat(tracing): Add more trace points

3 years agofix(tracing): Always call MTR_END for each MTR_BEGIN
Joel Rosdahl [Mon, 16 Aug 2021 19:16:18 +0000 (21:16 +0200)] 
fix(tracing): Always call MTR_END for each MTR_BEGIN

3 years agorefactor(tracing): Use MTR_SCOPE
Joel Rosdahl [Mon, 16 Aug 2021 19:15:56 +0000 (21:15 +0200)] 
refactor(tracing): Use MTR_SCOPE

3 years agobump: Upgrade minitrace to latest master
Joel Rosdahl [Mon, 16 Aug 2021 19:05:30 +0000 (21:05 +0200)] 
bump: Upgrade minitrace to latest master

3 years agofeat: Improve statistics summary
Joel Rosdahl [Mon, 16 Aug 2021 06:10:21 +0000 (08:10 +0200)] 
feat: Improve statistics summary

The number of statistics counters has become very large, making the
output “ccache -s” hard to overview.

Improvements:

- The -s/--show-stats option now prints a more condensed overview where
  the counters representing “uncacheable calls” are summed as
  “uncacheable” and “errors” counters. Note: Scripts should use
  --print-stats instead of trying to parse the output of --show-stats.
- Added hit rate for direct/preprocessed hits/misses as well.
- Added a new -v/--verbose option, which makes --show-stats and
  --show-log-stats show more details.

3 years agostyle: Use uppercase literal suffixes
Joel Rosdahl [Sun, 15 Aug 2021 20:06:29 +0000 (22:06 +0200)] 
style: Use uppercase literal suffixes

3 years agofeat: Print statistics IDs instead of descriptions to debug log
Joel Rosdahl [Sun, 15 Aug 2021 19:41:03 +0000 (21:41 +0200)] 
feat: Print statistics IDs instead of descriptions to debug log

This is in preparation for future statistics counters that won’t have
human-readable descriptions. (The statistics IDs are human-readable
enough.)

3 years agorefactor: Return from process_main_options instead of exiting
Joel Rosdahl [Sun, 15 Aug 2021 19:29:40 +0000 (21:29 +0200)] 
refactor: Return from process_main_options instead of exiting

3 years agofix: Don’t print “unrecognized option” twice
Joel Rosdahl [Sun, 15 Aug 2021 19:27:36 +0000 (21:27 +0200)] 
fix: Don’t print “unrecognized option” twice

Fixes an issue introduced in 513c83faaafc3a9848cb4492961104e4f4768247.

3 years agoenhance: Let TextTable::add_row take a vector
Joel Rosdahl [Sun, 15 Aug 2021 18:45:59 +0000 (20:45 +0200)] 
enhance: Let TextTable::add_row take a vector

3 years agoenhance: Add TextTable support for cells spanning several columns
Joel Rosdahl [Sat, 14 Aug 2021 19:44:51 +0000 (21:44 +0200)] 
enhance: Add TextTable support for cells spanning several columns

3 years agorefactor: Simplify TextTable usage
Joel Rosdahl [Wed, 11 Aug 2021 10:38:45 +0000 (12:38 +0200)] 
refactor: Simplify TextTable usage

3 years agoenhance: Add util::TextTable::TextTable(const char*)
Joel Rosdahl [Wed, 11 Aug 2021 10:36:46 +0000 (12:36 +0200)] 
enhance: Add util::TextTable::TextTable(const char*)

3 years agoenhance: Add TextTable support for right-aligned integers
Joel Rosdahl [Wed, 11 Aug 2021 10:29:22 +0000 (12:29 +0200)] 
enhance: Add TextTable support for right-aligned integers

3 years agobuild: Link ws2_32 to third_party instead of ccache_framework (#913)
R. Voggenauer [Sun, 15 Aug 2021 18:32:27 +0000 (20:32 +0200)] 
build: Link ws2_32 to third_party instead of ccache_framework (#913)

3 years agofix(test): Fix typos in trim_dir suite
Joel Rosdahl [Tue, 10 Aug 2021 18:35:11 +0000 (20:35 +0200)] 
fix(test): Fix typos in trim_dir suite

3 years agofeat: Support subsecond mtime/atime for --cleanup and --trim-dir
Joel Rosdahl [Tue, 10 Aug 2021 18:32:43 +0000 (20:32 +0200)] 
feat: Support subsecond mtime/atime for --cleanup and --trim-dir

3 years agoenhance: Detect support for st_atim field in struct stat
Joel Rosdahl [Tue, 10 Aug 2021 18:30:19 +0000 (20:30 +0200)] 
enhance: Detect support for st_atim field in struct stat

3 years agofeat: Rename --directory option to --dir
Joel Rosdahl [Tue, 10 Aug 2021 18:04:39 +0000 (20:04 +0200)] 
feat: Rename --directory option to --dir

Other options use abbreviated forms (e.g. “config” and “max”), so this
makes things more consistent.

3 years agofeat: Add --trim-dir option for usage with secondary storage directories
Joel Rosdahl [Tue, 10 Aug 2021 15:44:30 +0000 (17:44 +0200)] 
feat: Add --trim-dir option for usage with secondary storage directories

3 years agofeat: Make --config-path and --directory affect whole command line
Joel Rosdahl [Tue, 10 Aug 2021 13:32:07 +0000 (15:32 +0200)] 
feat: Make --config-path and --directory affect whole command line

Command line options are processed strictly in order, which means that

    ccache -d dir -s

is not the same as

    ccache -s -d dir

which is not very intuitive. There are also planned features where is
doesn’t make sense to have to put “non-command options” before the
“command options”.

Improve this by processing command line options in two passes: first
non-command options and then command options (still in order).

3 years agorefactor: Move static getopt data to global level
Joel Rosdahl [Tue, 10 Aug 2021 13:21:34 +0000 (15:21 +0200)] 
refactor: Move static getopt data to global level

3 years agodoc: Describe interaction between primary and secondary storage
Joel Rosdahl [Mon, 9 Aug 2021 19:40:38 +0000 (21:40 +0200)] 
doc: Describe interaction between primary and secondary storage

3 years agofeat: Add share-hits attribute for secondary storage
Joel Rosdahl [Mon, 9 Aug 2021 19:18:58 +0000 (21:18 +0200)] 
feat: Add share-hits attribute for secondary storage

With share-hits=false, a secondary storage backend will not share hits
to primary storage.

3 years agofeat: Add reshare config option
Joel Rosdahl [Mon, 9 Aug 2021 18:55:11 +0000 (20:55 +0200)] 
feat: Add reshare config option

Setting reshare (CCACHE_RESHARE) to true make ccache send results to
secondary storage even for primary storage cache hits. The default is
false.

3 years agofeat: Add statistics for forced recaches
Joel Rosdahl [Sun, 8 Aug 2021 16:49:01 +0000 (18:49 +0200)] 
feat: Add statistics for forced recaches

3 years agofeat: Add statistics for primary/secondary hits/miss
Joel Rosdahl [Sun, 8 Aug 2021 17:59:58 +0000 (19:59 +0200)] 
feat: Add statistics for primary/secondary hits/miss

3 years agofeat: Add statistics for direct/preprocessed cache miss
Joel Rosdahl [Sun, 8 Aug 2021 15:35:18 +0000 (17:35 +0200)] 
feat: Add statistics for direct/preprocessed cache miss

3 years agotest: Use machine-parsable statistics IDs in tests
Joel Rosdahl [Sun, 8 Aug 2021 17:28:34 +0000 (19:28 +0200)] 
test: Use machine-parsable statistics IDs in tests

3 years agorefactor(test): Improve duplicate tests in base suite
Joel Rosdahl [Sun, 8 Aug 2021 17:13:16 +0000 (19:13 +0200)] 
refactor(test): Improve duplicate tests in base suite

3 years agofeat: Sort output of --print-stats
Joel Rosdahl [Sun, 8 Aug 2021 17:00:22 +0000 (19:00 +0200)] 
feat: Sort output of --print-stats

3 years agoenhance: Prepare for a ccache invocation having multiple results
Joel Rosdahl [Sun, 8 Aug 2021 19:44:44 +0000 (21:44 +0200)] 
enhance: Prepare for a ccache invocation having multiple results

That is, “result” as in “increased statistics counter”.

3 years agofix: Remove obsolete statistics counter and comment when disabled
Joel Rosdahl [Sun, 8 Aug 2021 12:41:43 +0000 (14:41 +0200)] 
fix: Remove obsolete statistics counter and comment when disabled

3 years agorefactor: Improve handling of statistics updates and expected events
Joel Rosdahl [Sun, 8 Aug 2021 08:40:58 +0000 (10:40 +0200)] 
refactor: Improve handling of statistics updates and expected events

Ccache uses exceptions for both truly exceptional events (such as I/O
error) and non-exceptional events (such as unsupported compiler
arguments). Regardless of the nature of the event, at most one
statistics counter can be incremented.

Improve this by:

- Using nonstd::expected instead of exceptions internally in the main
  code flow. This makes the code easier to reason about.
- Adding support for communicating several statistics counter updates
  both for success and failure code paths. This is in preparation for
  future improvements of statistics related to secondary storage.

3 years agochore: Fix example in dockerfiles/README
Joel Rosdahl [Sun, 8 Aug 2021 06:40:56 +0000 (08:40 +0200)] 
chore: Fix example in dockerfiles/README

3 years agodocs: Use non-legacy markup for block IDs
Joel Rosdahl [Sat, 7 Aug 2021 14:06:55 +0000 (16:06 +0200)] 
docs: Use non-legacy markup for block IDs

3 years agofeat(file-storage): Add support for flat layout
Joel Rosdahl [Sat, 7 Aug 2021 13:43:24 +0000 (15:43 +0200)] 
feat(file-storage): Add support for flat layout

3 years agofeat(http-storage): Add support for subdirs layout, making it default
Joel Rosdahl [Sat, 7 Aug 2021 12:44:21 +0000 (14:44 +0200)] 
feat(http-storage): Add support for subdirs layout, making it default

3 years agoenhance(test): Let http-server create subdirectories as needed
Joel Rosdahl [Sat, 7 Aug 2021 12:42:32 +0000 (14:42 +0200)] 
enhance(test): Let http-server create subdirectories as needed

3 years agofix(test): Remove debug printout and move Bazel layout test
Joel Rosdahl [Sat, 7 Aug 2021 12:42:00 +0000 (14:42 +0200)] 
fix(test): Remove debug printout and move Bazel layout test

3 years agofix: Don’t read let Context read user configuration in unit tests
Joel Rosdahl [Sat, 7 Aug 2021 11:12:56 +0000 (13:12 +0200)] 
fix: Don’t read let Context read user configuration in unit tests

accd21e4 inadvertently made unit tests populate Context::config from the
environment and the user configuration. Fix this by moving code for
reading config, setting of logging, etc. into a separate method only to
be called by non-test code.

As noted by Michael Kruse in #815.

3 years agofeat(storage): Add support for cache sharding on secondary storage (#912)
Joel Rosdahl [Sat, 7 Aug 2021 07:00:17 +0000 (09:00 +0200)] 
feat(storage): Add support for cache sharding on secondary storage (#912)

This adds support for a shards attribute with a comma-separated list of
names for sharding (partitioning) the cache entries using Rendezvous
hashing, typically to spread the cache over a server cluster. When set,
the storage URL must contain an asterisk (*), which will be replaced by
one of the shard names to form a real URL. A shard name can optionally
have an appended weight within parentheses to indicate how much of the
key space should be associated with that shard. A shard with weight w
will contain w/S of the cache, where S is the sum of all shard weights.
A weight could for instance be set to represent the available memory for
a memory cache on a specific server. The default weight is 1.

For example,

    redis://cache-*.example.com|shards=a(3),b(1),c(1.5)

will put 55% (3/5.5) of the cache on redis://cache-a.example.com, 18%
(1/5.5) on redis://cache-b.example.com and 27% (1.5/5.5) on
redis://cache-c.example.com.

3 years agochore: Sort LICENSE.adoc entries
Joel Rosdahl [Thu, 5 Aug 2021 18:37:18 +0000 (20:37 +0200)] 
chore: Sort LICENSE.adoc entries

3 years agochore: Improve AsciiDoc markup of LICENSE.adoc
Joel Rosdahl [Thu, 5 Aug 2021 18:34:58 +0000 (20:34 +0200)] 
chore: Improve AsciiDoc markup of LICENSE.adoc

3 years agoci: Use latest codespell
Joel Rosdahl [Thu, 5 Aug 2021 18:27:33 +0000 (20:27 +0200)] 
ci: Use latest codespell

3 years agochore: Fix typos
Joel Rosdahl [Thu, 5 Aug 2021 18:22:04 +0000 (20:22 +0200)] 
chore: Fix typos

3 years agorefactor: Split httplib into .h and .cpp parts
Joel Rosdahl [Thu, 5 Aug 2021 18:15:59 +0000 (20:15 +0200)] 
refactor: Split httplib into .h and .cpp parts

This improves recompilation speed of
src/storage/secondary/HttpStorage.cpp.

3 years agofix(file-storage): Create CACHEDIR.TAG after subdir
Joel Rosdahl [Wed, 4 Aug 2021 19:51:33 +0000 (21:51 +0200)] 
fix(file-storage): Create CACHEDIR.TAG after subdir

Otherwise creation will fail the first time with an ugly log message.

3 years agorefactor: Use util::parse_double
Joel Rosdahl [Wed, 4 Aug 2021 19:42:08 +0000 (21:42 +0200)] 
refactor: Use util::parse_double

3 years agoenhance(util): Add parse_double function
Joel Rosdahl [Wed, 4 Aug 2021 19:39:08 +0000 (21:39 +0200)] 
enhance(util): Add parse_double function

3 years agochore: Fix typo in comment
Joel Rosdahl [Wed, 4 Aug 2021 19:27:29 +0000 (21:27 +0200)] 
chore: Fix typo in comment

3 years agoenhance(util): Add replace_first function
Joel Rosdahl [Wed, 4 Aug 2021 17:45:22 +0000 (19:45 +0200)] 
enhance(util): Add replace_first function

4 years agodocs: Use italics consistently for references to sections
Joel Rosdahl [Tue, 3 Aug 2021 07:07:48 +0000 (09:07 +0200)] 
docs: Use italics consistently for references to sections

4 years agofeat(storage): Log time taken for secondary storage operations
Joel Rosdahl [Fri, 30 Jul 2021 12:04:36 +0000 (14:04 +0200)] 
feat(storage): Log time taken for secondary storage operations

4 years agofeat(http-storage): Log translation to pseudo-SHA256 key
Joel Rosdahl [Fri, 30 Jul 2021 08:29:24 +0000 (10:29 +0200)] 
feat(http-storage): Log translation to pseudo-SHA256 key

4 years agodocs: Add scheme to link to fonts.googleapis.com (#910)
Orgad Shaneh [Mon, 2 Aug 2021 18:59:30 +0000 (21:59 +0300)] 
docs: Add scheme to link to fonts.googleapis.com (#910)

This makes it possible to view generated HTML files locally using the file scheme.

4 years agodocs: Reflow some paragraphs after #911
Joel Rosdahl [Mon, 2 Aug 2021 18:51:59 +0000 (20:51 +0200)] 
docs: Reflow some paragraphs after #911

4 years agodocs: Fix links to section anchors (#911)
Orgad Shaneh [Mon, 2 Aug 2021 18:33:28 +0000 (21:33 +0300)] 
docs: Fix links to section anchors (#911)

asciidoc uses #_section_header, but github uses #section-header.
Replace all the explicit refs with the section titles, and let
the engine handle it.

4 years agobuild: Only probe for faster linker in dev build mode and on x86_64
Joel Rosdahl [Fri, 30 Jul 2021 18:10:50 +0000 (20:10 +0200)] 
build: Only probe for faster linker in dev build mode and on x86_64

Using Gold or LLD on less common platforms such as MIPS may not be a
good idea (see e.g.
<https://www.sourceware.org/bugzilla/show_bug.cgi?id=22838>), so be
conservative and only probe for a faster linker on platforms that likely
don’t have toolchain bugs. Also, using a faster linker is in practice
only relevant for dev builds.

Fixes #907.

4 years agobuild: Allow overriding CCACHE_DEV_MODE on command line
Joel Rosdahl [Fri, 30 Jul 2021 18:05:44 +0000 (20:05 +0200)] 
build: Allow overriding CCACHE_DEV_MODE on command line

4 years agofix: Disable preprocessor hits for PCHs with Clang again (#909)
Arne Hasselbring [Fri, 30 Jul 2021 18:29:45 +0000 (20:29 +0200)] 
fix: Disable preprocessor hits for PCHs with Clang again (#909)

I added this in 3ec58dbcaa1e7903d59dce4c77baff7bc3783269 as I thought
clang only saves the timestamps of included files, so as long as they
are turned off by -Xclang -fno-pch-timestamp, preprocessed hits should be
possible. However, clang also saves the size and possibly a hash of the
un-preprocessed source file, so preprocessed hits don't make much sense.

As long as only the timestamp of a PCH source file changed, e.g. through
git operations, there should still be direct hits.

4 years agobuild: Improve message when pkg-config can’t find libhiredis
Joel Rosdahl [Fri, 30 Jul 2021 08:19:35 +0000 (10:19 +0200)] 
build: Improve message when pkg-config can’t find libhiredis

pkg_check_modules stops immediately when given the REQUIRED argument so
the nicer error message won’t be reached. Fix this by simply removing
REQUIRED since that will make the configuration step fail in a better
way.

4 years agorefactor: Only include zstd.h in ZstdCompressor.cpp
Joel Rosdahl [Thu, 29 Jul 2021 06:31:32 +0000 (08:31 +0200)] 
refactor: Only include zstd.h in ZstdCompressor.cpp

This avoids exposing zstd internals to those including
compression/ZstdCompressor.h.

4 years agobuild: Remove “_lib” suffix from ccache_lib and third_party_lib
Joel Rosdahl [Wed, 28 Jul 2021 18:15:10 +0000 (20:15 +0200)] 
build: Remove “_lib” suffix from ccache_lib and third_party_lib

This means that libthird_party_lib.a will become libthird_party.a which
removes repetition of “lib”. ccache_lib can’t be renamed to just ccache
since that’s the name of the main binary, so that’s renamed to
ccache_framework.

4 years agofix(storage): Reuse existing backend instances
Joel Rosdahl [Tue, 27 Jul 2021 17:50:26 +0000 (19:50 +0200)] 
fix(storage): Reuse existing backend instances

4 years agodocs: Add references to how-to guides hosted on ccache.dev
Joel Rosdahl [Tue, 27 Jul 2021 13:50:50 +0000 (15:50 +0200)] 
docs: Add references to how-to guides hosted on ccache.dev

4 years agodocs: Enable AsciiDoc admonition icons
Joel Rosdahl [Tue, 27 Jul 2021 13:07:49 +0000 (15:07 +0200)] 
docs: Enable AsciiDoc admonition icons

4 years agodocs: Add styling of AsciiDoc documents similar to the ccache.dev site
Joel Rosdahl [Mon, 26 Jul 2021 19:04:29 +0000 (21:04 +0200)] 
docs: Add styling of AsciiDoc documents similar to the ccache.dev site

4 years agodocs: Add blank lines before headings
Joel Rosdahl [Mon, 26 Jul 2021 19:02:49 +0000 (21:02 +0200)] 
docs: Add blank lines before headings

This makes it consistent for all headings

4 years agodocs(http-storage): Convert note on HTTPS not being implemented to a AsciiDoc note
Joel Rosdahl [Mon, 26 Jul 2021 15:12:25 +0000 (17:12 +0200)] 
docs(http-storage): Convert note on HTTPS not being implemented to a AsciiDoc note

4 years agofeat(http-storage): Add support for the Bazel HTTP caching protocol
Joel Rosdahl [Mon, 26 Jul 2021 15:03:28 +0000 (17:03 +0200)] 
feat(http-storage): Add support for the Bazel HTTP caching protocol

4 years agofix(test): Flush stdout/stderr on http-server termination
Joel Rosdahl [Tue, 27 Jul 2021 07:16:14 +0000 (09:16 +0200)] 
fix(test): Flush stdout/stderr on http-server termination

The log from http-server is lost when the process is killed. Fix this by
flushing explicitly in a signal handler.

4 years agostyle: Format Python code with Black
Joel Rosdahl [Mon, 26 Jul 2021 19:57:09 +0000 (21:57 +0200)] 
style: Format Python code with Black

4 years agobump: Upgrade to BLAKE3 1.0.0
Joel Rosdahl [Mon, 26 Jul 2021 12:59:05 +0000 (14:59 +0200)] 
bump: Upgrade to BLAKE3 1.0.0

4 years agochore: Add hints about using conventional commits for commit messages
Joel Rosdahl [Wed, 28 Jul 2021 10:02:12 +0000 (12:02 +0200)] 
chore: Add hints about using conventional commits for commit messages

4 years agoUse Asciidoctor instead of Asciidoc to render documentation
Joel Rosdahl [Mon, 26 Jul 2021 08:23:25 +0000 (10:23 +0200)] 
Use Asciidoctor instead of Asciidoc to render documentation

Asciidoctor seems to:

- Provide a nice left-hand side table of contents.
- Have nicer looking defaults.
- Be faster.
- Have less (but non-zero) quirks.

4 years agoDon’t use ssize_t
Joel Rosdahl [Sun, 25 Jul 2021 14:20:21 +0000 (16:20 +0200)] 
Don’t use ssize_t

It’s not portable to Windows.

4 years agoAdd Redis support for Windows
Joel Rosdahl [Sat, 24 Jul 2021 20:01:02 +0000 (22:01 +0200)] 
Add Redis support for Windows

4 years agoAdd support for downloading hiredis from Internet
Joel Rosdahl [Sat, 24 Jul 2021 20:00:01 +0000 (22:00 +0200)] 
Add support for downloading hiredis from Internet

4 years agoUse cpp-httplib 0.9.2 (#905)
Gregor Jasny [Sun, 25 Jul 2021 05:08:32 +0000 (07:08 +0200)] 
Use cpp-httplib 0.9.2 (#905)