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

Command for updating all deps at once to latest #139

Open
bwplotka opened this issue Mar 24, 2023 · 1 comment
Open

Command for updating all deps at once to latest #139

bwplotka opened this issue Mar 24, 2023 · 1 comment

Comments

@bwplotka
Copy link
Owner

@kishaningithubi mentioned a good feature request in #135 (comment)

would like to have a bingo get -u option similar to go get -u to upgrade all my dependencies using a single command

@lyda
Copy link

lyda commented Nov 30, 2024

In the meantime, I use this shell script:

#!/bin/bash

bingo list \
  | sed 1,2d \
  | awk '{print $3}' \
  | sed s/@.\*/@latest/ \
  | xargs -n1 bingo get

This largely works but failed to do the upgrade for oapi-codegen when it moved repositories. Kind of a huge ask, but adding that logic into the tool would help but maybe a new ticket type for folks to note when they had to do an upgrade like this.

Also, as an aside, go get -u plus renovatebot have done a great job of keeping our projects up to date. That script above has done a good job keeping our tooling up to date as well. So thanks for bingo, it's saved a bunch of errors and grunt work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants