This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
set -o pipefail | |
REVRANGE="$1" | |
if test "$REVRANGE" = ""; then | |
echo "USAGE: $0 <revrange>" >&2 | |
exit 1 | |
fi | |
for commit in $(git log ${REVRANGE} --oneline | awk '{print $1}'); do | |
gh pr list --state merged --search "$commit" --json author --template '{{range .}}{{printf "@%s\n" .author.login}}{{end}}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Debug argocd-server", | |
"type": "go", | |
"request": "launch", | |
"mode": "debug", | |
"program": "${workspaceFolder}/cmd/main.go", | |
"args": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Usage: $0 <component to debug> | |
# Will start all other components, and leaves starting the component to debug | |
# to the user (most likely, using delve via vscode). | |
MANDATORY_COMPONENTS="dex redis ui git-server dev-mounter" | |
case "$1" in | |
"server") | |
ADDITIONAL_COMPONENTS="repo-server controller" | |
;; |