Skip to content
Snippets Groups Projects
  1. Mar 17, 2024
    • Georges Racinet's avatar
      CI/CD: uploading a precompiled binary · 35a5ffade951
      Georges Racinet authored
      This will be useful in CI for Heptapod Rails, avoiding a
      lenghty compilation job when unnecessary.
      
      Some users may find it useful as well.
      1.3.1
      35a5ffade951
    • Georges Racinet's avatar
      RHGitaly tarball: do not put under the rust/ workspace · 0e3bb66f6f59
      Georges Racinet authored
      On subsequent compilation in CI, this will help making sure
      that the result is really compiled from the tarball, and hence
      that the latter is fully self-contained.
      0e3bb66f6f59
    • Georges Racinet's avatar
      CI/CD: display Rust version in rust job · a004781843c1
      Georges Racinet authored
      Never hurts.
      a004781843c1
    • Georges Racinet's avatar
      RefService.ListRefs: implement sort options · 5e471db01039
      Georges Racinet authored
      The Python implementation is straightforward. Of course, we have
      to conflate the three possible dates, and even use those of the
      target changeset, as we don't have creation dates for references
      (we could in the case of tags in some far future).
      
      In the Rust implementation, the key point is how to start with an ordinary
      async `spawn` and then use a separate thread (`spawn_blocking`) to
      open the changelog if needed.
      
      It turns out that doing this from the first spawned task is impossible
      (it claims that `spawn_blocking` or its avatar as `load_repo_and_then` is
      not `Send` as soon as we want to pass the vector to sort).
      So instead, we pipe a second channel if needed. It sounds a bit silly
      to chunk, reaggregate, and then rechunk after sorting, but it does not
      matter much in the grand scheme of things.
      
      Also attempts to move this new spawning to `rhgitaly::repository` were
      unconclusive: in the current state of things, it would force to preclone
      the entire request, which is probably not a big concern, but still
      unsatisfactory, given that we only need the sort options (in this case,
      but not in a generic version). This is all complicated by the error about
      not being `Send` that gets displayed systematically if there are other
      errors (does not help knowing whether it will be true at the end when
      experimenting). We'll leaving it as is for now, and wait to have more
      use cases to try and do better.
      5e471db01039
    • Georges Racinet's avatar
      rhgitaly::message: made timestamp parsing public · 9fb6bceca334
      Georges Racinet authored
      It can be used for more than just putting in a `GitCommit` message.
      9fb6bceca334
  2. Mar 14, 2024
  3. Mar 12, 2024
  4. Mar 11, 2024
  5. Mar 10, 2024
  6. Mar 09, 2024
  7. Mar 08, 2024
  8. Mar 10, 2024
  9. Mar 09, 2024
  10. Mar 08, 2024
  11. Mar 07, 2024
  12. Sep 18, 2023
  13. Apr 01, 2021
  14. Mar 07, 2024
Loading