Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(vcs): jj driver, detection and process wrapper #11373

ClosedTHEjacob1000(GitHub profile, opens in a new tab)wants to merge 250+ commits intot3code/codex-turn-mapping fromrefs/pull/11373/headopened View on GitHub

Showing 1,477 changed files with 70 additions and 4 deletions (loading 1,469).

x
0 of 1,477 viewed, 1,477 left
40 additions and 0 deletions.github/actions/setup-jj/action.ymlAdded
View file
@@ -0,0 +1,40 @@
+name: Setup Jujutsu
+description: Install the jj CLI from the official jj-vcs release artifacts.
+​
+inputs:
+ version:
+ description: Jujutsu release tag to install.
+ required: false
+ default: v0.42.0
+​
+runs:
+ using: composite
+ steps:
+ - name: Install jj
+ shell: bash
+ env:
+ JJ_VERSION: ${{ inputs.version }}
+ run: |
+ set -euo pipefail
+​
+ case "${RUNNER_OS}-${RUNNER_ARCH}" in
+ Linux-X64)
+ asset="jj-${JJ_VERSION}-x86_64-unknown-linux-musl.tar.gz"
+ ;;
+ *)
+ echo "Unsupported runner for jj install: ${RUNNER_OS}-${RUNNER_ARCH}" >&2
+ exit 1
+ ;;
+ esac
+​
+ install_dir="${RUNNER_TEMP}/jj-${JJ_VERSION}"