1. 11 Jul, 2019 1 commit
  2. 05 Jul, 2019 8 commits
  3. 04 Jul, 2019 4 commits
  4. 27 Jun, 2019 7 commits
  5. 26 Jun, 2019 6 commits
  6. 25 Jun, 2019 7 commits
  7. 24 Jun, 2019 7 commits
    • Merge pull request #5140 from libgit2/ethomson/flaky_ci · a064920e
      Re-run flaky tests
      Edward Thomson committed
    • ci: add flaky test re-execution on Windows · c7b4ce55
      Our online tests are occasionally flaky since they hit real network
      endpoints.  Re-run them up to 5 times if they fail, to allow us to
      avoid having to fail the whole build.
      Edward Thomson committed
    • ci: add flaky test re-execution on Unix · 6d8a34ad
      Our online tests are occasionally flaky since they hit real network
      endpoints.  Re-run them up to 5 times if they fail, to allow us to
      avoid having to fail the whole build.
      Edward Thomson committed
    • hash: add ability to distinguish algorithms · b7187ed7
      Create an enum that allows us to distinguish between different
      hashing algorithms. This enum is embedded into each
      `git_hash_ctx` and will instruct the code to which hashing
      function the particular request shall be dispatched.
      
      As we do not yet have multiple hashing algorithms, we simply
      initialize the hash algorithm to always be SHA1. At a later
      point, we will have to extend the `git_hash_init_ctx` function to
      get as parameter which algorithm shall be used.
      Patrick Steinhardt committed
    • hash: move SHA1 implementations to its own hashing context · 8832172e
      Create a separate `git_hash_sha1_ctx` structure that is specific
      to the SHA1 implementation and move all SHA1 functions over to
      use that one instead of the generic `git_hash_ctx`. The
      `git_hash_ctx` for now simply has a union containing this single
      SHA1 implementation, only, without any mechanism to distinguish
      between different algortihms.
      Patrick Steinhardt committed
    • hash: split into generic and SHA1-specific interface · d46d3b53
      As a preparatory step to allow multiple hashing APIs to exist at
      the same time, split the hashing functions into one layer for generic
      hashing and one layer for SHA1-specific hashing. Right now, this is
      simply an additional indirection layer that doesn't yet serve any
      purpose. In the future, the generic API will be extended to allow for
      choosing which hash to use, though, by simply passing an enum to the
      hash context initialization function. This is necessary as a first step
      to be ready for Git's move to SHA256.
      Patrick Steinhardt committed
    • hash: move SHA1 implementations into 'sha1/' folder · fda20622
      As we will include additional hash algorithms in the future due
      to upstream git discussing a move away from SHA1, we should
      accomodate for that and prepare for the move. As a first step,
      move all SHA1 implementations into a common subdirectory.
      
      Also, create a SHA1-specific header file that lives inside the
      hash folder. This header will contain the SHA1-specific header
      includes, function declarations and the SHA1 context structure.
      Patrick Steinhardt committed