Skip to content
  1. Apr 11, 2024
  2. Mar 28, 2024
    • Matthew Clarkson's avatar
      feat(fetch): fallback to deeper fetches · 324b0fee
      Matthew Clarkson authored
      324b0fee
    • Matthew Clarkson's avatar
      fix(resolve): return the commit _and_ reference · 8944e0a7
      Matthew Clarkson authored
      When we list the remote, we fully resolve the reference. Returning that resolved
      reference removes ambiguity later in the logic.
      
      If multiple references are listed, raise a failure.
      8944e0a7
    • Matthew Clarkson's avatar
      485c423e
    • Matthew Clarkson's avatar
      feat: add `bazel-git` toolchain · 427e72e0
      Matthew Clarkson authored
      427e72e0
    • Matthew Clarkson's avatar
      feat: add `git_fetch` repository rule · 593a8e7b
      Matthew Clarkson authored
      This patch also adds:
      
      - `git_dir`: create a `.git` declared directory from a filegroup
      - `git_commit`: represent a `git` commit as a Bazel provider
      - `git_checkout`: checkout a commit into a declared directory
      
      These rules are stamped out in the `git_fetch` repository.
      
      The network access is performed in the repository context to retrieve
      the `.git` objects. The rest of the `git` operations are performed in
      the action context. This has many benefits:
      
      - On-demand I/O when actions are requested
      - Separation of concerns for different `git` operations
      - Remote cache and remote execution friendly actions
      
      The actions use `rules_coreutils` to be hermetic.
      
      _Currently_, the `git` CLI is used from the local machine to prove
      out the operation and determine the needed functionality from the CLI.
      A project is being brought up at bazel/git> to implement a hermetic
      CLI implementation that provides _just enough_ to make this ruleset
      hermetic.
      593a8e7b
    • Matthew Clarkson's avatar
      feat: add `git` toolchain · 88a8fc26
      Matthew Clarkson authored
      88a8fc26
  3. Feb 12, 2024
  4. Jan 24, 2024
  5. Dec 20, 2023
  6. Nov 15, 2023
  7. Nov 14, 2023
Loading