Initial public release of Warp.

Repo-Sync-Origin: warpdotdev/warp-internal@12af1d983b
This commit is contained in:
David Stern
2026-04-28 08:43:33 -05:00
commit 0dbd3d567a
4982 changed files with 1431549 additions and 0 deletions
@@ -0,0 +1,14 @@
---
name: "Build image and start container for SSH testing"
command: |-
WARP_REPO_PATH=`git rev-parse --show-toplevel`
docker build -t {{image}} $WARP_REPO_PATH/app/tests/ssh
docker run -ditp 22:22 {{image}}
tags: ["docker"]
description: "Builds a Docker image and launches a container based on that image for SSH testing. You can run `ssh bash@0.0.0.0` or `ssh zsh@0.0.0.0` after running this. The password will be 'password'. After you first do this, you can manage the container with the Docker Desktop app. The container may stop (e.g. if you restart your computer), and you can usually bring it back by restarting it there (hit the play button)."
arguments:
- name: image
description: The name of the Docker image. If you have multiple on your machine in order to test different operating systems, it might be useful to denominate them based on that.
default_value: ssh_test_ubuntu_latest
author: Zheng Tao
shells: ["zsh", "bash"]
@@ -0,0 +1,20 @@
name: "Cherrypick commit into a latest release branch"
command: |-
git fetch;
BRANCH_NAME=$(git branch -r | grep -o '{{release}}_release/v0.20.*{{release}}' | sort | tail -n 1);
git checkout $BRANCH_NAME;
git pull;
COMMIT_HASH={{commit_hash}};
CP_BRANCH="cherrypick/${BRANCH_NAME}_${COMMIT_HASH:0:7}";
git checkout -b $CP_BRANCH;
git pull;
git cherry-pick {{commit_hash}} && git push --set-upstream origin $CP_BRANCH --no-verify;
echo -e "\n\nCreate PR using this URL: https://github.com/warpdotdev/warp-internal/compare/${BRANCH_NAME}...${CP_BRANCH}?quick_pull=1&template=cherrypick.md"
description: "Sets up a cherrypick of a commit (specified by hash) into the given release branch by creating a new local branch off of the release branch, performing the cherry-pick, and pushing the new branch to GitHub."
arguments:
- name: commit_hash
description: Commit hash for the commit to cherrypick
- name: release
description: "Name of the release channel to cherrypick into, possible values: [dev, preview, stable]"
author: Warp Team
shells: []
@@ -0,0 +1,6 @@
---
name: "Copy WarpDev Keychain to Warp local"
command: "security add-generic-password -a User -U -s warp -w \"$(security find-generic-password -a User -s dev.warp.Warp-Dev -w)\""
description: "Copies the refresh token from WarpDev into the local warp app so that it can authenticate."
author: Warp Team
shells: []
@@ -0,0 +1,8 @@
name: "Create GH pull request to release a feature."
command: open 'https://github.com/warpdotdev/warp-internal/compare/{{branch_name}}?expand=1&template=feature_flag.md'
description: "Creates a templated pull request that we use when releasing a feature (e.g. flipping a feature flag)."
arguments:
- name: branch_name
description: The name of the branch that enables the feature.
author: Warp Team
shells: []
+10
View File
@@ -0,0 +1,10 @@
---
name: "Run an integration test"
command: "WARPUI_USE_REAL_DISPLAY_IN_INTEGRATION_TESTS=1 cargo test --package integration --test integration -- {{test}}"
description: "Run a specific integration test."
arguments:
- name: test
description: The name of the integration test to run.
default_value: test_simple_example
author: Warp Team
shells: []
+10
View File
@@ -0,0 +1,10 @@
---
name: "Run unit test"
command: "cargo test --package warp --lib -- {{module_and_test}} --exact --nocapture"
description: "Run a specific unit test. This is much faster than running cargo test when this is all you need."
arguments:
- name: module_and_test
description: The specific `tests` module and the name of the test, separated by `::`
default_value: terminal::model::blocks::tests::test_separator
author: Zheng Tao
shells: []
+9
View File
@@ -0,0 +1,9 @@
---
name: "Run Warp locally with shell"
command: "WARP_SHELL_PATH={{shell}} cargo run"
description: "Runs warp with the particular shell so devs don't need to change their login shell to test a different shell locally"
arguments:
- name: shell
description: path of shell to use
author: Warp Team
shells: []
@@ -0,0 +1,11 @@
name: "Run Warp locally with version and channel"
command: "GIT_RELEASE_TAG={{version}} cargo run --bin {{channel}}"
description: "Runs Warp locally with a particular version and channel for development purposes"
arguments:
- name: version
description: version number to use, e.g. 1.2.3.4
- name: channel
description: channel type, e.g. dev or stable
default_value: dev
author: Warp Team
shells: []
+9
View File
@@ -0,0 +1,9 @@
---
name: "Bundle warp"
command: "./script/bundle -c {{channel}}"
description: ~
arguments:
- name: channel
description: "The channel that should be bundled. One of \"stable\", \"preview\", or \"dev\"."
author: Warp Team
shells: []
+18
View File
@@ -0,0 +1,18 @@
name: "Create new branch off of master"
command:
|
new_branch={{new_branch_name}};
git checkout master && git pull origin master && git rev-parse --verify "$new_branch";
if [[ $? -ne 0 ]]; then
git checkout -b "$new_branch";
else
yellow=`tput setaf 3`;
reset=`tput sgr0`;
echo "${yellow}Branch $new_branch already exists${reset}" && git checkout "$new_branch"
fi
description: "Starts a new clean branch off of master if it doesn't already exist"
arguments:
- name: new_branch_name
description: Name of the new branch for a task
author: Warp Team
shells: []