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

If the branch does not exists the backporter fails with NoMethodError #9

Open
alecslupu opened this issue Sep 25, 2024 · 0 comments
Open

Comments

@alecslupu
Copy link
Contributor

error: pathspec 'develop' did not match any file(s) known to git
/opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/decidim-maintainers_toolbox-0.3.0/lib/decidim/maintainers_toolbox/git_backport_manager.rb:63:in `checkout_develop': undefined method `exit_with_errors' for class Decidim::MaintainersToolbox::GitBackportManager (NoMethodError)
        exit_with_errors(error_message) unless $CHILD_STATUS.exitstatus.zero?
        ^^^^^^^^^^^^^^^^
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/decidim-maintainers_toolbox-0.3.0/lib/decidim/maintainers_toolbox/git_backport_manager.rb:36:in `block in call'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/decidim-maintainers_toolbox-0.3.0/lib/decidim/maintainers_toolbox/git_backport_manager.rb:34:in `chdir'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/decidim-maintainers_toolbox-0.3.0/lib/decidim/maintainers_toolbox/git_backport_manager.rb:34:in `call'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/decidim-maintainers_toolbox-0.3.0/lib/decidim/maintainers_toolbox/backporter.rb:58:in `make_cherrypick_and_branch'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/decidim-maintainers_toolbox-0.3.0/lib/decidim/maintainers_toolbox/backporter.rb:29:in `call'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/decidim-maintainers_toolbox-0.3.0/exe/decidim-backporter:34:in `backport'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/thor-1.3.2/lib/thor/command.rb:28:in `run'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/thor-1.3.2/lib/thor/invocation.rb:127:in `invoke_command'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/thor-1.3.2/lib/thor.rb:538:in `dispatch'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/thor-1.3.2/lib/thor/base.rb:584:in `start'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/lib/ruby/gems/3.3.0/gems/decidim-maintainers_toolbox-0.3.0/exe/decidim-backporter:48:in `<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/bin/decidim-backporter:25:in `load'
	from /opt/hostedtoolcache/Ruby/3.3.4/x64/bin/decidim-backporter:25:in `<main>'
Command failed with exit 1: decidim-backporter
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

1 participant