thought-driven / bummr

Update your gems in separate commits. Identify any that fail your build.
MIT License
234 stars 23 forks source link

Supports Bundler 2.2 #63

Closed colinux closed 3 years ago

colinux commented 3 years ago

We can use the --parseable option, available since at least Bundler v2.0, to get back almost the same output than Bundler v1 (minus the asterisks at the beginning).

lpender commented 3 years ago

Going to rebase this so it runs on CI

lpender commented 3 years ago

Actually @colinux would you mind rebasing?

lpender commented 3 years ago

Thanks for the PR :)

colinux commented 3 years ago

@lpender Done !

joshRpowell commented 3 years ago

@colinux not working on our end after giving your branch a try with Bundler 2.2.16

same bummr commands apply?

albanpeignier commented 3 years ago

Works fine on our projects:

$ bundle --version
Bundler version 2.2.21

$ ruby -I /tmp/bummr/lib /tmp/bummr/bin/bummr update
...
Bummr update initiated 2021-06-30 10:43:58 +0000
actioncable (newest 6.1.4, installed 6.1.3.2)
actionmailbox (newest 6.1.4, installed 6.1.3.2)
actionmailer (newest 6.1.4, installed 6.1.3.2)
...

websocket-driver (newest 0.7.5, installed 0.7.3)
Updating outdated gems
Updating bootsnap: 1 of 12  
schlumpfit commented 3 years ago

@joshRpowell maybe you can add what went wrong?

What I did to make it work:

# From clean master
git checkout -b bummr
echo 'gem "bummr", git: "https://github.com/colinux/bummr.git", branch: "bundler2.2"' >> Gemfile
bundle install
git commit -m "Add bummr"
git checkout -b bummr-update
BASE_BRANCH=bummr bundle exec bummr update --all

Tested with:

Bundler version 2.2.15
Bundler version 2.2.16
Bundler version 2.2.21
joshRpowell commented 3 years ago

@schlumpfit thanks for pinging me. forgot to circle back and update this after my post.

working for us on Bundler version 2.2.18

LGTM

joshRpowell commented 3 years ago

ping @schlumpfit

added this to another project and works well there too.

lpender commented 3 years ago

Released in 0.6.0 Thanks !