1. 24 Jun, 2019 4 commits
  2. 23 Jun, 2019 3 commits
  3. 21 Jun, 2019 1 commit
  4. 20 Jun, 2019 2 commits
  5. 17 Jun, 2019 2 commits
  6. 16 Jun, 2019 5 commits
  7. 15 Jun, 2019 17 commits
  8. 14 Jun, 2019 6 commits
    • Merge pull request #5114 from pks-t/pks/bigfile-refactoring · f0a720d5
      Removal of `p_fallocate`
      Edward Thomson committed
    • posix: remove `p_fallocate` abstraction · 2d85c7e8
      By now, we have repeatedly failed to provide a nice
      cross-platform implementation of `p_fallocate`. Recent tries to
      do that escalated quite fast to a set of different CMake checks,
      implementations, fallbacks, etc., which started to look real
      awkward to maintain. In fact, `p_fallocate` had only been
      introduced in commit 4e3949b7 (tests: test that largefiles can
      be read through the tree API, 2019-01-30) to support a test with
      large files, but given the maintenance costs it just seems not to
      be worht it.
      
      As we have removed the sole user of `p_fallocate` in the previous
      commit, let's drop it altogether.
      Patrick Steinhardt committed
    • tests: object: refactor largefile test to not use `p_fallocate` · 0c2d0d4b
      The `p_fallocate` platform is currently in use in our tests,
      only, but it proved to be quite burdensome to get it implemented
      in a cross-platform way. The only "real" user is the test
      object::tree::read::largefile, where it's used to allocate a
      large file in the filesystem only to commit it to the repo and
      read its object back again. We can simplify this quite a bit by
      just using an in-memory buffer of 4GB. Sure, this cannot be used
      on platforms with low resources. But creating 4GB files is not
      any better, and we already skip the test if the environment
      variable "GITTEST_INVASIVE_FS_SIZE" is not set. So we're arguably
      not worse off than before.
      Patrick Steinhardt committed
    • Merge pull request #5055 from tiennou/cmake/backend-detect · c3179eff
      Modularize our TLS & hash detection
      Patrick Steinhardt committed
    • cmake: Modulize our TLS & hash detection · 94fc83b6
      The interactions between `USE_HTTPS` and `SHA1_BACKEND` have been
      streamlined. Previously we would have accepted not quite working
      configurations (like, `-DUSE_HTTPS=OFF -DSHA1_BACKEND=OpenSSL`) and, as
      the OpenSSL detection only ran with `USE_HTTPS`, the link would fail.
      
      The detection was moved to a new `USE_SHA1`, modeled after `USE_HTTPS`,
      which takes the values "CollisionDetection/Backend/Generic", to better
      match how the "hashing backend" is selected, the default (ON) being
      "CollisionDetection".
      
      Note that, as `SHA1_BACKEND` is still used internally, you might need to
      check what customization you're using it for.
      Etienne Samson committed
    • Merge pull request #5109 from pks-t/pks/test-mergeanalysis-variant · 231ccbeb
      tests: merge::analysis: use test variants to avoid duplicated test suites
      Edward Thomson committed