100+ results results for 'bitbucket' (124 ms)
53 STDERR.puts "**** Cross-compiled OpenSSL not found" 54 STDERR.puts "**** Run: hg clone http://bitbucket.org/ged/ruby-pg && cd ruby-pg && rake openssl_libs" 55 STDERR.puts "**************************************************************************************"pip.rb https://bitbucket.org/jimrhoskins/bam.git | Ruby | 170 lines
127 # `pip list` may be coming soon: 128 # https://bitbucket.org/ianb/pip/issue/197/option-to-show-what-version-would-be 129 @new_resource.version||'latest'data_store.rb https://bitbucket.org/cfield/metasploit-framework.git | Ruby | 312 lines
5# 6# The data store is just a bitbucket that holds keyed values. It is used 7# by various classes to hold option values and other state information.deploy.rb https://bitbucket.org/kvp/fusu.ma.git | Ruby | 141 lines
6set :application, "fusu.ma" 7set :repository, "fusuma.bitbucket.org:kvp/fusu.ma.git" 8gd.rb https://bitbucket.org/zozo123/homebrew.git | Ruby | 42 lines
4 url "http://www.libgd.org/releases/gd-2.0.36RC1.tar.gz" 5 homepage "http://bitbucket.org/pierrejoye/gd-libgd" 6 mirror "http://download.osgeo.org/mapserver/libgd/gd-2.0.36RC1.tar.gz" 8 9 head "http://bitbucket.org/pierrejoye/gd-libgd", :using => :hg 10vagrant.rb https://bitbucket.org/phinze/environmentalist.git | Ruby | 62 lines
9 set :scm, :git 10 set :repository, "https://bitbucket.org/phinze/environmentalist/" 11endapi.rb https://bitbucket.org/snishio/bitbucket-api-extension.git | Ruby | 121 lines
2 3module BitbucketApiExtension; end 4 4 5class BitbucketApiExtension::Api 6 6 7 BITBUCKET_URI = 'https://bitbucket.org' 8 BITBUCKET_API_URI = 'https://api.bitbucket.org/1.0/repositories' 24 title = request.xpath('td[@class="title"]/div/a').text 25 BitbucketApiExtension::PullRequest.new( 26 title: title, 30 request_page_url: request.xpath('td[@class="title"]/div/a') 31 .map{ |link| BITBUCKET_URI + link['href'] } 32 .firstpip.rb https://bitbucket.org/cavneb/cookbooks.git | Ruby | 146 lines
118 # `pip list` may be coming soon: 119 # https://bitbucket.org/ianb/pip/issue/197/option-to-show-what-version-would-be 120 @new_resource.version||'latest'bitbucket_adapter.rb https://bitbucket.org/daenoor/redmine_bitbucket.git | Ruby | 46 lines
2 3class BitbucketAdapter 4 9 when 'git' 10 @scm = BitbucketGit 11 when 'hg' 11 when 'hg' 12 @scm = BitbucketHg 13 else 29 30 local_root_path = Setting.plugin_redmine_bitbucket[:local_path] 31 local_url = "#{local_root_path}/#{project.identifier}/#{path}"amanda.rb https://bitbucket.org/tannermares/amanda.git | Ruby | 228 lines
157 "Powered by " + 158 a(href: "https://bitbucket.org/atog/amanda", title: "Amanda"){ "Amanda" } 159 enddeploy.rb https://bitbucket.org/channainfo/papua-new-guinea-hiv-aids.git | Ruby | 91 lines
23 24set :repository, "https://channainfo@bitbucket.org/channainfo/papua-new-guinea-hiv-aids.git" 25set :scm, :gitkeepingtracks.rb https://bitbucket.org/sea_wolf/keepingtracks-website.git | Ruby | 62 lines
11 app_subhead = "is an Android app to help you keep track of your rail journeys." 12 homepage_path = "https://bitbucket.org/sea_wolf/keepingtracks" 13 trello_url = "https://trello.com/b/0xS1MOQd"bitbucket_pullrequests https://bitbucket.org/pwkalana9/gazebo_3.1_actor_animation_fix | Ruby | 236 lines
2#/ Usage: <progname> [options]... 3#/ Get info on pull requests from gazebo's bitbucket repository 4# based on http://www.alphadevx.com/a/88-Writing-a-REST-Client-in-Ruby 15 16class BitbucketPullRequests 17 # Pull request summary 62 def initialize(options) 63 @url_pullrequests = 'https://bitbucket.org/api/2.0/repositories/osrf/gazebo/pullrequests' 64 @options = options 214 215client = BitbucketPullRequests.new(options) 216if options["list"]routes.rb https://bitbucket.org/dictav/bitbucket_issues.git | Ruby | 55 lines
1BitbucketIssues::Application.routes.draw do 2 get ':provider/auth' => redirect("/auth/%{provider}")deploy.rb https://bitbucket.org/sittitep/tabletbkk.git | Ruby | 175 lines
10set :scm, 'git' 11set :repository, "git@bitbucket.org:sittitep/tabletbkk.git" 12set :git_enable_submodules, 1 # if you have vendored railsdeploy.rb https://bitbucket.org/forbestechnosys/kms.git | Ruby | 102 lines
17set :scm, :git 18set :repository, "https://rahul_jayaraman@bitbucket.org/forbestechnosys/kms.git" 19set :branch, "master"bitbucket.rb https://bitbucket.org/pygmael/reposlanger.git | Ruby | 79 lines
4 module Providers 5 class Bitbucket 6 include Reposlanger::Provider 8 def self.api(options = {}) 9 BitBucket.new(defaults.merge(options)) 10 end 32 def clone_url 33 "git@bitbucket.org:#{api.user}/#{name}.git" 34 end 37 38 # map of bitbucket repo attributes to reposlanger metadata 39 METADATA_MAP = { 71 api.repos.get(api.user, name.downcase) && true 72 rescue BitBucket::Error::NotFound 73 puts "Bitbucket repo #{name} does not exist"import_routing_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 165 lines
90 91# status_import_bitbucket GET /import/bitbucket/status(.:format) import/bitbucket#status 92# callback_import_bitbucket GET /import/bitbucket/callback(.:format) import/bitbucket#callback 92# callback_import_bitbucket GET /import/bitbucket/callback(.:format) import/bitbucket#callback 93# jobs_import_bitbucket GET /import/bitbucket/jobs(.:format) import/bitbucket#jobs 94# import_bitbucket POST /import/bitbucket(.:format) import/bitbucket#create 94# import_bitbucket POST /import/bitbucket(.:format) import/bitbucket#create 95describe Import::BitbucketController, 'routing' do 96 it_behaves_like 'importer routing' do 97 let(:except_actions) { [:new] } 98 let(:provider) { 'bitbucket' } 99 endclient.pl https://bitbucket.org/PointDefiance/ikiwiki-tools.git | Perl | 122 lines
59while ($content =~ s/href=\"([^\"]+)\"//os) { 60 next if ( $1 =~ /^https:\/\/bitbucket/ ); # Static Link on Page Template 61 next if ( $1 =~ /^http:\/\/www\.livefyre\.com/ ); # Static Link on Page Templatebackup_on_the_go.rb https://bitbucket.org/xuhdev-backup/backup-on-the-go.git | Ruby | 245 lines
29 # * <tt>:bitbucket_password</tt> - Optional string - The password to access the BitBucket account. If not specified, a prompt will show up to ask for the password. 30 # * <tt>:bitbucket_repos_owner</tt> - Optional string - Owner of the backup repositories on BitBucket. The owner could be a team. If not specified, <tt>:bitbucket_user</tt> will be used. 31 # * <tt>:bitbucket_user</tt> - *Required* string if <tt>:user</tt> is not specified - The user name on BitBucket. If not specified, <tt>:user</tt> will be used. 39 # * <tt>:repo_prefix</tt> - Optional string - The prefix you wanna prepend to the backup repository names. In this way, if you have a repository with the same name on BitBucket, it won't get flushed. Default is <tt>"backup-on-the-go-"</tt>. 40 # * <tt>:user</tt> - *Required* string if <tt>:github_user</tt> and <tt>:bitbucket_user</tt> are not both specified - The user name of GitHub and BitBucket (if they are same for you). If you want to use different user names on GitHub and BitBucket, please specify <tt>:github_user</tt> and <tt>:bitbucket_user</tt> instead. 41 # * <tt>:verbose</tt> - Optional boolean - <tt>true</tt> to print additional information and <tt>false</tt> to suppress them. Default is <tt>true</tt>. 99 unless config.has_key?(:bitbucket_password) 100 config[:bitbucket_password] = ask("Enter your BitBucket password for #{config[:bitbucket_user]}: ") { |q| q.echo = false } 101 end 107 108 bb = BitBucket.new :login => config[:bitbucket_user], :password => config[:bitbucket_password] 109 166 cmd = "cd #{dir}/tmp-repo && " + 167 "#{config[:git_cmd]} remote add bitbucket 'https://#{config[:bitbucket_user]}:#{config[:bitbucket_password]}@bitbucket.org/#{config[:bitbucket_repos_owner]}/#{backup_repo_name}.git'" 168 puts "Executing [#{config[:git_cmd]} remote add bitbucket 'https://#{config[:bitbucket_user]}:your_password@bitbucket.org/#{config[:bitbucket_repos_owner]}/#{backup_repo_name}.git']" if config[:verbose]indexer_jobs.rb https://bitbucket.org/bjfish/indexer_jobs.git | Ruby | 176 lines
10require 'resque' 11require 'bitbucket_rest_api' 12 62 63class BitbucketJob 64 include Resque::Plugins::Status 64 include Resque::Plugins::Status 65 @queue = :bitbucket 66 76 77 bitbucket = BitBucket.new do |config| 78 config.oauth_token = token 79 config.oauth_secret = secret 80 config.client_id = ENV['BITBUCKET_API_KEY'] 81 config.client_secret = ENV['BITBUCKET_API_SECRET']makejson.pl https://bitbucket.org/haraki/mash-time-zone-converter.git | Perl | 141 lines
5# 6# https://bitbucket.org/haraki/mash-time-zone-converter 7#mskms.pl https://bitbucket.org/a30151/mikey-sakke.git | Perl | 994 lines
21 22# https://bitbucket.org/abutcher/crypt-ecdsa-gmpz.git 23use Crypt::ECDSA;deploy.rb https://bitbucket.org/soe/parasquid-cs2001.git | Ruby | 84 lines
10set :server_name, 'cs2001.parasquid.com' 11set :repository, "ssh://git@bitbucket.org/parasquid/parasquid-cs2001.git" 12set :git_enable_submodules, truebitbucketgit_hook_controller.rb https://bitbucket.org/br3dr3n/redmine-bitbucket-git.git | Ruby | 56 lines
3 4class BitbucketgitHookController < ApplicationController 5 9 payload = JSON.parse(params[:payload]) 10 logger.debug { "Received from Bitbucket: #{payload.inspect}" } 11 14 15 searchPath = Dir.getwd + '/' + Setting.plugin_redmine_bitbucketgit_hook[:bitbucketgit_dir].to_s + '/' + payload['repository']['owner'] + '_' + payload['repository']['name'] +'.git' 16 repository = Repository.find_by_url(searchPath) 20 21 # Get updates from the bitbucket repository 22 aFile = File.new(repository.url + '/config', "r") 50 def exec(command) 51 logger.info { "BitbucketGitHook: Executing command: '#{command}'" } 52 output = `#{command}`upgrade.rb https://bitbucket.org/atlassian/agent-charlie.git | Ruby | 62 lines
18 begin 19 open("https://bitbucket.org/atlassian/agent-charlie/get/#{@branch}.tar.gz") do |io| 20 51 52 # curl -o "$charlieTmp/charlie.tar.gz" "https://bitbucket.org/atlassian/agent-charlie/get/stable.tar.gz" && 53 # tar -C "$charlieRoot" -zxf "$charlieTmp/charlie.tar.gz" --strip-components 1 &&deploy.rb https://bitbucket.org/JakubOboza/genetic-algorithms.git | Ruby | 52 lines
9set :application, "genetic_algorithms" 10set :repository, "git@bitbucket.org:JakubOboza/genetic-algorithms.git" 11main.rb https://bitbucket.org/sulab/dashboard.git | Ruby | 233 lines
142 # //Get list of all public sulab repos 143 # $request = Request::factory("https://api.bitbucket.org/1.0/users/sulab/")->method('GET')->execute(); 144 # $response = json_decode( $request->body() ); 148 # //For each of the repos, get the latest commits 149 # $request = Request::factory("https://api.bitbucket.org/1.0/repositories/sulab/".$repo->slug."/changesets")->method('GET')->execute(); 150 # $response = json_decode( $request->body() ); 201 # //$site_passphrase = Kohana::$config->load('site')->get('passphrase'); 202 # //$bit_bucket_users = Kohana::$config->load('site')->get('bitbucket_users'); 203 # $crud_model = new Model_Crud(); 227 # $results = array(); 228 # $results["bitbucket"] = $this->_commits(); 229 # $results["pygenewiki"] = $this->_pygenewiki();svn-multi.pl https://bitbucket.org/clerkma/eat.git | Perl | 372 lines
8# E-mail: martin@scharrer-online.de 9# Code repository: https://bitbucket.org/martin_scharrer/svn-multi 10#deploy.rb https://bitbucket.org/shinyay/rails_capistrano_sample.git | Ruby | 126 lines
24#gitリポジトリ 25#set :repository, "git@bitbucket.org:shinyay/rails_capistrano_sample.git" 26set :repository, "https://shinyay@bitbucket.org/shinyay/rails_capistrano_sample.git"deploy.rb https://bitbucket.org/hon3y/hny_project_typo3.git | Ruby | 119 lines
7## 8## e.g. set :repo_url, 'git@bitbucket.org:hon3y/teu_18_ws_installer.git' 9## 9## 10set :repo_url, "git@bitbucket.org:<team>/<customer_abbr>_<yy>_<type>_installer.git" 11set :branch, ENV['REVISION'] || ENV['BRANCH_NAME']restExample.pl https://bitbucket.org/SaiPatel/keysight-plugins-for-atlassian-products.git | Perl | 182 lines
18 . "\n" 19 . "https://bitbucket.org/selberg/entity-authorship\n" 20 . "\n"pypy.rb https://bitbucket.org/zozo123/homebrew.git | Ruby | 95 lines
11 if MacOS.prefer_64_bit? 12 url 'https://bitbucket.org/pypy/pypy/downloads/pypy-1.8-osx64.tar.bz2' 13 version '1.8'gd.rb https://bitbucket.org/bathtub/tigerbrew.git | Ruby | 58 lines
3class Gd < Formula 4 homepage 'https://bitbucket.org/libgd/gd-libgd' 5 # libgd doesn't have their latest (non-alpha) version. 6 # When they do release a stable version, use that url. 7 # Watch this space: http://libgd.bitbucket.org/pages/downloads.html 8 url 'http://download.osgeo.org/mapserver/libgd/gd-2.0.36RC1.tar.gz' 10 11 head 'https://bitbucket.org/libgd/gd-libgd', :using => :hg 12bitbucket.rb https://bitbucket.org/KitaitiMakoto/gitpusher.git | Ruby | 63 lines
5 module Service 6 class BitBucket < Base 7 10 @user = Pit.get( 11 'bitbucket', :require => { 'user' => 'Your user name of BitBucket' } 12 )['user'] 13 @password = Pit.get( 14 'bitbucket', :require => { 'password' => 'Your user password of BitBucket' } 15 )['password'] 18 def repo(name) 19 url = sprintf 'https://api.bitbucket.org/1.0/repositories/%s/%s', @user, name 20 opt = {"Authorization" => "Basic " + Base64.encode64("#{@user}:#{@password}")} 38 puts "Creating repository #{name} on the mirror ..." 39 https = Net::HTTP.new('api.bitbucket.org', 443) 40 https.use_ssl = truedeploy.rb https://bitbucket.org/srmoscow/hanzi.git | Ruby | 71 lines
13set :application, 'hanzi' 14# set :repository, "https://srmoscow@bitbucket.org/srmoscow/hanzi.git" 15set :repository, "ssh://git@bitbucket.org/srmoscow/hanzi.git"deploy.rb https://bitbucket.org/anujan/pentakill-university.git | Ruby | 26 lines
19set :scm, "git" 20set :repository, "https://anujan@bitbucket.org/anujan/pentakill-university.git" 21set :branch, "master"deploy.rb https://bitbucket.org/h6165/seatfoo.git | Ruby | 68 lines
4set :scm, :git 5set :repository, "git@bitbucket.org:h6165/seatfoo.git" 6set :branch, "master"application.rb https://bitbucket.org/dictav/bitbucket_issues.git | Ruby | 23 lines
8 9module BitbucketIssues 10 class Application < Rails::Applicationswiss https://bitbucket.org/peddamat/swiss | Ruby | 174 lines
160 if !File.exists?('base/tooling/eclipse') 161 `cd base/tooling && hg clone https://bitbucket.org/peddamat/swiss-eclipse-tooling eclipse` 162 endtest_stash-git.rb https://bitbucket.org/penland365/stash-command-line-tools.git | Ruby | 57 lines
40 def get_remotes 41 "bitbucket git@bitbucket.org:atlassian/stash-command-line-tools.git (fetch) 42 bitbucket git@bitbucket.org:atlassian/stash-command-line-tools.git (push)bitbucket_singleton.rb https://bitbucket.org/atlassian/agent-charlie.git | Ruby | 37 lines
4 5if not Object.const_defined?('BitbucketSingleton') 6 class BitbucketSingleton < GenericLoginSingleton 8 def initialize 9 super('Bitbucket', 'Username or email') 10 end 15 :method => :get, 16 :url => 'https://bitbucket.org/api/1.0/user', 17 :user => @username, 29 30 Agent Charlie requires your Bitbucket account details so we can install your private key and check out some 31 useful tools to set up your development environment.test_stash-create-pull-request.rb https://bitbucket.org/penland365/stash-command-line-tools.git | Ruby | 30 lines
16 should "extracting project key and repo slug from non stash url raises exception" do 17 remote = "git@bitbucket.org:sebr/atlassian-stash-rubygem.git" 18 cpr = CreatePullRequest.new nildatadog.rb https://bitbucket.org/ToadJamb/forks_backup.git | Ruby | 116 lines
44 ## 45 # The source_type for the event (nagios, hudson, jenkins, user, my apps, feed, chef, puppet, git, bitbucket, fabric, capistrano) 46 attr_accessor :source_type_namedeploy.rb https://bitbucket.org/ktadokoro/2ch_summary.git | Ruby | 99 lines
27 28set :repository, 'https://ktadokoro@bitbucket.org/ktadokoro/2ch_summary.git' 29set :branch, 'master'pip.rb https://bitbucket.org/cavneb/cookbooks.git | Ruby | 38 lines
23# http://stackoverflow.com/questions/4324558/whats-the-proper-way-to-install-pip-virtualenv-and-distribute-for-python 24# https://bitbucket.org/ianb/pip/issue/104/pip-uninstall-on-ubuntu-linux 25remote_file "#{Chef::Config[:file_cache_path]}/distribute_setup.py" dodeploy.rb https://bitbucket.org/brucemakallan/uganda-swimming-federation.git | Ruby | 92 lines
14set :deploy_to, "/home/#{fetch(:user)}/app" 15set :repository, 'https://brucemakallan@bitbucket.org/brucemakallan/uganda-swimming-federation.git' 16set :branch, 'master'bitbucket_service_controller.rb https://bitbucket.org/daenoor/redmine_bitbucket.git | Ruby | 27 lines
2 3class BitbucketServiceController < ApplicationController 4 unloadable 8 def index 9 bitbucket = BitbucketService.new 10 10 11 unless bitbucket.service_enabled? && bitbucket.valid_key?(params[:key]) 12 return render :nothing => true, :status => 404 14 15 result = bitbucket.find_and_update_repository(params[:project_id], params[:payload]) 16 17 if result.nil? 18 logger.debug { "BitbucketPlugin: Invalid repository" } 19 return render :nothing => true, :status => 500pypy3.rb https://bitbucket.org/JoshHagins/homebrew.git | Ruby | 138 lines
4 homepage "http://pypy.org/" 5 url "https://bitbucket.org/pypy/pypy/downloads/pypy3-2.4.0-src.tar.bz2" 6 sha1 "438572443ae6f54eb6122d807f104787c5247e01"deploy.rb https://bitbucket.org/blazetango/jiffeez.git | Ruby | 57 lines
1set :application, "jiffeez1" 2set :repository, "git@bitbucket.org:blazetango/jiffeez.git" 3set :scm, :gitdeploy.rb https://bitbucket.org/shinyay/chef_rails_template.git | Ruby | 52 lines
8set :scm, :git 9#set :repository, "https://shinyay@bitbucket.org/shinyay/chef_rails_template.git" 10set :repository, "."php54-ev.rb https://bitbucket.org/mkalkbrenner/homebrew-php.git | Ruby | 25 lines
7 sha1 '9b818ac6f23994f8b53cc164f65bf649d4562c9c' 8 head 'https://bitbucket.org/osmanov/pecl-ev.git' 9metadata.rb https://bitbucket.org/izovskih/devops-5_summer2018.git | Ruby | 26 lines
16# issues_url 'https://github.com/<insert_org_here>/final-ha-deploy/issues' 17issues_url 'https://bitbucket.org/izovskih/devops-5_summer2018/src/master/A_Iazovskikh/chef-repo/' 18 23# source_url 'https://github.com/<insert_org_here>/final-ha-deploy' 24source_url 'https://bitbucket.org/izovskih/devops-5_summer2018/src/master/A_Iazovskikh/chef-repo/' 25bbnew https://bitbucket.org/designermonkey/bbnew | Ruby | 89 lines
27 28 opts.on('-p', '--pass password', 'BitBucket password') do |pass| 29 config["pass"] = pass 56 57 config['conf'] ||= "~/.bitbucket" 58 if File.exist?(File.expand_path config['conf']) 65 66 uri = URI.parse('https://api.bitbucket.org/1.0/repositories/') 67 71 72 # uses BitBucket password, not SSH password 73 req.basic_auth( 81 when Net::HTTPSuccess, Net::HTTPRedirection 82 system `hg clone ssh://hg@bitbucket.org/#{ 83 config['user']deploy.rb https://bitbucket.org/Inomoz/inomoz-bp.git | Ruby | 34 lines
15set :scm, :git 16set :repository, "git@bitbucket.org:inomoz/inomoz-bp.git"; 17set :deploy_via, :remote_cacheatlassian-avatar-sync.pl https://bitbucket.org/taqueci/atlassian-avatar-sync.git | Perl | 770 lines
3atlassian-avatar-sync.pl - copies avatar pictures from JIRA to Confluence or 4Bitbucket 5 8 perl atlassian-avatar-sync.pl [OPTION] ... URL_CONFLUENCE URL_JIRA [TARGET_USER] ... 9 perl atlassian-avatar-sync.pl --bitbucket [OPTION] ... URL_BITBUCKET URL_JIRA [TARGET_USER] ... 10 23 24Use USER for authentication of Confluence or Bitbucket. 25 27 28Use PASSWORD for authentication of Confluence or Bitbucket. 29 104 105 my $to = $opt{bitbucket} ? 'Bitbucket' : 'Confluence'; 106DefaultMatcher.pm https://bitbucket.org/exussum/pockito | Perl | 166 lines
146 147http://bitbucket.org/exussum/pockito/ 148upload_bitbucket_keys.rb https://bitbucket.org/atlassian/agent-charlie.git | Ruby | 68 lines
4 5Puppet::Type.newtype(:upload_bitbucket_keys) do 6 @doc = "Uploads your private key to Bitbucket" 22 :method => :get, 23 :url => "https://bitbucket.org/api/1.0/user", 24 :user => self.resource[:username], 33 :method => :post, 34 :url => "https://bitbucket.org/api/1.0/users/#{real_username}/ssh-keys", 35 :user => real_username, 60 newparam(:username) do 61 desc "Your bitbucket username" 62 end 64 newparam(:password) do 65 desc "Your bitbucket password" 66 endsecret_token.rb https://bitbucket.org/dictav/bitbucket_issues.git | Ruby | 12 lines
11# if you're sharing your code publicly. 12BitbucketIssues::Application.config.secret_key_base = '3d559b3d03580e743d691f570a8f385a24cc4d28023e0756181b611edd4604e78501e1c2e22826132f8b63ff386c90256ea5d4660dd142db641a9dbf8f2731d9' 13repository_observer.rb https://bitbucket.org/br3dr3n/redmine-bitbucket-git.git | Ruby | 34 lines
2# CREATE DIR Manually 3# KNOWN Problem: Changing BitBucket Git Dir in use 4# KNOWN Problem: Two Repositorys with the same name from different users 6 def before_save(repository) 7 if repository.type == 'Git' && repository.url.match('.*bitbucket.org.*') 8 base_dir_name = repository.url[/[^\/]+.git/] 11 user = user[1] 12 git_dir = Setting.plugin_redmine_bitbucketgit_hook[:bitbucketgit_dir].to_s 13 git_dir = git_dir + '/' + user + '_' + base_dir_name 28 def exec(command) 29 p "BitbucketGitHook: Executing command: '#{command}'" 30 output = `#{command}` 30 output = `#{command}` 31 p "BitbucketGitHook: Shell returned '#{output}'" 32 endbitbucket_worker.rb https://bitbucket.org/daenoor/redmine_bitbucket.git | Ruby | 27 lines
1class BitbucketWorker 2 @queue = :bitbucket 5 project = find_project(project_id) 6 adapter = BitbucketAdapter.new(payload) 7home_controller.rb https://bitbucket.org/joevans/dealer-utility.git | Ruby | 195 lines
155 def activity 156 @rss_feed = "https://bitbucket.org/joevans/dealer-utility/rss?token=070e2d25e60d2df4f6d250d9ac7f52c0" 157 endimporter.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 258 lines
1module Gitlab 2 module BitbucketImport 3 class Importer 14 @project = project 15 @client = Bitbucket::Client.new(project.import_data.credentials) 16 @formatter = Gitlab::ImportFormatter.new 52 .joins(:identities) 53 .find_by("identities.extern_uid = ? AND identities.provider = 'bitbucket'", username) 54 .try(:id) 194 195 # The Bitbucket API returns threaded replies as parent-child 196 # relationships. We assume that the child can appear in any order inbitbucket_hook_controller_test.rb https://bitbucket.org/br3dr3n/redmine-bitbucket-git.git | Ruby | 102 lines
4 5class BitbucketHookControllerTest < ActionController::TestCase 6 7 def setup 8 # Sample JSON post from http://confluence.atlassian.com/display/BBDEV/Writing+Brokers+for+Bitbucket#the-payload 9 @json = <<-EOF 21 "size": 684}], 22 "repository": { "absolute_url": "/jespern/bitbucket/", 23 "name": "bitbucket", 24 "owner": "jespern", 25 "slug": "bitbucket", 26 "website": "http://bitbucket.org/"}, 33 @project.stubs(:repository).returns(@repository) 34 Project.stubs(:find_by_identifier).with('bitbucket').returns(@project) 35 @controller = BitbucketHookController.newtests_description.txt.rb https://bitbucket.org/boris_pilgun/test_for_david.git | Ruby | 270 lines
3 4Application is available here for public access: https://bitbucket.org/boris_pilgun/test_for_david/overview 5system_command.rb https://bitbucket.org/daenoor/redmine_bitbucket.git | Ruby | 26 lines
3 def self.exec(command) 4 logger.debug { "BitbucketPlugin: Executing command: '#{command}'" } 5 6 # Get a path to a temp file 7 logfile = Tempfile.new('bitbucket_plugin_exec') 8 logfile.close 12 if success 13 logger.debug { "BitbucketPlugin: Command output: #{output_from_command.inspect}"} 14 else 14 else 15 logger.error { "BitbucketPlugin: Command '#{command}' didn't exit properly. Full output: #{output_from_command.inspect}"} 16 enddeploy.rb https://bitbucket.org/ciaranc78/myapp_fork.git | Ruby | 44 lines
4set :application, "myapp" 5set :repo_url, "git@bitbucket.org:ciaranc78/myapp_fork.git" 6repository_observer.rb https://bitbucket.org/Avalarion/redmine-bitbucket-git.git | Ruby | 34 lines
2# CREATE DIR Manually 3# KNOWN Problem: Changing BitBucket Git Dir in use 4# KNOWN Problem: Two Repositorys with the same name from different users 6 def before_save(repository) 7 if repository.type == 'Repository::Git' && repository.url.match('.*bitbucket.org.*') 8 base_dir_name = repository.url[/[^\/]+.git/] 11 user = user[1] 12 git_dir = Setting.plugin_redmine_bitbucket_git[:bitbucketgit_dir].to_s 13 git_dir = git_dir + '/' + user + '_' + base_dir_name 28 def exec(command) 29 p "BitbucketGitHook: Executing command: '#{command}'" 30 output = `#{command}` 30 output = `#{command}` 31 p "BitbucketGitHook: Shell returned '#{output}'" 32 enddmd-script https://bitbucket.org/goshawk/gdc/ | Perl | 715 lines
106 http://dgcc.sourceforge.net/ 107 http://bitbucket.org/goshawk/gdc/wiki/Home 108Usage: 462 } elsif ($arg eq '-man') { 463 browse("http://bitbucket.org/goshawk/gdc/wiki/UserDocumentation"); 464 exit 0;notify_eagle_sms.pl https://bitbucket.org/proximus/smseagle-nagios.git | Perl | 69 lines
18# README file and the latest version of this plugin can be found on: 19# https://bitbucket.org/proximus/smseagle-nagios 20#deploy.rb https://bitbucket.org/renekluehe/zfm.git | Ruby | 58 lines
6set :application, "zfm" 7set :repo_url, "git@bitbucket.org:renekluehe/zfm.git" 8oauth_login_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 120 lines
15 16 providers = [:github, :twitter, :bitbucket, :gitlab, :google_oauth2, 17 :facebook, :cas3, :auth0, :authentiq]deploy.rb https://bitbucket.org/dmptool/dmptool2.git | Ruby | 32 lines
5set :application, 'dmptool2' 6set :repository, 'git@bitbucket.org:dmptool/dmptool2.git' 7pypy.rb https://bitbucket.org/bathtub/tigerbrew.git | Ruby | 90 lines
9 homepage 'http://pypy.org/' 10 url 'https://bitbucket.org/pypy/pypy/downloads/pypy-2.0.2-osx64.tar.bz2' 11 version '2.0.2'bitbucket_git.rb https://bitbucket.org/daenoor/redmine_bitbucket.git | Ruby | 25 lines
1class BitbucketGit < SystemCommand 2 17 18 # Clone repository from Bitbucket 19 def self.clone_repository(path, local_url) 19 def self.clone_repository(path, local_url) 20 remote_url = "git@bitbucket.org:#{path}.git" 21 command = GIT_BIN + " clone --mirror #{remote_url} #{local_url}"bitbucket_hook_controller.rb https://bitbucket.org/nolith/redmine_bitbucket_hook | Ruby | 57 lines
2 3class BitbucketHookController < ApplicationController 4 8 payload = JSON.parse(params[:payload]) 9 logger.debug { "Received from Bitbucket: #{payload.inspect}" } 10 18 raise TypeError, "Project '#{identifier}' has no repository" if repository.nil? 19 raise TypeError, "Repository for project '#{identifier}' is not a BitBucket repository" unless repository.is_a?(Repository::Mercurial) || repository.is_a?(Repository::Git) 20 20 21 # Get updates from the bitbucket repository 22 if repository.is_a?(Repository::Git) 37 def exec(command) 38 logger.info { "BitbucketHook: Executing command: '#{command}'" } 39 output = Kernel.system("#{command}")install_extension.pl https://bitbucket.org/Mekk/schemingmind_tuning | Perl | 67 lines
64systemx("ssh", "linode.mekk.waw.pl", "cd www_download/smtuning/; ln -sf $remote_xpi_name smtuning.xpi; ln -sf $remote_rdf_name update.rdf"); 65#system("hg push bitbucket"); 66systemx("hg", "push", "bitssh");development.rb https://bitbucket.org/dictav/bitbucket_issues.git | Ruby | 29 lines
1BitbucketIssues::Application.configure do 2 # Settings specified here will take precedence over those in config/application.rb.issues_controller.rb https://bitbucket.org/dictav/bitbucket_issues.git | Ruby | 42 lines
30 def issues 31 c = OAuth::Consumer.new(ENV['BITBUCKET_KEY'], ENV['BITBUCKET_SECRET'], :site => 'https://bitbucket.org/api/1.0') 32deploy.rb https://bitbucket.org/anujan/lolfantasy.git | Ruby | 26 lines
19set :scm, "git" 20set :repository, "https://anujan@bitbucket.org/anujan/lolfantasy.git" 21set :branch, "master"dev.rb https://bitbucket.org/dgieselaar/zaaksysteem.git | Ruby | 40 lines
25 "queue" => { 26 "repository" => "https://bitbucket.org/mintlab/zaaksysteem-queue.git" 27 }deploy.rb https://bitbucket.org/stg_palomino/dev_ops_workshop.git | Ruby | 57 lines
4set :application, "workshop" 5set :repo_url, "git@bitbucket.org:stg_palomino/dev_ops_workshop.git" 6auth.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 306 lines
17 def omniauth_customized_providers 18 @omniauth_customized_providers ||= %w[bitbucket jwt] 19 endpypy.rb https://bitbucket.org/JoshHagins/homebrew.git | Ruby | 140 lines
4 homepage "http://pypy.org/" 5 url "https://bitbucket.org/pypy/pypy/downloads/pypy-2.4.0-src.tar.bz2" 6 sha1 "e2e0bcf8457c0ae5a24f126a60aa921dabfe60fb"deploy.rb https://bitbucket.org/mintao/yii-boilerplate.git | Ruby | 57 lines
1set :repository, "bitbucket.org:/mintao/#{application}" 2#set :scm_verbose, trueauth_helper.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 76 lines
1module AuthHelper 2 PROVIDERS_WITH_ICONS = %w(twitter github gitlab bitbucket google_oauth2 facebook azure_oauth2 authentiq).freeze 3 LDAP_PROVIDER = /\Aldap/new_project_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 196 lines
20 expect(page).to have_link('GitHub') 21 expect(page).to have_link('Bitbucket') 22 expect(page).to have_link('GitLab.com')install-deps.pl https://bitbucket.org/a30151/mikey-sakke.git | Perl | 62 lines
56my $ecdsa_dir = "$build_dir/Crypt-ECDSA-ajb1"; 57system(qq|git clone https://bitbucket.org/abutcher/crypt-ecdsa-gmpz.git $ecdsa_dir|) if not -x $ecdsa_dir; 58chdir $ecdsa_dir;bitbucket_service.rb https://bitbucket.org/daenoor/redmine_bitbucket.git | Ruby | 36 lines
1class BitbucketService 2 def service_enabled? 2 def service_enabled? 3 Setting.plugin_redmine_bitbucket[:service_enabled] 4 end 6 def valid_key?(key) 7 setting_key = Setting.plugin_redmine_bitbucket[:service_key] 8 return true if setting_key.to_s=='' 20 project = find_project(project_id) 21 adapter = BitbucketAdapter.new(payload) 22 repository = project.repositories.find_by_identifier(adapter.identifier) 24 if repository 25 Resque.enqueue(BitbucketWorker, 'update', project_id, payload) 26 26 27 elsif Setting.plugin_redmine_bitbucket[:auto_create] 28 Resque.enqueue(BitbucketWorker, 'create', project_id, payload)deploy.rb https://bitbucket.org/panharabit/codehub.git | Ruby | 77 lines
53 54set :repo_url, 'https://panharabit@bitbucket.org/panharabit/codehub.git' 55# ask :branch, `git rev-parse --abbrev-ref HEAD`.chompbitbucket_controller_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 311 lines
89 before do 90 allow_any_instance_of(Bitbucket::Client).to receive(:repo).and_return(bitbucket_repo) 91 allow_any_instance_of(Bitbucket::Client).to receive(:user).and_return(bitbucket_user) 130 expect(Gitlab::BitbucketImport::ProjectCreator) 131 .to receive(:new).with(bitbucket_repo, bitbucket_repo.name, user.namespace, user, access_params) 132 .and_return(double(execute: project)) 166 expect(Gitlab::BitbucketImport::ProjectCreator) 167 .to receive(:new).with(bitbucket_repo, bitbucket_repo.name, existing_namespace, user, access_params) 168 .and_return(double(execute: project)) 194 expect(Gitlab::BitbucketImport::ProjectCreator) 195 .to receive(:new).with(bitbucket_repo, bitbucket_repo.name, an_instance_of(Group), user, access_params) 196 .and_return(double(execute: project)) 215 expect(Gitlab::BitbucketImport::ProjectCreator) 216 .to receive(:new).with(bitbucket_repo, bitbucket_repo.name, user.namespace, user, access_params) 217 .and_return(double(execute: project))vera++.rb https://bitbucket.org/bathtub/tigerbrew.git | Ruby | 30 lines
4class VeraMan < Formula 5 url 'https://bitbucket.org/verateam/vera/downloads/vera++-1.2.1-doc.tar.gz' 6 sha1 'fce30676c815b99aa66d25c9dfbd2eda2c74bd7a' 9class Veraxx < Formula 10 homepage 'https://bitbucket.org/verateam/vera' 11 url 'https://bitbucket.org/verateam/vera/downloads/vera++-1.2.1.tar.gz'test_stash-create-pull-request.rb https://bitbucket.org/atlassian/stash-command-line-tools.git | Ruby | 65 lines
16 should "extracting project key and repo slug from non stash url raises exception" do 17 remote = "git@bitbucket.org:sebr/atlassian-stash-rubygem.git" 18 cpr = CreatePullRequest.new nilruntests https://bitbucket.org/wez/mtrack/ | Perl | 368 lines
71 # you need "nocrap" for coverage data 72 # https://bitbucket.org/wez/nocrap/ 73 $ENV{INCUB_COVERAGE} = $nocrap;deploy.rb https://bitbucket.org/zachmakesu/blgf-copy.git | Ruby | 81 lines
5set :application, 'blgf' 6set :repo_url, 'git@bitbucket.org:gorated/blgf.git' 7font-awesome-migrator.rb https://bitbucket.org/tiu/font-awesome-migrator.git | Ruby | 353 lines
41 'bell-slash-o' => { new_class: 'bell-slash', prefix: 'far' }, 42 'bitbucket-square' => { new_class: 'bitbucket', prefix: 'fab' }, 43 'bitcoin' => { new_class: 'btc', prefix: 'fab' },deploy.rb https://bitbucket.org/emagid/eisenberg_barmitzvah.git | Ruby | 85 lines
4set :application, 'american_grown' 5set :repo_url, 'git@bitbucket.org:emagid/americangrowndiamonds.git' 6 45 execute :git, "init" 46 execute :git, "submodule add git@bitbucket.org:emagid/emagidphp.git libs/Emagid" 47 within "libs/Emagid" dobackup.rb https://bitbucket.org/mariusmarais/bitbucket-backup | Ruby | 79 lines
3 4module Bitbucket 5 module Backup 8 # @param [String] username 9 # the Bitbucket username of the user to backup repos for. 10 # 28 if repo["owner"] == username 29 Bitbucket::Backup::Repository.new(repo, password, backup_root).backup 30 end 55 def self.get_repo_list(username, password) 56 uri = URI.parse("https://api.bitbucket.org/1.0/user/repositories/") 57bitbucket_hook_controller.rb https://bitbucket.org/nolith/redmine-bitbucket/ | Ruby | 40 lines
2 3class BitbucketHookController < ApplicationController 4 8 payload = JSON.parse(params[:payload]) 9 logger.debug { "Received from Bitbucket: #{payload.inspect}" } 10 20 21 # Get updates from the bitbucket repository 22 command = "cd \"#{repository.url}\" && hg pull" 33 def exec(command) 34 logger.info { "BitbucketHook: Executing command: '#{command}'" } 35 output = `#{command}` 35 output = `#{command}` 36 logger.info { "BitbucketHook: Shell returned '#{output}'" } 37 endapplication_controller.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 382 lines
32 helper_method :can? 33 helper_method :import_sources_enabled?, :github_import_enabled?, :gitea_import_enabled?, :github_import_configured?, :gitlab_import_enabled?, :gitlab_import_configured?, :bitbucket_import_enabled?, :bitbucket_import_configured?, :google_code_import_enabled?, :fogbugz_import_enabled?, :git_import_enabled?, :gitlab_project_import_enabled? 34 318 319 def bitbucket_import_enabled? 320 Gitlab::CurrentSettings.import_sources.include?('bitbucket') 322 323 def bitbucket_import_configured? 324 Gitlab::Auth::OAuth::Provider.enabled?(:bitbucket)deploy.rb https://bitbucket.org/JayFunk/fam-academy.git | Ruby | 125 lines
43 44set :repo_url, 'git@bitbucket.org:JayFunk/fam-academy.git' 45set :application, 'fam-academy'tag_release.pl https://bitbucket.org/kim_rutherford/pomcur.git | Perl | 126 lines
4# version number (eg. v321) and then push the changes to GitHub 5# and Bitbucket 6 118 119print "pushing to Bitbucket\n"; 120system "git push --tags bitb master";import_service_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 189 lines
97 before do 98 project.import_url = 'https://bitbucket.org/vim/vim.git' 99 project.import_type = 'bitbucket' 103 expect_any_instance_of(Gitlab::Shell).to receive(:import_repository).and_return(true) 104 expect_any_instance_of(Gitlab::BitbucketImport::Importer).to receive(:execute).and_return(true) 105Exercitus_romanorum.rb https://bitbucket.org/mfocella/nota_nuc.git | Ruby | 604 lines
20 21 This is an ongoing project and I would love to hear any comments you may have. You can e-mail any ideas, opinions or thoughts here: fakemail@google.com This project is called nota_bene and can be found on bitbucket.org which is where you can can post any bug reports, contribute or fork the project. 22 22 23https://bitbucket.org/mfocella/nota_nuc" 24deploy.rb https://bitbucket.org/akshay-borade/kinecthub.git | Ruby | 93 lines
15set :deploy_to, '/var/www/kinect.com' 16set :repository, 'git@bitbucket.org:akshay-borade/kinecthub.git' 17set :branch, 'master'Build.PL https://bitbucket.org/csjewell/task-perl-dist-strawberry | Perl | 87 lines
79 bugtracker => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Perl-Dist-Strawberry', 80 repository => 'http://bitbucket.com/csjewell/task-perl-dist-strawberry' 81 },deploy.rb https://bitbucket.org/reffect/barkalla_rails.git | Ruby | 47 lines
4set :application, "barkalla_rails" 5set :repo_url, "git@bitbucket.org:reffect/barkalla_rails.git" 6Build.PL https://bitbucket.org/Mekk/perl-keyring-osxkeychain | Perl | 68 lines
59 license => 'http://dev.perl.org/licenses/', 60 homepage => 'http://bitbucket.org/Mekk/perl-keyring-osxkeychain', 61 repository => 'http://bitbucket.org/Mekk/perl-keyring-osxkeychain', 61 repository => 'http://bitbucket.org/Mekk/perl-keyring-osxkeychain', 62 bugtracker => 'https://bitbucket.org/Mekk/perl-keyring-osxkeychain/issues', 63 },deploy.rb https://bitbucket.org/seatecnologia/mj-concurso-sindec.git | Ruby | 124 lines
10set :application, "Qu?o fundo?" 11set :repository, "https://bitbucket.org/seatecnologia/mj-concurso-sindec" 12set :keep_releases, 320160302152808_remove_wrong_import_url_from_projects.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 138 lines
21 22 # This should cover GitHub, GitLab, Bitbucket user:password, token@domain, and other similar URLs. 23 in_transaction(message: "Projects including GitHub and GitLab projects with an unsecured URL.") { process_projects_with_wrong_url } 24 25 in_transaction(message: "Migrating Bitbucket credentials...") { process_project(import_type: 'bitbucket', credentials_keys: ['bb_session']) } 26deploy.rb https://bitbucket.org/meta_cms/test10.git | Ruby | 132 lines
6set :scm, :git 7set :repository, "git@bitbucket.org:meta_cms/#{application}.git" 8set :branch, "master" 44namespace :metacms do 45 desc "Creates Bitbucket repro and grants permissions" 46 task :bitbucket do 46 task :bitbucket do 47 run_locally "curl --request POST --user meta_cms:kumeta2012 https://api.bitbucket.org/1.0/repositories/ --data name=#{application} --data scm=git" 48 run_locally "curl --request PUT --user meta_cms:kumeta2012 https://api.bitbucket.org/1.0/privileges/meta_cms/#{application}/innomind --data write" 48 run_locally "curl --request PUT --user meta_cms:kumeta2012 https://api.bitbucket.org/1.0/privileges/meta_cms/#{application}/innomind --data write" 49 run_locally "curl --request PUT --user meta_cms:kumeta2012 https://api.bitbucket.org/1.0/privileges/meta_cms/#{application}/pwesner --data admin" 50 if run_locally("git remote") =~ /origin/ 52 else 53 run_locally "git remote add origin ssh://git@bitbucket.org/meta_cms/#{application}.git" 54 run_locally "git push -u origin master"project_creator_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 36 lines
2 3describe Gitlab::BitbucketImport::ProjectCreator do 4 let(:user) { create(:user) } 13 visibility_level: Gitlab::VisibilityLevel::PRIVATE, 14 clone_url: 'ssh://git@bitbucket.org/asd/vim.git', 15 has_wiki?: false) 20 let(:secret) { "sekrettt" } 21 let(:access_params) { { bitbucket_access_token: token, bitbucket_access_token_secret: secret } } 22 32 33 expect(project.import_url).to eq("ssh://git@bitbucket.org/asd/vim.git") 34 expect(project.visibility_level).to eq(Gitlab::VisibilityLevel::PRIVATE)sqlite3manager.rb https://bitbucket.org/jjhop/sqlite3manager | Ruby | 216 lines
16# 17# http://bitbucket.org/jjhop/sqlite3manager/overview/ 18# http://bitbucket.org/jjhop/sqlite3manager/wiki/Home 149 ie.visible = true 150 ie.navigate('http://bitbucket.org/jjhop/sqlite3manager/') 151 endconnection.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 67 lines
1module Bitbucket 2 class Connection 3 DEFAULT_API_VERSION = '2.0'.freeze 4 DEFAULT_BASE_URI = 'https://api.bitbucket.org/'.freeze 5 DEFAULT_QUERY = {}.freeze 59 def provider 60 Gitlab::Auth::OAuth::Provider.config_for('bitbucket') 61 end 63 def options 64 OmniAuth::Strategies::Bitbucket.default_options[:client_options].deep_symbolize_keys 65 enddeploy.rb https://bitbucket.org/funollet/gurb-platform.git | Ruby | 63 lines
3set :application, "gurb-app" 4set :repository, "ssh://git@bitbucket.org/funollet/gurb-platform.git" 5set :repository, "https://funollet@bitbucket.org/funollet/gurb-platform.git"deploy.rb https://bitbucket.org/solovievga/drillsystem.git | Ruby | 92 lines
6set :application, application 7set :repo_url, "git@bitbucket.org:solovievga/drillsystem.git" 8set :user, userbitbucket-backup https://bitbucket.org/seth/bitbucket-backup | Ruby | 72 lines
3require "highline/import" 4require "bitbucket-backup" 5require "optparse" 32 opts.on("-v", "--version", "Display the program's version and exit.") do 33 puts "#{cmd} (version #{Bitbucket::Backup::VERSION})" 34 exit 70 71Bitbucket::Backup.run(config["username"], config["password"], ARGV.first, config["all_repos"] || false) 72deploy.rb https://bitbucket.org/fearlessstar/digitalheroes_startkit.git | Ruby | 377 lines
8set :application, CONFIG[:conf][:vars][:cap_application] 9set :repo_url, "git@bitbucket.org:slowpokesfrommoscow/#{fetch :application}.git" 10# set :repo_url, 'git@example.com:me/my_repo.git'Widget.pm https://bitbucket.org/lichtkind/tie-wx-widget | Perl | 186 lines
162 163L<http://bitbucket.org/lichtkind/tie-wx-widget> 164deploy.rb https://bitbucket.org/cmolikl/sfinx.git | Ruby | 40 lines
5set :scm, :git 6set :repo_url, "git@bitbucket.org:cmolikl/sfinx.git" 7deploy.rb https://bitbucket.org/elena_palutova/medgorod_rails.git | Ruby | 105 lines
18set :deploy_to, '/home/medgorodror/www/medgorod_ror' 19set :repository, 'git@bitbucket.org:elena_palutova/medgorod_rails.git' 20set :branch, 'master'accounts_controller_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 47 lines
31 32 [:twitter, :facebook, :google_oauth2, :gitlab, :github, :bitbucket, :crowd, :auth0, :authentiq].each do |provider| 33 describe "#{provider} provider" dodeploy.rb https://bitbucket.org/upcodeacademy/hdbnb.git | Ruby | 84 lines
2 3set :repo_url, 'git@bitbucket.org:upcodeacademy/hdbnb.git' 4set :application, 'hdbnb'deploy.rb https://bitbucket.org/pavana21/socialloginapplication.git | Ruby | 114 lines
7set :application, "SocialLoginApp" 8set :repository, "git@bitbucket.org:pavana21/socialloginapplication.git" 9git2bit.rb https://bitbucket.org/ckirby/git2bit.git | Ruby | 133 lines
9 10# Possible values from BitBucket 11BB_STATUS = ['new','open','resolved','on hold','invalid','duplicate','wontfix'] 62# Connect to BitBucket 63bitbucket = BitBucket.new :basic_auth => "#{bb_user}:#{bb_pass}", :user => bb_user, :repo => bb_repo 64# Store Milestones to search upon later on 65bb_milestones = Array.new 66bitbucket.issues.milestones.list(bb_owner, bb_repo).each {|m| bb_milestones.push m.name} 67# Store Components to search upon later on 68bb_components = Array.new 69bitbucket.issues.components.list(bb_owner, bb_repo).each {|c| bb_components.push c.name} 70 85 # If there is a milestone and it does not already exist, then create it 86 milestone = bitbucket.issues.milestones.create bb_owner, bb_repo, { :name => issue.milestone.title } 87 # Add new milestone to array so its not created againsuspence_dao.rb https://bitbucket.org/jjhop/mycash | Ruby | 65 lines
14# 15# http://bitbucket.org/jjhop/mycash/overview/ 16# http://bitbucket.org/jjhop/mycash/wiki/Homedeploy.rb https://bitbucket.org/jklina/fixelpuckers | Ruby | 93 lines
13set :scm, :mercurial 14set :repository, "ssh://hg@bitbucket.org/jklina/fixelpuckers/" 15deploy.rb https://bitbucket.org/dpxlogistic/digitalefs.git | Ruby | 33 lines
4set :application, 'digitalefs' 5set :repo_url, 'git@bitbucket.org:dpxlogistic/digitalefs.git' 6deploy.rb https://bitbucket.org/teufels/hive_boilerplate_v2.git | Ruby | 69 lines
7## 8## e.g. set :repo_url, 'git@bitbucket.org:teufels/teu_18_ws_installer.git' 9## 9## 10set :repo_url, "git@bitbucket.org:<team>/<customer_abbr>_<yy>_<type>_installer.git" 11set :branch, ENV['REVISION'] || ENV['BRANCH_NAME']deploy.rb https://bitbucket.org/qoden-vtikhomirov/my-site.git | Ruby | 34 lines
7set :application, 'studiomobile.ru' 8set :repo_url, 'git@bitbucket.org:efpies/studiomobile-site.git' 9set :deploy_to, -> { "/home/#{fetch :user}/#{fetch :application}/#{fetch :rails_env}" }deploy.rb https://bitbucket.org/instedd/watchfire | Ruby | 45 lines
9set :application, "watchfire" 10set :repository, "https://bitbucket.org/instedd/watchfire" 11set :scm, :mercurialdeploy.rb https://bitbucket.org/zachmakesu/dentasked-copy.git | Ruby | 125 lines
1set :application, "dentasked" 2set :repo_url, "git@bitbucket.org:gorated/dentasked.git" 3pypy.rb https://bitbucket.org/cocoatomo/homebrew.git | Ruby | 92 lines
9 homepage 'http://pypy.org/' 10 url 'https://bitbucket.org/pypy/pypy/downloads/pypy-2.1-osx64.tar.bz2' 11 version '2.1.0'deploy.rb https://bitbucket.org/xinming/knowledge_base.git | Ruby | 88 lines
11set :application, "#{application_name}_#{rails_env}" 12set :repository, "git@bitbucket.org:xinming/knowledge_base.git" 13youtube-get https://bitbucket.org/winstonsmith1913/youtube-get | Perl | 108 lines
13# 14# I wrote this script in response to: http://bitbucket.org/rg3/youtube-dl/issue/44/channel-user-download-support 15# When it came time to upload it I found that there was already a fork of youtube-dl that included channel support.outgoing.rb https://bitbucket.org/casualjim/amp | Ruby | 62 lines
39 # reverse the order, because the newest are usually last 40 # this is noticed if you get bitbucket email notifications 41 o.reverse! if opts[:"newest-first"]bitbucket.rb https://bitbucket.org/joeworkman/git2bit.git | Ruby | 146 lines
1require 'date' 2require 'bitbucket_rest_api' 3require 'methadone' 5module Git2bit 6 class BitbucketProxy 7 include Methadone::Main 11 12 # Possible values from BitBucket 13 STATUS = ['new','open','resolved','on hold','invalid','duplicate','wontfix'] 27 28 # Connect to BitBucket 29 begin 29 begin 30 @conn = BitBucket.new :basic_auth => "#{@user}:#{args[:pass]}", :user => @user, :repo => @repo 31Build.PL https://bitbucket.org/shlomif/abc-path | Perl | 61 lines
38 { 39 repository => "http://bitbucket.org/shlomif/abc-path", 40 homepage => "http://www.shlomifish.org/open-source/projects/japanese-puzzle-games/abc-path/",pure.rb https://bitbucket.org/bathtub/tigerbrew.git | Ruby | 29 lines
3class PureDocs < Formula 4 url 'https://bitbucket.org/purelang/pure-lang/downloads/pure-docs-0.57.tar.gz' 5 sha1 '7f2c6051b831d3de887f2182e8b29b1716ab45fd' 8class Pure < Formula 9 homepage 'http://purelang.bitbucket.org/' 10 url 'https://bitbucket.org/purelang/pure-lang/downloads/pure-0.57.tar.gz'deploy.rb https://bitbucket.org/gastergaster/forumregis.git | Ruby | 44 lines
4set :application, "ForumRegis" 5set :repo_url, 'https://gastergaster@bitbucket.org/gastergaster/forumregis.git' 6custom_app.rb https://bitbucket.org/jeffsouza/teste.git | Ruby | 199 lines
2 3repo = 'https://bitbucket.org/jeffsouza/teste/raw/4741e5e6a033fe9093b1efd93d229f9b1f62fef7/' 4CSJEWELL.pm https://bitbucket.org/csjewell/dist-zilla-belike-csjewell | Perl | 146 lines
92This module does not know how to automatically handle any Mercurial servers 93other than bitbucket.org, or any other VCS or DVCS server at the moment. 94routes.rb https://bitbucket.org/bjfish/indexer.git | Ruby | 102 lines
34 35 #match 'integrations/bitbucket' => 'integrations#bitbucket' 36 #match 'integrations/trello' => 'integrations#trello'HG.pm https://bitbucket.org/code4pay/padre-plugin-hg | Perl | 598 lines
57you can clone this project it self with 58"hg clone https://code4pay@bitbucket.org/code4pay/padre-plugin-hg/" 59blacklist_classifier https://bitbucket.org/tiedemann/blacklist-classifier.git | Perl | 187 lines
139 140Jรถrg Tiedemann, L<https://bitbucket.org/tiedemann> 141 144Please report any bugs or feature requests to 145L<https://bitbucket.org/tiedemann/blacklist-classifier>. I will be notified, 146and then you'll automatically be notified of progress on your bug as Ipostgresql_adapter.rb https://bitbucket.org/deeparaman/url_shortner.git | Ruby | 754 lines
48 module ConnectionAdapters 49 # The PostgreSQL adapter works with the native C (https://bitbucket.org/ged/ruby-pg) driver. 50 #simple.rb https://bitbucket.org/romoore/gnrs.git | Ruby | 182 lines
3# Simple GNRS experiment that performs the tasks outlined in the project Wiki. 4# See <https://bitbucket.org/romoore/gnrs/wiki/Running%20an%20Experiment%20on%20Orbit> 5# for more details.deploy.rb https://bitbucket.org/3david/superduster.git | Ruby | 47 lines
9set :application, "superduster" 10set :repository, "git@bitbucket.org:3david/superduster.git" 11set :branch, "master"media_wassr.rb https://bitbucket.org/pen/fakebot | Ruby | 83 lines
68 agent.auth(*App::Config.get["media"]["init"]) 69 agent.user_agent = "fakebot/1.0 (http://bitbucket.com/pen/fakebot/)" 70 agent.max_history = 1outgoing.rb https://bitbucket.org/carbonica/amp_old | Ruby | 88 lines
67 # reverse the order, because the newest are usually last 68 # this is noticed if you get bitbucket notifications 69 o.reverse! if opts[:"newest-first"]j.rb https://bitbucket.org/hirono_hideki/hirono_hideki.bitbucket.org.git | Ruby | 37 lines
2DIR = Dir::pwd 3ANAME = DIR.delete("/home/h272/git/hirono_hideki.bitbucket.org/") 4cfile = `ls *.jpg`eigen.rb https://bitbucket.org/JoshHagins/homebrew.git | Ruby | 51 lines
2 homepage "http://eigen.tuxfamily.org/" 3 url "http://bitbucket.org/eigen/eigen/get/3.2.3.tar.bz2" 4 sha1 "303e8241aaa879a328d675de368525a591c42e51" 12 13 head "https://bitbucket.org/eigen/eigen", :using => :hg 14deploy.rb https://bitbucket.org/H3xV1p3r/socialhex.git | Ruby | 44 lines
4set :application, "SocialHex" 5set :repo_url, "https://H3xV1p3r@bitbucket.org/H3xV1p3r/socialhex.git" 6update_bundles https://bitbucket.org/eunix/vimfiles | Ruby | 89 lines
3hg_bundles = [ 4 "https://bitbucket.org/ns9tks/vim-fuzzyfinder/", 5 "https://bitbucket.org/ns9tks/vim-l9/", 5 "https://bitbucket.org/ns9tks/vim-l9/", 6 "https://bitbucket.org/sjl/gundo.vim", 7]auth_helper_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 103 lines
96 97 [:twitter, :facebook, :google_oauth2, :gitlab, :github, :bitbucket, :crowd, :auth0, :authentiq].each do |provider| 98 it "returns false if the provider is #{provider}" dobit-rest https://bitbucket.org/vvp/bit-rest.git | Perl | 259 lines
153 154bit-rest implements Bitbucket REST APIs. 155 155 156It's written to get a quick and convinient access to Bitbucket repositories. 157The aim is to work with repo without a browser using command line only. 230 231L<Bitbucket REST APIs|https://confluence.atlassian.com/display/BITBUCKET/Using+the+bitbucket+REST+APIs>. 232 235The source code repository for bit-rest can be found at 236L<https://bitbucket.org/vvp/bit-rest>. 237 240See the repository issue tracker at 241L<https://bitbucket.org/vvp/bit-rest/issues> 242to report and view bugs.ms_license_auditing.rb https://bitbucket.org/tdaslengrd/cloud_services.git | Ruby | 21 lines
8remote_file 'C:\etc\scripts\MSLicenseUsageAudit.pa1.ps1' do 9 source 'https://bitbucket.org/atsservicesrd/dev-test/raw/7a84c61cb0a0036d3bffcf3228aa48dc7f868aad/Scripts/MSLicenseUsageAudit.pa1.ps1' 10 action :createdatadog_yaml_copy.rb https://bitbucket.org/tdaslengrd/cloud_services.git | Ruby | 19 lines
1remote_file '/etc/datadog-agent/conf.d/apache.d/conf.yaml' do 2 source 'https://bitbucket.org/tdaslengrd/cloud_services/raw/master/datadog/conf.d/apache.d/conf.yaml' 3 action :create 6remote_file '/etc/datadog-agent/conf.d/mysql.d/conf.yaml' do 7 source 'https://bitbucket.org/tdaslengrd/cloud_services/raw/master/datadog/conf.d/mysql.d/conf.yaml' 8 action :create 11remote_file '/etc/datadog-agent/conf.d/php.d/conf.yaml' do 12 source 'https://bitbucket.org/tdaslengrd/cloud_services/raw/master/datadog/conf.d/php.d/conf.yaml' 13 action :create 16remote_file '/etc/datadog-agent/conf.d/statsd.d/conf.yaml' do 17 source 'https://bitbucket.org/tdaslengrd/cloud_services/raw/master/datadog/conf.d/statsd.d/conf.yaml' 18 action :createbitbucket_pullrequests https://bitbucket.org/osrf/gazebo | Ruby | 301 lines
2#/ Usage: <progname> [options]... 3#/ Get info on pull requests from gazebo's bitbucket repository 4# based on http://www.alphadevx.com/a/88-Writing-a-REST-Client-in-Ruby 22 23class BitbucketPullRequests 24 # Pull request summary 69 def initialize(options) 70 @url_pullrequests = 'https://bitbucket.org/api/2.0/repositories/osrf/gazebo/pullrequests' 71 @options = options 141 puts "1. " + jsonHash["title"] 142 puts " * [Pull request #{id}](https://bitbucket.org/osrf/gazebo/pull-request/#{id})" 143 puts "" 275 276client = BitbucketPullRequests.new(options) 277if options["list"]h-picasa-upload.rb https://bitbucket.org/hirono_hideki/hirono_hideki.bitbucket.org.git | Ruby | 38 lines
2DIR = Dir::pwd 3ANAME = DIR.sub("/home/h272/git/hirono_hideki.bitbucket.org/","") 4puts ANAMEbitbucket_adapter.rb https://bitbucket.org/yuji_developer/redmine_bitbucket.git | Ruby | 66 lines
1class BitbucketAdapter 2 22 23 local_root_path = Setting.plugin_redmine_bitbucket[:local_path] 24 local_url = "#{local_root_path}/#{path}/#{project.identifier}/" 57 when 'git' 58 @scm = BitbucketGit 59 when 'hg' 59 when 'hg' 60 @scm = BitbucketHg 61 elseKephra.pm https://bitbucket.org/mishin/kephra | Perl | 151 lines
110 111L<https://bitbucket.org/lichtkind/kephra> 112hg-gateway https://bitbucket.org/SlipperyFrob/hg-gateway | Ruby | 626 lines
68# This is used for automatic updates via the "update" sub-command. 69$hg_gateway_central = "https://bitbucket.org/roshanjames/hg-gateway" 70application_controller.rb https://bitbucket.org/instedd/taskmeup | Ruby | 50 lines
16 def set_footer_html_url 17 @footer_html_url = "http://bitbucket.org/ataraciuk/instedd-tools-footer/raw/tip/footer.js" 18 endbbnew https://bitbucket.org/sterlingcamden/bbnew | Ruby | 113 lines
12 :lang => 'Specify a programming language.', 13 :pass => 'Specify a Bitbucket password.', 14 :user => 'Specify a Bitbucket user name.', 27 28@config = {:conf => '~/.bitbucket'} 29@repo = Hash.new 80 81@config[:conf] ||= "~/.bitbucket" 82if File.exist?(File.expand_path @config[:conf]) 89 90uri = URI.parse('https://api.bitbucket.org/1.0/repositories/') 91 95 96# uses BitBucket password, not SSH password 97req.basic_auth(hg-flow.rb https://bitbucket.org/bathtub/tigerbrew.git | Ruby | 34 lines
3class HgFlow < Formula 4 homepage 'https://bitbucket.org/yinwm/hgflow' 5 url 'https://bitbucket.org/yinwm/hgflow/downloads/hgflow-v0.4.pyhgflow-v0.4.py' 7 8 head "http://bitbucket.org/yinwm/hgflow", :using => :hg, :branch => 'default' 9 18 else 19 # That strange name seems like a bug. https://bitbucket.org/yinwm/hgflow/issue/24 20 python.site_packages.install 'hgflow-v0.4.pyhgflow-v0.4.py' => 'hgflow.py' 26 2. Restart your shell and try "hg flow". 27 3. For more information go to http://bitbucket.org/yinwm/hgflow 28spellcheck.pl https://bitbucket.org/tshirtman/irssi-spellcheck | Perl | 226 lines
27 license => 'GPLv2', 28 url => 'https://bitbucket.org/jwilk/irssi-spellcheck', 29);deploy.rb https://bitbucket.org/appfellas/appfellasweb.git | Ruby | 110 lines
22set :application, "AppFellas" 23set :repository, "git@bitbucket.org:appfellas/appfellasweb.git " 24otr.rb https://bitbucket.org/stephenmcd/otr | Ruby | 61 lines
16 repos = {} 17 url = "https://api.bitbucket.org/1.0/users/#{username}/" 18 self.get_json(url)["repositories"].map { |repo| 20 name = repo["slug"] 21 url = "https://bitbucket.org/#{username}/#{name}/descendants" 22 html = RestClient.get(url).split("<span class=\"value\">") 27 "fork" => repo["is_fork"], 28 "urls" => ["https://bitbucket.org/#{username}/#{name}"] 29 } 48 def self.get(options) 49 repos = self.get_bb(options[:bitbucket_username] || options[:username]) 50 self.get_gh(options[:github_username] || options[:username]).each do |repo|