-
Notifications
You must be signed in to change notification settings - Fork 65
🐛 fix bingo-upgrade target #1609
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
🐛 fix bingo-upgrade target #1609
Conversation
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: Per Goncalves da Silva <[email protected]>
6423f35
to
1f0a7aa
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1609 +/- ##
==========================================
- Coverage 75.64% 66.68% -8.96%
==========================================
Files 42 57 +15
Lines 3326 4584 +1258
==========================================
+ Hits 2516 3057 +541
- Misses 638 1302 +664
- Partials 172 225 +53
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@for pkg in $$($(BINGO) list | awk '{ print $$1 }' | tail -n +3); do \ | ||
echo "Upgrading $$pkg to latest..."; \ | ||
@for pkg in $$($(BINGO) list | awk '{ print $$3 }' | tail -n +3 | sed 's/@.*//'); do \ | ||
echo -e "Upgrading \033[35m$$pkg\033[0m to latest..."; \ | ||
$(BINGO) get "$$pkg@latest"; \ | ||
done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
7a6fa07
Description
The current bingo-upgrade make target can choke on bingo dependencies that require the whole path to the executable. For instance, golangci-lint needs to be installed with bingo as follows:
as opposed to:
The update makes use of the 3rd column of the bingo list command:
And uses sed to strip everything after (and including) the
@
.I've tested this manually and it worked for every tool.
Reviewer Checklist