From 5e71dd3ecc32d2eb2c81825c7c14e4cc6e1c747d Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 7 Sep 2025 22:47:26 -0500 Subject: add "/applied" and "/merged" routes --- http.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'http.go') diff --git a/http.go b/http.go index 11c0a49..2404ca6 100644 --- a/http.go +++ b/http.go @@ -114,6 +114,13 @@ func okHandler(w http.ResponseWriter, r *http.Request) { case "/patches/new": result = addNewPatches(pb, reqPB) log.Infof("addNewPatches() pb.Len()=%d result.Len()=%d\n", pb.Len(), result.Len()) + case "/patches/applied": + log.Info("not really anything needs to be done on applied patches?") + // result = handleAppliedPatches(pb, reqPB) + case "/patches/merged": + log.Info("a maintainer has merged these patches") + result = handleMergedPatches(pb, reqPB) + // result = handleAppliedPatches(pb, reqPB) case "/patches/get": result = sendPendingPatches(pb, reqPB) default: -- cgit v1.2.3