git-pr
created pr with
58.1
cmds
checkout latest patchset:
ssh pr.pico.sh print 58 | git am -3checkout any patchset in a patch request:
ssh pr.pico.sh print 58.[rev] | git am -3add changes to patch request:
git format-patch main --stdout | ssh pr.pico.sh pr add 58
Patchset
58.1
rename binaries
jolheiser
2025-04-06T00:55:44ZRename the binaries to avoid any potential for "ssh" (or "web") binaries. In particular, "ssh" could conflict with openssh and lead to confusing behavior. Signed-off-by: jolheiser <git@jolheiser.com>
Semantic diff summary
0 added,
0 modified,
0 signature changed,
0 removed
across 2 analyzed files
(4 files skipped: unsupported file type)
+1
-1
Caddyfile
#
+5
-5
Dockerfile
#
| ... | ... | @@ -36,14 +36,14 @@ ENV LDFLAGS="-s -w" | |
| 36 | 36 | ||
| 37 | 37 | ENV GOOS=${TARGETOS} GOARCH=${TARGETARCH} | |
| 38 | 38 | ||
| 39 | - | RUN go build -ldflags "$LDFLAGS" -o /go/bin/ssh ./cmd/ssh | |
| 39 | + | RUN go build -ldflags "$LDFLAGS" -o /go/bin/git-ssh ./cmd/git-ssh | |
| 40 | 40 | ||
| 41 | 41 | FROM scratch as release-web | |
| 42 | 42 | ||
| 43 | 43 | WORKDIR /app | |
| 44 | 44 | ||
| 45 | 45 | COPY --from=builder-web /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | |
| 46 | - | COPY --from=builder-web /go/bin/web ./web | |
| 46 | + | COPY --from=builder-web /go/bin/git-web ./git-web | |
| 47 | 47 | ||
| 48 | 48 | CMD ["/app/web"] | |
| 49 | 49 |