From febe53f630ff84a1b29e90a184553e10a1a0471b Mon Sep 17 00:00:00 2001 From: Mark Allen Date: Thu, 20 Feb 2025 13:41:40 +0000 Subject: [PATCH 1/2] Auto-generated linter re-org of imports --- internal/infra/run.go | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/internal/infra/run.go b/internal/infra/run.go index faa644f6..ec5074bf 100644 --- a/internal/infra/run.go +++ b/internal/infra/run.go @@ -6,6 +6,16 @@ import ( "encoding/base64" "encoding/json" "fmt" + "io" + "log" + "net/http" + "os" + "os/signal" + "regexp" + "strings" + "syscall" + "time" + "github.com/dependabot/cli/internal/model" "github.com/dependabot/cli/internal/server" "github.com/docker/docker/api/types" @@ -17,15 +27,6 @@ import ( "github.com/moby/moby/api/types/registry" "github.com/moby/moby/client" "gopkg.in/yaml.v3" - "io" - "log" - "net/http" - "os" - "os/signal" - "regexp" - "strings" - "syscall" - "time" ) type RunParams struct { From bf3ee71304589ca76eeec4f74a48ebebbce9bf7c Mon Sep 17 00:00:00 2001 From: Mark Allen Date: Thu, 20 Feb 2025 13:42:20 +0000 Subject: [PATCH 2/2] Add bun and docker compose package managers --- internal/infra/run.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/infra/run.go b/internal/infra/run.go index ec5074bf..3ac95e96 100644 --- a/internal/infra/run.go +++ b/internal/infra/run.go @@ -250,11 +250,13 @@ func checkCredAccess(ctx context.Context, job *model.Job, creds []model.Credenti } var packageManagerLookup = map[string]string{ + "bun": "bun", "bundler": "bundler", "cargo": "cargo", "composer": "composer", "pub": "pub", "docker": "docker", + "docker_compose": "docker-compose", "dotnet_sdk": "dotnet-sdk", "elm": "elm", "github_actions": "github-actions",