]> git.ipfire.org Git - thirdparty/ccache.git/log
thirdparty/ccache.git
4 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

4 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

4 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

4 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

4 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

4 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”.

4 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

4 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.

4 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

4 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

4 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

4 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

4 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

4 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

4 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.

4 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.

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

4 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

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

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

4 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.

4 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.

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

4 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

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

4 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)

4 years agoUpdate manual after layout change of compression statistics
Joel Rosdahl [Sat, 24 Jul 2021 11:49:07 +0000 (13:49 +0200)] 
Update manual after layout change of compression statistics

4 years agoDocument that CMake 3.10 now is needed
Joel Rosdahl [Sat, 24 Jul 2021 09:02:06 +0000 (11:02 +0200)] 
Document that CMake 3.10 now is needed

4 years agoUse auto to simplify lambda expressions
Joel Rosdahl [Sat, 24 Jul 2021 08:53:59 +0000 (10:53 +0200)] 
Use auto to simplify lambda expressions

4 years agoDrop support for compiling ccache with buggy GCC 5
Joel Rosdahl [Sat, 24 Jul 2021 08:59:41 +0000 (10:59 +0200)] 
Drop support for compiling ccache with buggy GCC 5

GCC 5 may crash when compiling C++14 generic lambdas:
<https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69977>

4 years agoUse util::TextTable for compression statistics
Joel Rosdahl [Fri, 23 Jul 2021 12:21:08 +0000 (14:21 +0200)] 
Use util::TextTable for compression statistics

4 years agoAdd TextTable class
Joel Rosdahl [Fri, 23 Jul 2021 11:52:21 +0000 (13:52 +0200)] 
Add TextTable class

4 years agoRefactor main option processing to a separate file
Joel Rosdahl [Fri, 23 Jul 2021 11:26:08 +0000 (13:26 +0200)] 
Refactor main option processing to a separate file

4 years agoSet umask when creating configuration file
Joel Rosdahl [Sat, 24 Jul 2021 04:56:23 +0000 (06:56 +0200)] 
Set umask when creating configuration file

This opens up for not having to initialize Context before calling
Config::set_value_in_file.

4 years agoExplicitly default use_syslog to false for clarity
Joel Rosdahl [Fri, 23 Jul 2021 10:56:34 +0000 (12:56 +0200)] 
Explicitly default use_syslog to false for clarity

4 years agoRefactor printing of compression statistics
Joel Rosdahl [Thu, 22 Jul 2021 18:53:44 +0000 (20:53 +0200)] 
Refactor printing of compression statistics

4 years agoConvert primary storage to a public member of storage::Storage
Joel Rosdahl [Thu, 22 Jul 2021 14:20:01 +0000 (16:20 +0200)] 
Convert primary storage to a public member of storage::Storage

4 years agoMove/split statistics functionality into core and storage::primary
Joel Rosdahl [Thu, 22 Jul 2021 11:06:40 +0000 (13:06 +0200)] 
Move/split statistics functionality into core and storage::primary

- The Counters class has been moved to core::StatisticsCounters.
- Functionality in the Statistics namespace has been split into:
    - core::StatsLog: Knows about “stats log” format.
    - core::Statistics: Knows about properties of statistics fields and
      how to present them.
    - storage::primary::PrimaryStorage: Knows how to store and update
      statistics in the primary storage backend.
    - storage::primary::StatsFile: Knows about the “stats file” format.

4 years agoMove Statistic to core
Joel Rosdahl [Wed, 21 Jul 2021 16:19:04 +0000 (18:19 +0200)] 
Move Statistic to core

4 years agoConvert Sloppiness enum to type-safe class
Joel Rosdahl [Wed, 21 Jul 2021 08:45:01 +0000 (10:45 +0200)] 
Convert Sloppiness enum to type-safe class

4 years agoMove code for cleanup, compressing and similar to storage/primary
Joel Rosdahl [Tue, 20 Jul 2021 11:46:37 +0000 (13:46 +0200)] 
Move code for cleanup, compressing and similar to storage/primary

4 years agoRename storage::CacheEntryWriter to EntryWriter
Joel Rosdahl [Tue, 20 Jul 2021 10:40:06 +0000 (12:40 +0200)] 
Rename storage::CacheEntryWriter to EntryWriter

4 years agoMove compression classes to compression directory/namespace
Joel Rosdahl [Tue, 20 Jul 2021 14:56:15 +0000 (16:56 +0200)] 
Move compression classes to compression directory/namespace

4 years agoConvert nonstd::string_view to std::string using constructor
Joel Rosdahl [Tue, 20 Jul 2021 05:14:46 +0000 (07:14 +0200)] 
Convert nonstd::string_view to std::string using constructor

to_string doesn’t exist in the std::string_view form, so use the
std::string constructor to make a future conversion to newer C++
versions easier.

4 years agoTweak language
Joel Rosdahl [Mon, 19 Jul 2021 19:19:26 +0000 (21:19 +0200)] 
Tweak language

Unix systems use the name “symbolic link” or “symlink”, not “soft link”.

4 years agotest: Use test_failed_internal in inode_cache suite
Joel Rosdahl [Mon, 19 Jul 2021 18:13:01 +0000 (20:13 +0200)] 
test: Use test_failed_internal in inode_cache suite

Using test_failed_internal makes line numbers in reported failures
correct.

4 years agoMove exceptions.hpp to core
Joel Rosdahl [Mon, 19 Jul 2021 11:29:53 +0000 (13:29 +0200)] 
Move exceptions.hpp to core

4 years agoDerive ccache featues from storage registry (#903)
Gregor Jasny [Tue, 20 Jul 2021 14:18:43 +0000 (16:18 +0200)] 
Derive ccache featues from storage registry (#903)

4 years agoHTTP storage: Fix crash when not specifying port
Joel Rosdahl [Mon, 19 Jul 2021 10:50:20 +0000 (12:50 +0200)] 
HTTP storage: Fix crash when not specifying port

Url::port(const std::string&) apparently doesn’t accept an empty string
as the port (even though Url::port() can return an empty string), so
work around that.

4 years agoMove Util::get_path_in_cache to PrimaryStorage
Joel Rosdahl [Sun, 18 Jul 2021 10:52:23 +0000 (12:52 +0200)] 
Move Util::get_path_in_cache to PrimaryStorage

PrimaryStorage is now the sole user of get_path_in_cache.

4 years agoStore secondary storage hits in primary storage
Joel Rosdahl [Sun, 18 Jul 2021 10:44:39 +0000 (12:44 +0200)] 
Store secondary storage hits in primary storage

4 years agoImprove secondary storage framework
Joel Rosdahl [Fri, 16 Jul 2021 20:12:17 +0000 (22:12 +0200)] 
Improve secondary storage framework

- Let the secondary storage framework create backend instances on demand and
  track their failure state - the framework will stop calling a backend after a
  connection error/timeout. This makes it possible for a backend to create a
  connection in the constructor if wanted.
- Added API and implementation for redacting secrets in secondary storage URLs
  and attributes. Passwords in URLs are now redacted in debug logs but not for
  "ccache -p" and "ccache -k secondary_storage".
- Adapted existing storage backends to the new APIs. In particular, the Redis
  backend could be simplified.
- Moved the SecondaryStorage class to src/storage/secondary, analogous to
  PrimaryStorage which is in src/storage/primary.

4 years agodoc: Mention file URLs without double slash
Joel Rosdahl [Fri, 16 Jul 2021 19:19:36 +0000 (21:19 +0200)] 
doc: Mention file URLs without double slash

4 years agoRemove redundant _utils suffix for util headers
Joel Rosdahl [Wed, 14 Jul 2021 08:10:10 +0000 (10:10 +0200)] 
Remove redundant _utils suffix for util headers

4 years agoAdd util::join function
Joel Rosdahl [Tue, 13 Jul 2021 18:40:31 +0000 (20:40 +0200)] 
Add util::join function

4 years agoSplit util headers into interface and implementation sections
Joel Rosdahl [Wed, 14 Jul 2021 07:41:55 +0000 (09:41 +0200)] 
Split util headers into interface and implementation sections

4 years agoMove parse_signed and parse_unsigned to util
Joel Rosdahl [Tue, 13 Jul 2021 11:04:49 +0000 (13:04 +0200)] 
Move parse_signed and parse_unsigned to util

4 years agoAdd util::value_or_throw function
Joel Rosdahl [Wed, 14 Jul 2021 08:07:15 +0000 (10:07 +0200)] 
Add util::value_or_throw function

4 years agoMove starts_with and ends_with to util
Joel Rosdahl [Tue, 13 Jul 2021 08:50:12 +0000 (10:50 +0200)] 
Move starts_with and ends_with to util

4 years agoMove strip_whitespace to util
Joel Rosdahl [Tue, 13 Jul 2021 08:41:44 +0000 (10:41 +0200)] 
Move strip_whitespace to util

4 years agoSort Config::set_* methods
Joel Rosdahl [Tue, 13 Jul 2021 08:29:34 +0000 (10:29 +0200)] 
Sort Config::set_* methods

4 years agoUse std::this_thread::sleep_for instead of usleep
Joel Rosdahl [Tue, 13 Jul 2021 07:49:15 +0000 (09:49 +0200)] 
Use std::this_thread::sleep_for instead of usleep

For portability.

4 years agoHTTP storage: Fix IPv6 address handling (#898)
Gregor Jasny [Sat, 17 Jul 2021 14:43:22 +0000 (16:43 +0200)] 
HTTP storage: Fix IPv6 address handling (#898)

4 years agoFix test-all-systems (#901)
Gregor Jasny [Sat, 17 Jul 2021 12:05:37 +0000 (14:05 +0200)] 
Fix test-all-systems (#901)

4 years agoExpose list of enabled features (#897)
Gregor Jasny [Wed, 14 Jul 2021 09:37:14 +0000 (11:37 +0200)] 
Expose list of enabled features (#897)

4 years agoHTTP storage: Implement timeout support (#896)
Gregor Jasny [Wed, 14 Jul 2021 09:36:48 +0000 (11:36 +0200)] 
HTTP storage: Implement timeout support (#896)

Closes #888.

4 years agoHTTP storage: Implement authentication support (#895)
Gregor Jasny [Wed, 14 Jul 2021 07:26:13 +0000 (09:26 +0200)] 
HTTP storage: Implement authentication support (#895)

Closes #887.

4 years agoAdd CII Best Practices badge
Joel Rosdahl [Wed, 14 Jul 2021 07:17:32 +0000 (09:17 +0200)] 
Add CII Best Practices badge

4 years agoMention that test cases are preferred for contributed code
Joel Rosdahl [Wed, 14 Jul 2021 07:03:31 +0000 (09:03 +0200)] 
Mention that test cases are preferred for contributed code

4 years agoOnly run redis test if backend is enabled (#891)
Gregor Jasny [Tue, 13 Jul 2021 07:31:20 +0000 (09:31 +0200)] 
Only run redis test if backend is enabled (#891)

4 years agoAdd test for Redis storage with password
Joel Rosdahl [Mon, 12 Jul 2021 11:51:50 +0000 (13:51 +0200)] 
Add test for Redis storage with password

4 years agoRemove read-only tests of HTTP and Redis storage backends
Joel Rosdahl [Sun, 11 Jul 2021 19:57:40 +0000 (21:57 +0200)] 
Remove read-only tests of HTTP and Redis storage backends

The “read-only” tests in secondary_http and secondary_redis were
inspired by the “read-only” test in secondary_file. However, that test
actually verifies the secondary storage *framework*, not the storage
backend itself, so it’s enough to just do it in secondary_file.