From 813e0c07475bfdfbd1f05ba658ae65b8f1a4ef82 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 11 Feb 2022 13:17:35 +0300 Subject: fix(3p/josh): Require HTTP authentication when pushing back With this change it becomes possible to push back to code.tvl.fyi through josh views. We probably want to change this patch so that it can be upstreamed, but for now I just want to get this to work. Change-Id: I7cdacf384e38da6ba9621e5818cfaf7c5d5c99a2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5273 Tested-by: BuildkiteCI Reviewed-by: sterni Autosubmit: tazjin --- third_party/josh/default.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'third_party/josh/default.nix') diff --git a/third_party/josh/default.nix b/third_party/josh/default.nix index 7e32a37e7761..70786a2648cf 100644 --- a/third_party/josh/default.nix +++ b/third_party/josh/default.nix @@ -26,4 +26,8 @@ depot.third_party.naersk.buildPackage { "-p" "josh-ui" ]; + + overrideMain = x: { + patches = [ ./0001-josh-proxy-Always-require-authentication-when-pushin.patch ]; + }; } -- cgit 1.4.1