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

Error without "Master" #133

Closed
steinbrueckri opened this issue Sep 13, 2017 · 0 comments
Closed

Error without "Master" #133

steinbrueckri opened this issue Sep 13, 2017 · 0 comments

Comments

@steinbrueckri
Copy link

steinbrueckri commented Sep 13, 2017

Hello Guys,
i have some Puppet-Modules they don't have a "Master" branch and when i try to run Modulesync i get an error, see below. May Be related to #121 #76.

bash-3.2$ bundler exec msync update --noop
Syncing funkmdeclient
Cloning repository fresh
Cloning from ssh://[email protected]:2222/pupng/funkmdeclient.git
Error while updating funkmdeclient
bundler: failed to load command: msync (/usr/local/lib/ruby/gems/2.3.0/bin/msync)
Git::GitExecuteError: git '--git-dir=/Users/steinbrueckri/Projects/msync/modules/funkmdeclient/.git' '--work-tree=/Users/steinbrueckri/Projects/msync/modules/funkmdeclient' checkout 'origin/master'  2>&1:error: pathspec 'origin/master' did not match any file(s) known to git.
  /usr/local/lib/ruby/gems/2.3.0/gems/git-1.3.0/lib/git/lib.rb:937:in `command'
  /usr/local/lib/ruby/gems/2.3.0/gems/git-1.3.0/lib/git/lib.rb:644:in `checkout'
  /usr/local/lib/ruby/gems/2.3.0/gems/git-1.3.0/lib/git/base.rb:306:in `checkout'
  /usr/local/lib/ruby/gems/2.3.0/bundler/gems/modulesync-e53079030501/lib/modulesync/git.rb:32:in `switch_branch'
  /usr/local/lib/ruby/gems/2.3.0/bundler/gems/modulesync-e53079030501/lib/modulesync/git.rb:48:in `pull'
  /usr/local/lib/ruby/gems/2.3.0/bundler/gems/modulesync-e53079030501/lib/modulesync.rb:97:in `manage_module'
  /usr/local/lib/ruby/gems/2.3.0/bundler/gems/modulesync-e53079030501/lib/modulesync.rb:134:in `block in update'
  /usr/local/lib/ruby/gems/2.3.0/bundler/gems/modulesync-e53079030501/lib/modulesync.rb:132:in `each'
  /usr/local/lib/ruby/gems/2.3.0/bundler/gems/modulesync-e53079030501/lib/modulesync.rb:132:in `update'
  /usr/local/lib/ruby/gems/2.3.0/bundler/gems/modulesync-e53079030501/lib/modulesync/cli.rb:115:in `update'
  /usr/local/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
  /usr/local/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
  /usr/local/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
  /usr/local/lib/ruby/gems/2.3.0/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
  /usr/local/lib/ruby/gems/2.3.0/bundler/gems/modulesync-e53079030501/bin/msync:8:in `<top (required)>'
  /usr/local/lib/ruby/gems/2.3.0/bin/msync:23:in `load'
  /usr/local/lib/ruby/gems/2.3.0/bin/msync:23:in `<top (required)>'
bash-3.2$ cd /Users/steinbrueckri/Projects/msync/modules/funkmdeclient/
bash-3.2$ git branch
* release/2018.0.00.00
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