Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating go-swagger to v0.30.5 and otel #18932

Closed
yuriy-yarosh opened this issue Jul 13, 2023 · 2 comments
Closed

Updating go-swagger to v0.30.5 and otel #18932

yuriy-yarosh opened this issue Jul 13, 2023 · 2 comments
Assignees
Labels

Comments

@yuriy-yarosh
Copy link

It would be nice to update swagger and otel to the most recent versions.

I've been able to update go-swagger to v0.30.5, with

    go install github.com/go-swagger/go-swagger/cmd/swagger@v0.30.5 
    $HOME/bin/swagger generate server  \
      --template-dir=tools/swagger/templates \
      --spec=api/v2.0/swagger.yaml  \
      --exclude-main \
      --additional-initialism=CVE \
      --additional-initialism=GC \
      --additional-initialism=OIDC \
      --name=harbor \
      --target=src/server/v2.0
    cd src/
    go get -u github.com/go-openapi/errors
    go get -u github.com/go-openapi/validate
    go mod tidy
    go mod vendor
    go build -o harbor ./core 

as per #18925

And it seems to be working (needs testing).

After updating everything with go get -u github.com/go-openapi/...

I'm getting some otel errors:

зображення

It would be really really nice if we could get an automated dependencies updates with something like dependabot for Harbor.

@github-actions
Copy link

This issue is being marked stale due to a period of inactivity. If this issue is still relevant, please comment or remove the stale label. Otherwise, this issue will close in 30 days.

@github-actions github-actions bot added the Stale label Sep 15, 2023
@github-actions
Copy link

This issue was closed because it has been stalled for 30 days with no activity. If this issue is still relevant, please re-open a new issue.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants