Help figuring out URL of repo
Hi, I just need a little tip/help/documentation on choosing the right url for the stash_url value. Nothing I've tried works, each time I run "stash browse -b develop" it brings up a bitbucket url that is close but not valid and thus results in the bitbucket.org 404.
For example my site is at https://bitbucket.org/i4cdev/voyce-member-site and it tries to bring up: https://bitbucket.org/i4cdev/voyce-member-site/projects/i4cdev/repos/voyce-member-site?at=develop
And from what I can tell, my repo does not have a "projects" or "repos" subdirectory.
Here are the stash urls I've tried:
- https://bitbucket.org:i4cdev/voyce-member-site.git
- https://dan_shumaker@bitbucket.org/i4cdev/voyce-member-site.git
- bitbucket.org:i4cdev/voyce-member-site.git
- https://bitbucket.org/i4cdev/voyce-member-site
- https://bitbucket.org/
All of the above throw a 404 error.
I greatly appreciate any help.
Comments (6)
-
Account Deactivated -
Account Deactivated - changed status to resolved
-
Account Deleted reporter Thanks. I know I'd appreciate it you'd help us be more self aware. If you could tell us how to self-determine which thing we're using that would be great. Is it based on project, client, url? Is there a quick way to self-determine this (figure it out)? I had no idea I was on cloud . I guess anything on bitbucket.org is on the cloud?
-
Account Deactivated @dan_shumaker correct, bitbucket.org is our cloud offering, if you download and host Bitbucket yourself, then you'd be using bitbucket server. I'll update the readme to be clearer.
-
Account Deleted reporter It would be super-duper-awesome-killer if the tool worked for the cloud.. +1 ! :) If I can get my local running I'll see if i can get it running. Looks like line 22 of the repo_info.rb file might be all that's needed.
-
Account Deleted reporter Nope, can't get bundle install to work. Endless rabbit hole bash syntax errors, ruby version mismatches, homebrew updates, rvm use problems.
cd bitbucket-server-cli/ -bash: /Users/dan/.rvm/scripts/initialize: line 79: syntax error near unexpected token `done' -bash: /Users/dan/.rvm/scripts/initialize: line 79: ` done' -bash: /Users/dan/.rvm/scripts/hook: line 43: syntax error near unexpected token `done' -bash: /Users/dan/.rvm/scripts/hook: line 43: ` done' BASHdan@ShuPro /Users/dan/bin/ruby/bitbucket-server-cli >>bundle install Fetching gem metadata from http://rubygems.org/ Fetching version metadata from http://rubygems.org/ Fetching dependency metadata from http://rubygems.org/ Resolving dependencies... Using rake 11.2.2 Using concurrent-ruby 1.0.2 Using i18n 0.7.0 Using minitest 5.9.0 Using thread_safe 0.3.5 Using addressable 2.4.0 Using builder 3.2.2 Using bundler 1.12.5 Using highline 1.6.21 Using multipart-post 2.0.0 Using git 1.3.0 Using hashie 3.4.4 Using jwt 1.5.4 Using multi_json 1.12.1 Using multi_xml 0.5.5 Using rack 1.6.4 Using mini_portile2 2.1.0 Using pkg-config 1.1.7 Using json 1.8.3 Using metaclass 0.0.4 Using shoulda-context 1.2.1 Using tzinfo 1.2.2 Using descendants_tracker 0.0.4 Using launchy 2.4.3 Using commander 4.1.6 Using faraday 0.9.2 Installing nokogiri 1.6.8 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -r ./siteconf20160803-37132-7ywjek.rb extconf.rb --use-system-libraries Using pkg-config version 1.1.7 checking if the C compiler accepts ... yes checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no Building nokogiri using system libraries. ERROR: cannot discover where libxml2 is located on your system. please make sure `pkg-config` is installed. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby --help --clean --use-system-libraries --with-zlib-dir --without-zlib-dir --with-zlib-include --without-zlib-include=${zlib-dir}/include --with-zlib-lib --without-zlib-lib=${zlib-dir}/lib --with-xml2-dir --without-xml2-dir --with-xml2-include --without-xml2-include=${xml2-dir}/include --with-xml2-lib --without-xml2-lib=${xml2-dir}/lib --with-libxml-2.0-config --without-libxml-2.0-config --with-pkg-config --without-pkg-config --with-xslt-dir --without-xslt-dir --with-xslt-include --without-xslt-include=${xslt-dir}/include --with-xslt-lib --without-xslt-lib=${xslt-dir}/lib --with-libxslt-config --without-libxslt-config --with-exslt-dir --without-exslt-dir --with-exslt-include --without-exslt-include=${exslt-dir}/include --with-exslt-lib --without-exslt-lib=${exslt-dir}/lib --with-libexslt-config --without-libexslt-config extconf failed, exit code 1 Gem files will remain installed in /Users/dan/.gem/gems/nokogiri-1.6.8 for inspection. Results logged to /Users/dan/.gem/extensions/universal-darwin-15/2.0.0/nokogiri-1.6.8/gem_make.out Using rdoc 3.12.2 Using mocha 1.1.0 Installing activesupport 5.0.0 Gem::InstallError: activesupport requires Ruby version >= 2.2.2. Using oauth2 1.0.0 An error occurred while installing nokogiri (1.6.8), and Bundler cannot continue. Make sure that `gem install nokogiri -v '1.6.8'` succeeds before bundling. BASHdan@ShuPro /Users/dan/bin/ruby/bitbucket-server-cli >>rvm use 2.2.2 Warning! PATH is not properly set up, '/Users/dan/.gem/bin' is not at first place, usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', to fix temporarily in this shell session run: 'rvm use .gem'. -bash: /Users/dan/.rvm/scripts/base: line 23: syntax error near unexpected token `}' -bash: /Users/dan/.rvm/scripts/base: line 23: `}' ruby-2.2.2 is not installed. To install do: 'rvm install ruby-2.2.2' BASHdan@ShuPro /Users/dan/bin/ruby/bitbucket-server-cli >>rvm list Warning! PATH is not properly set up, '/Users/dan/.gem/bin' is not at first place, usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', to fix temporarily in this shell session run: 'rvm use .gem'. -bash: /Users/dan/.rvm/scripts/base: line 23: syntax error near unexpected token `}' -bash: /Users/dan/.rvm/scripts/base: line 23: `}' rvm rubies ruby-2.2.2 [ x86_64 ] * ruby-2.3.0 [ x86_64 ] # => - current # =* - current && default # * - default BASHdan@ShuPro /Users/dan/bin/ruby/bitbucket-server-cli >>rvm install ruby-2.2.2 Warning! PATH is not properly set up, '/Users/dan/.gem/bin' is not at first place, usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', to fix temporarily in this shell session run: 'rvm use .gem'. -bash: /Users/dan/.rvm/scripts/base: line 23: syntax error near unexpected token `}' -bash: /Users/dan/.rvm/scripts/base: line 23: `}' find: ftsopen: No such file or directory -bash: /Users/dan/.rvm/scripts/base: line 23: syntax error near unexpected token `}' -bash: /Users/dan/.rvm/scripts/base: line 23: `}' -bash: /Users/dan/.rvm/scripts/manage: line 28: syntax error: unexpected end of file
- Log in to comment
This tool is for Bitbucket Server, not Bitbucket Cloud (which have different URL structures)