Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: foomo/posh-providers
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.25.3
Choose a base ref
...
head repository: foomo/posh-providers
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 4 commits
  • 6 files changed
  • 1 contributor

Commits on Jan 2, 2025

  1. fix: add missing profile flag

    franklinkim committed Jan 2, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    franklinkim Kevin Franklin Kim
    Copy the full SHA
    19fe8b4 View commit details
  2. Merge pull request #171 from foomo/squadron-diff-profile-flag

    fix: add missing profile flag
    franklinkim authored Jan 2, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    631afa3 View commit details

Commits on Jan 10, 2025

  1. feat(oven-sh/bun): add provider

    franklinkim committed Jan 10, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    franklinkim Kevin Franklin Kim
    Copy the full SHA
    a77a3ca View commit details
  2. Merge pull request #173 from foomo/oven-sh-bun

    feat(oven-sh/bun): add provider
    franklinkim authored Jan 10, 2025

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
    Copy the full SHA
    5777974 View commit details
Showing with 440 additions and 2 deletions.
  1. +3 −0 foomo/squadron/v2/command.go
  2. +34 −0 oven-sh/bun/README.md
  3. +372 −0 oven-sh/bun/command.go
  4. +27 −0 oven-sh/bun/workspace.go
  5. +2 −1 pnpm/pnpm/command.go
  6. +2 −1 {pnpm/pnpm → utils}/packagejson.go
3 changes: 3 additions & 0 deletions foomo/squadron/v2/command.go
Original file line number Diff line number Diff line change
@@ -213,6 +213,9 @@ func NewCommand(l log.Logger, squadron *Squadron, kubectl *kubectl.Kubectl, op *
fs.Default().Int64("parallel", 1, "number of parallel processes")
fs.Default().String("tags", "", "list of tags to include or exclude")
fs.Internal().String("tag", "", "image tag")
if err := profileFlag(ctx, r, fs); err != nil {
return err
}
return nil
},
Execute: inst.execute,
34 changes: 34 additions & 0 deletions oven-sh/bun/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# POSH bun provider

## Usage

### Plugin

```go
package main

type Plugin struct {
l log.Logger
cache cache.Cache
commands command.Commands
}

func New(l log.Logger) (plugin.Plugin, error) {
var err error
inst := &Plugin{
l: l,
cache: &cache.MemoryCache{},
commands: command.Commands{},
}

// ...

// ...

inst.commands.Add(bun.NewCommand(l, inst.cache))

// ...

return inst, nil
}
```
Loading