PageRenderTime 202ms queryTime 27ms sortTime 0ms getByIdsTime 40ms findMatchingLines 52ms

100+ results results for 'bitbucket' (202 ms)

Not the results you expected?
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"
                    
8
                    
                
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"]
                    
                
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  end
                    
                
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"
                    
                
swiss 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		end
                    
                
deploy.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'
                    
                
pypy3.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"
                    
                
metadata.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/'
                    
25
                    
                
bbnew 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']
                    
                
atlassian-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';
                    
106
                    
                
DefaultMatcher.pm https://bitbucket.org/exussum/pockito | Perl | 166 lines
                    
146
                    
147http://bitbucket.org/exussum/pockito/
                    
148
                    
                
home_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	end
                    
                
importer.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 in
                    
                
deploy.rb https://bitbucket.org/ciaranc78/myapp_fork.git | Ruby | 44 lines
                    
4set :application, "myapp"
                    
5set :repo_url, "git@bitbucket.org:ciaranc78/myapp_fork.git"
                    
6
                    
                
repository_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  end
                    
                
dmd-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"
                    
8
                    
                
oauth_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]
                    
                
extconf.rb https://bitbucket.org/saranyutcr/client_cinestaan_cms.git | Ruby | 270 lines
                    
84    STDERR.puts "**** Cross-compiled OpenSSL not found"
                    
85    STDERR.puts "**** Run: hg clone http://bitbucket.org/ged/ruby-pg && cd ruby-pg && rake openssl_libs"
                    
86    STDERR.puts "**************************************************************************************"
                    
                
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");
                    
                
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"
                    
6
                    
                
auth.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 306 lines
                    
17      def omniauth_customized_providers
                    
18        @omniauth_customized_providers ||= %w[bitbucket jwt]
                    
19      end
                    
                
pypy.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, true
                    
                
auth_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')
                    
                
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`.chomp
                    
                
bitbucket_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))
                    
                
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 nil
                    
                
runtests 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'
                    
7
                    
                
font-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" do 
                    
                
backup.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/")
                    
57            
                    
                
bitbucket_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  end
                    
                
application_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)
                    
105
                    
                
deploy.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        },
                    
                
postgresql_adapter.rb https://bitbucket.org/degzpf/rails-fixes.git | Ruby | 883 lines
                    
42  module ConnectionAdapters
                    
43    # The PostgreSQL adapter works with the native C (https://bitbucket.org/ged/ruby-pg) driver.
                    
44    #
                    
                
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"
                    
6
                    
                
Build.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, 3
                    
                
20160302152808_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']) }
                    
26
                    
                
deploy.rb https://bitbucket.org/meta_cms/test9.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              end
                    
                
connection.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    end
                    
                
Build.PL https://bitbucket.org/shlomif/abc-path | Perl | 69 lines
                    
45        {
                    
46            repository => "http://bitbucket.org/shlomif/abc-path",
                    
47            homepage => "http://www.shlomifish.org/open-source/projects/japanese-puzzle-games/abc-path/",
                    
                
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, user
                    
                
bitbucket-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)
                    
72
                    
                
deploy.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>
                    
164
                    
                
deploy.rb https://bitbucket.org/cmolikl/sfinx.git | Ruby | 40 lines
                    
5set :scm, :git
                    
6set :repo_url, "git@bitbucket.org:cmolikl/sfinx.git"
                    
7
                    
                
deploy.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" do
                    
                
deploy.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"
                    
9
                    
                
data_store.rb https://bitbucket.org/DinoRex99/metasploit-framework.git | Ruby | 399 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.
                    
                
vagrant.rb https://bitbucket.org/phinze/environmentalist.git | Ruby | 62 lines
                    
9  set :scm, :git
                    
10  set :repository, "https://bitbucket.org/phinze/environmentalist/"
                    
11end
                    
                
git2bit.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 again
                    
                
suspence_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/Home
                    
                
deploy.rb https://bitbucket.org/jklina/fixelpuckers | Ruby | 93 lines
                    
13set :scm, :mercurial
                    
14set :repository,  "ssh://hg@bitbucket.org/jklina/fixelpuckers/"
                    
15 
                    
                
deploy.rb https://bitbucket.org/dpxlogistic/digitalefs.git | Ruby | 33 lines
                    
4set :application, 'digitalefs'
                    
5set :repo_url, 'git@bitbucket.org:dpxlogistic/digitalefs.git'
                    
6
                    
                
deploy.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}" }
                    
                
pip.rb https://bitbucket.org/slashmili/oulima-vagrant.git | Ruby | 45 lines
                    
29# http://stackoverflow.com/questions/4324558/whats-the-proper-way-to-install-pip-virtualenv-and-distribute-for-python
                    
30# https://bitbucket.org/ianb/pip/issue/104/pip-uninstall-on-ubuntu-linux
                    
31remote_file "#{Chef::Config[:file_cache_path]}/distribute_setup.py" do
                    
                
deploy.rb https://bitbucket.org/instedd/watchfire | Ruby | 45 lines
                    
9set :application, "watchfire"
                    
10set :repository,  "https://bitbucket.org/instedd/watchfire"
                    
11set :scm, :mercurial
                    
                
deploy.rb https://bitbucket.org/zachmakesu/dentasked-copy.git | Ruby | 125 lines
                    
1set :application, "dentasked"
                    
2set :repo_url, "git@bitbucket.org:gorated/dentasked.git"
                    
3
                    
                
pypy.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"
                    
13
                    
                
youtube-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
                    
31
                    
                
deploy.rb https://bitbucket.org/gastergaster/forumregis.git | Ruby | 44 lines
                    
4set :application, "ForumRegis"
                    
5set :repo_url, 'https://gastergaster@bitbucket.org/gastergaster/forumregis.git'
                    
6
                    
                
custom_app.rb https://bitbucket.org/jeffsouza/teste.git | Ruby | 199 lines
                    
2
                    
3repo = 'https://bitbucket.org/jeffsouza/teste/raw/4741e5e6a033fe9093b1efd93d229f9b1f62fef7/'
                    
4
                    
                
CSJEWELL.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.
                    
94
                    
                
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/"
                    
59
                    
                
blacklist_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 I
                    
                
bitbucketgit_hook_controller.rb https://bitbucket.org/bluevox/redmine-bitbucket-git.git | Ruby | 53 lines
                    
3
                    
4class BitbucketgitHookController < ApplicationController
                    
5
                    
9    payload = JSON.parse(params[:payload])
                    
10    logger.debug { "Received from Bitbucket: #{payload.inspect}" }
                    
11
                    
17    
                    
18    searchPath = Dir.getwd + '/' + Setting.plugin_redmine_bitbucketgit_hook[:bitbucketgit_dir].to_s + '/' + payload['repository']['owner'] + '_' + payload['repository']['name'] +'.git'
                    
19    repository = Repository.find_by_url(searchPath)
                    
23
                    
24    # Get updates from the bitbucket repository
                    
25    aFile = File.new(repository.url + '/config', "r")
                    
46  def exec(command)
                    
47    logger.info { "BitbucketGitHook: Executing command: '#{command}'" }
                    
48    output = `#{command}`
                    
                
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 = 1
                    
                
outgoing.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"]
                    
                
install-deps.pl https://bitbucket.org/secollab/libmikey-sakke.git | Perl | 63 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;
                    
                
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
                    
14
                    
                
deploy.rb https://bitbucket.org/H3xV1p3r/socialhex.git | Ruby | 44 lines
                    
4set :application, "SocialHex"
                    
5set :repo_url, "https://H3xV1p3r@bitbucket.org/H3xV1p3r/socialhex.git"
                    
6
                    
                
update_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}" do
                    
                
bit-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 :create
                    
                
datadog_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 :create
                    
                
bitbucket_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 ANAME
                    
                
bitbucket_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    else
                    
                
Kephra.pm https://bitbucket.org/mishin/kephra | Perl | 151 lines
                    
110
                    
111L<https://bitbucket.org/lichtkind/kephra>
                    
112
                    
                
hg-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"
                    
70
                    
                
application_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  end
                    
                
bbnew 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(
                    
                
spellcheck.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 "
                    
24
                    
                
otr.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|
                    
                
bitbucket_hook_controller_test.rb https://bitbucket.org/nolith/redmine-bitbucket/ | Ruby | 103 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.new
                    
                
api.rb https://bitbucket.org/thrabal/smartlib.git | Ruby | 724 lines
                    
14		set :views, 'lib/smartlib/views/email', 'lib/smartlib/views/api'
                    
15		ISSUES_URL = 'https://api.bitbucket.org/1.0/repositories/thrabal/sma' +
                    
16			'rtlib/issues'
                    
322					'url'      => ISSUES_URL,
                    
323					'user'     => $CONFIG[:bitbucket_login],
                    
324					'password' => $CONFIG[:bitbucket_passwd],
                    
                
mskms.pl https://bitbucket.org/secollab/libmikey-sakke.git | Perl | 994 lines
                    
21
                    
22# https://bitbucket.org/abutcher/crypt-ecdsa-gmpz.git
                    
23use Crypt::ECDSA;
                    
                
project_creator.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 37 lines
                    
1module Gitlab
                    
2  module BitbucketImport
                    
3    class ProjectCreator
                    
21          visibility_level: repo.visibility_level,
                    
22          import_type: 'bitbucket',
                    
23          import_source: repo.full_name,
                    
                
test_stash-repo-info.rb https://bitbucket.org/zedenem/stash-command-line-tools.git | Ruby | 90 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      assert_raise(RuntimeError) { RepoInfo.create nil, remote }
                    
                
deploy.rb https://bitbucket.org/umeyuki/orenovideo.git | Ruby | 66 lines
                    
4set :application, 'orenovideo'
                    
5set :repo_url, 'git@bitbucket.org:umeyuki/pochit.git'
                    
6set :branch, 'master'
                    
                
deploy.rb https://bitbucket.org/joshlehman/bc-family-legacy-steward.git | Ruby | 103 lines
                    
9set :scm, :git
                    
10set :repository,  "git@bitbucket.org:joshlehman/bc-family-legacy-steward.git"
                    
11set :scm_passphrase, ""
                    
                
web.rb https://bitbucket.org/donpdonp/geomena | Ruby | 137 lines
                    
14    get '/api' do
                    
15      redirect "http://bitbucket.org/donpdonp/geomena/wiki/APIReference"
                    
16    end
                    
91
                    
92    post '/bitbucket' do
                    
93      system("./stop.sh; hg pull; hg update; hg log -l 1|head -1|cut -d' ' -f4 > public/version; ./start.sh")
                    
                
bclone.pl https://bitbucket.org/burak/cpan-tools | Perl | 141 lines
                    
2
                    
3package Net::BitBucket;
                    
4use strict;
                    
10
                    
11use constant URL      => 'https://api.bitbucket.org/1.0/users/%s/';
                    
12use constant BASE_URL => 'https://bitbucket.org/%s/%s/';
                    
68my $START = time;
                    
69my $bit   = Net::BitBucket->new;
                    
70
                    
                
setup.rb https://bitbucket.org/yb66/repo.git | Ruby | 195 lines
                    
170      bitbucket_token = ENV["BITBUCKET_TOKEN"]
                    
171      commented["bitbucket_token"] = bitbucket_token.nil? || bitbucket_token.empty?
                    
172
                    
                
2013-02-26.pod https://bitbucket.org/tobyink/p5-tobyink-pod-html | Perl | 77 lines
                    
73Oh, and this blog post was
                    
74L<written as pod|https://bitbucket.org/tobyink/p5-tobyink-pod-html/src/tip/devel.docs/blog/2013-02-26.pod>
                    
75and
                    
75and
                    
76L<converted to HTML|https://bitbucket.org/tobyink/p5-tobyink-pod-html/src/tip/devel.docs/blog/2013-02-26.html>.
                    
77
                    
                
Build.PL https://bitbucket.org/shlomif/fortune-xml | Perl | 54 lines
                    
45        {
                    
46            repository => "https://bitbucket.org/shlomif/fortune-xml",
                    
47        },
                    
                
vkmp3.pl https://bitbucket.org/KryDos/pl-vkmp3.git | Perl | 185 lines
                    
4# (c) Alexandr A Alexeev 2011-2012 | http://eax.me/
                    
5# Special thanks to Bekenev Ruslan ( http://bitbucket.org/KryDos ) 
                    
6
                    
                
bitbucket_service_controller.rb https://bitbucket.org/yuji_developer/redmine_bitbucket.git | Ruby | 81 lines
                    
2
                    
3class BitbucketServiceController < ApplicationController
                    
4  unloadable
                    
15    if repository.nil? 
                    
16      logger.debug { "BitbucketPlugin: Invalid repository"}
                    
17      return render :nothing => true, :status => 500 
                    
24  rescue ActiveRecord::RecordNotFound
                    
25    logger.debug { "BitbucketPlugin: RecordNotFound"}
                    
26    render :nothing => true, :status => 404
                    
31  def service_enabled?
                    
32    Setting.plugin_redmine_bitbucket[:service_enabled]
                    
33  end
                    
35  def valid_key?
                    
36    setting_key = Setting.plugin_redmine_bitbucket[:service_key]
                    
37    return true if setting_key.to_s == ''
                    
                
deploy.rb https://bitbucket.org/thyforhtian/services_manager.git | Ruby | 67 lines
                    
5set :repository,  "file://."
                    
6# set :repository,  "git@bitbucket.org:thyforhtian/backbone-sinatra-test.git"
                    
7
                    
                
pip.rb https://bitbucket.org/slashmili/oulima-vagrant.git | Ruby | 174 lines
                    
143    # `pip list` may be coming soon:
                    
144    # https://bitbucket.org/ianb/pip/issue/197/option-to-show-what-version-would-be
                    
145    @new_resource.version||'latest'
                    
                
Build.PL https://bitbucket.org/shlomif/perl-config-inifiles | Perl | 64 lines
                    
44        {
                    
45            repository => "https://bitbucket.org/shlomif/perl-config-inifiles",
                    
46            homepage => "https://sourceforge.net/projects/config-inifiles/",
                    
                
Build.PL https://bitbucket.org/csjewell/module-starter-csjewell | Perl | 84 lines
                    
76            bugtracker  => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Module-Starter-CSJEWELL',
                    
77            repository  => 'http://bitbucket.org/csjewell/module-starter-csjewell/'
                    
78        },
                    
                
deploy.rb https://bitbucket.org/mcpanhara/tgs.git | Ruby | 77 lines
                    
53
                    
54set :repo_url, 'https://mcpanhara@bitbucket.org/mcpanhara/tgs.git'
                    
55# ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp
                    
                
lump.rb https://bitbucket.org/apotheon/lump | Ruby | 116 lines
                    
47
                    
48    @lump_url = '"http://bitbucket.org/apotheon/lump/"'
                    
49  end
                    
                
deploy.rb https://bitbucket.org/purefame/purefame.git | Ruby | 97 lines
                    
4set :application, "purefame"
                    
5set :repo_url, "git@bitbucket.org:purefame/purefame.git"
                    
6
                    
                
deploy.rb https://bitbucket.org/acjaws/eaves.git | Ruby | 42 lines
                    
5set :application, "Eaves"
                    
6set :repo_url, "git@bitbucket.org:acjaws/eaves.git"
                    
7
                    
                
deploy.rb https://bitbucket.org/yuya373/mlb.git | Ruby | 55 lines
                    
4set :application, 'mlb'
                    
5set :repo_url, 'git@bitbucket.org:yuya373/mlb.git'
                    
6
                    
                
bitbucket_adapter.rb https://bitbucket.org/steveqx/redmine_bitbucket.git | Ruby | 47 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}"
                    
                
configure_CSJEWELL.pm https://bitbucket.org/csjewell/dist-zilla-belike-csjewell | Perl | 141 lines
                    
55		{   check => sub { defined $_[0] and $_[0] =~ /\S/ms },
                    
56			default => 'http://bitbucket.org/username/',
                    
57		},
                    
                
default.rb https://bitbucket.org/mhrbond/cookbooks | Ruby | 306 lines
                    
27	#command "git clone https://github.com/mhrems/welcomerain.git"
                    
28	command "hg clone https://mhrbond:mhrtest@bitbucket.org/mhrjames/welcomerain"
                    
29	not_if do
                    
                
update_bundles.rb https://bitbucket.org/aaront/vim | Ruby | 72 lines
                    
22
                    
23bitbucket_bundles = [
                    
24]
                    
56
                    
57bitbucket_bundles.each do |url|
                    
58  dir = url.split('/').last
                    
                
import_sources.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 44 lines
                    
12      ImportSource.new('github',         'GitHub',        Gitlab::GithubImport::ParallelImporter),
                    
13      ImportSource.new('bitbucket',      'Bitbucket',     Gitlab::BitbucketImport::Importer),
                    
14      ImportSource.new('gitlab',         'GitLab.com',    Gitlab::GitlabImport::Importer),
                    
                
unigrabber.pl https://bitbucket.org/naegele/unigrabber.git | Perl | 116 lines
                    
6#   Daniel N?gele -  daniel.n.wb@gmail.com
                    
7# Thanks to okbr and FaKeller (bitbucket usernames) for the help with the stylesheet
                    
8
                    
102            <a href='./mirror/mirror.tar'>Archiv</a><br>\n
                    
103            <a href='https://bitbucket.org/naegele/unigrabber'>Source</a>
                    
104        </div>\n
                    
                
Makefile.PL https://bitbucket.org/tobyink/p5-xml-libxml | Perl | 733 lines
                    
55        {
                    
56            repository => 'https://bitbucket.org/shlomif/perl-xml-libxml',
                    
57            homepage => 'https://bitbucket.org/shlomif/perl-xml-libxml',
                    
                
Transilien.pm https://bitbucket.org/xtab/rer-web | Perl | 153 lines
                    
22    my $req = HTTP::Request->new(GET => $self->{url} . $path);
                    
23    $req->header('User-Agent' => 'RER::Web (+http://bitbucket.org/xtab/rer-web)');
                    
24    $req->header('Accept'     => 'application/vnd.sncf.transilien.od.depart+xml;vers=1');
                    
                
py2.rb https://bitbucket.org/snej/py2rb | Ruby | 227 lines
                    
15# I'd appreciate it if you contributed improvements or fixes back to the repository, though!
                    
16# http://bitbucket.org/snej/py2rb
                    
17
                    
                
deploy.rb https://bitbucket.org/travelin7/bbmshop.git | Ruby | 30 lines
                    
1set :application, "BBM Shop"
                    
2set :repository,  "https://travelin7@bitbucket.org/travelin7/bbmshop.git"
                    
3
                    
                
deploy.rb https://bitbucket.org/mmarini/backpagefirst | Ruby | 43 lines
                    
27set :scm, :mercurial
                    
28set :repository,  "ssh://hg@bitbucket.org/mmarini/backpagefirst/"
                    
29set :checkout, "clone"
                    
                
deploy.rb https://bitbucket.org/meta_cms/test3.git | Ruby | 126 lines
                    
5set :scm,         :git
                    
6set :repository,  "git@bitbucket.org:meta_cms/#{application}.git"
                    
7set :branch,      "master"
                    
44  
                    
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"
                    
51    else
                    
52      run_locally "git remote add origin ssh://git@bitbucket.org/meta_cms/#{application}.git"
                    
53      run_locally "git push -u origin master"
                    
55  end
                    
56  after "deploy:setup", "metacms:bitbucket"
                    
57  
                    
                
deploy.rb https://bitbucket.org/ciaranc78/myapp.git | Ruby | 44 lines
                    
4set :application, "myapp"
                    
5set :repo_url, "git@bitbucket.org:ciaranc78/myapp.git"
                    
6
                    
                
deploy.rb https://bitbucket.org/gorsknsk/green.git | Ruby | 44 lines
                    
4set :application, "tea"
                    
5set :repo_url, "git@bitbucket.org:gorsknsk/green-tea.git"
                    
6
                    
                
import_sources_spec.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 94 lines
                    
8          'GitHub'        => 'github',
                    
9          'Bitbucket'     => 'bitbucket',
                    
10          'GitLab.com'    => 'gitlab',
                    
26          github
                    
27          bitbucket
                    
28          gitlab
                    
44          github
                    
45          bitbucket
                    
46          gitlab
                    
59      'github' => Gitlab::GithubImport::ParallelImporter,
                    
60      'bitbucket' => Gitlab::BitbucketImport::Importer,
                    
61      'gitlab' => Gitlab::GitlabImport::Importer,
                    
78      'github' => 'GitHub',
                    
79      'bitbucket' => 'Bitbucket',
                    
80      'gitlab' => 'GitLab.com',
                    
                
linkifier https://bitbucket.org/d20pfsrd/linkifier | Perl | 336 lines
                    
115  to ensure that known bugs are always tracked using the issue tracker at
                    
116  a public BitBucket repository:
                    
117
                    
117
                    
118      http://bitbucket.org/d20pfsrd/linkifier/issues
                    
119
                    
                
Build.PL https://bitbucket.org/shlomif/docmake | Perl | 62 lines
                    
38        {
                    
39            repository => "http://bitbucket.org/shlomif/docmake",
                    
40            homepage => "http://www.shlomifish.org/open-source/projects/docmake/",
                    
                
nuntium.rb https://bitbucket.org/instedd/pigeon.git | Ruby | 295 lines
                    
2# Taken from the nuntium-api-ruby gem version 0.21
                    
3# See http://bitbucket.org/instedd/nuntium-api-ruby
                    
4
                    
                
resources.rb https://bitbucket.org/romoore/gnrs.git | Ruby | 64 lines
                    
27defProperty('dataUrl', 'http://my.domain.com/path/to/files', 'Base URL for topology/delay files.')
                    
28defProperty('scriptUrl', 'https://bitbucket.org/romoore/gnrs/downloads', 'Base URL for script files.')
                    
29defProperty('tarUrl', 'https://my.domain.com/path/to/files', 'Base URL for tarballed files.')
                    
                
Build.PL https://bitbucket.org/shlomif/web-cpan | Perl | 62 lines
                    
35        {
                    
36            repository => "http://bitbucket.org/shlomif/web-cpan",
                    
37            homepage => "http://www.shlomifish.org/open-source/projects/Module-Format/",
                    
                
deploy.rb https://bitbucket.org/parasquid/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, true
                    
                
deploy.rb https://bitbucket.org/verbbrandslimited/carole-bamford-blog.git | Ruby | 121 lines
                    
1set :application, 'cb-blog'
                    
2set :repo_url, 'verbbrandslimited@bitbucket.org:verbbrandslimited/carole-bamford-blog.git'
                    
3
                    
                
deploy.rb https://bitbucket.org/joeljackson/edmontontransitsms | Ruby | 27 lines
                    
1set :application, "edmontontransitsms"
                    
2set :repository,  "ssh://hg@bitbucket.org/joeljackson/edmontontransitsms"
                    
3
                    
                
main_window.rb https://bitbucket.org/magesh/mycash | Ruby | 369 lines
                    
14#
                    
15# http://bitbucket.org/jjhop/mycash/overview/
                    
16# http://bitbucket.org/jjhop/mycash/wiki/Home
                    
269                ie.visible = true
                    
270                ie.navigate('http://bitbucket.org/jjhop/mycash/')
                    
271              end
                    
                
main.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();
                    
                
settings.rb https://bitbucket.org/terrchen/gitlab-ce.git | Ruby | 174 lines
                    
27      optional :restricted_visibility_levels, type: Array[String], desc: 'Selected levels cannot be used by non-admin users for groups, projects or snippets. If the public level is restricted, user profiles are only visible to logged in users.'
                    
28      optional :import_sources, type: Array[String], values: %w[github bitbucket gitlab google_code fogbugz git gitlab_project],
                    
29                                desc: 'Enabled sources for code import during project creation. OmniAuth must be configured for GitHub, Bitbucket, and GitLab.com'
                    
                
plugin.rb https://bitbucket.org/amazingacademy/community-voting-plugin.git | Ruby | 27 lines
                    
4# authors: Gustavo Scanferla, Carlos Urango
                    
5# url: https://bitbucket.org/amazingacademy/community-voting-plugin
                    
6
                    
                
demo.rb https://bitbucket.org/empower/empowerproject_test | Ruby | 82 lines
                    
6
                    
7set :repository, "ssh://hg@bitbucket.org/empower/empowerproject_demo"
                    
8
                    
                
study.rb https://bitbucket.org/empower/empowerproject_test | Ruby | 82 lines
                    
6
                    
7set :repository, "ssh://hg@bitbucket.org/empower/empowerproject_study"
                    
8
                    
                
BitRest.pm https://bitbucket.org/vvp/bit-rest.git | Perl | 445 lines
                    
5
                    
6BitRest - Bitbucket REST resources in Perl objects
                    
7
                    
31
                    
32B<BitRest> is a Perl module for convinient interface to Bitbucket REST APIs.
                    
33
                    
59
                    
60our $API_URL = 'https://api.bitbucket.org/1.0/';
                    
61
                    
165Main method of the BitRest object which makes request
                    
166to the Bitbucket server using the REST API.
                    
167
                    
421The source code repository for BitRest can be found at
                    
422L<https://bitbucket.org/vvp/bit-rest>.
                    
423
                    
                
deploy.rb https://bitbucket.org/clemsos/ethermashup-ui.git | Ruby | 126 lines
                    
9set :scm, :git
                    
10set :repository, "git@bitbucket.org:clemsos/ethermashup-ui.git"
                    
11set :scm_passphrase, ""
                    
                
ads_adactus.pl https://bitbucket.org/vps/videoscripts.git | Perl | 932 lines
                    
1#!/usr/bin/perl -I/opt/CNNi/videoscripts/libraries/perl -I/home/dboardman/bitbucket/videoscripts/libraries/perl
                    
2
                    
                
deploy.rb https://bitbucket.org/humanitiescomputing/dma_online_catalog.git | Ruby | 38 lines
                    
12set :scm_username, "www_dma"
                    
13set :repository,  "https://bitbucket.org/humanitiescomputing/dma_online_catalog.git"
                    
14set :branch, 'master'
                    
                
love.rb https://bitbucket.org/Ankrat/devdocs.git | Ruby | 43 lines
                    
13      home: 'https://love2d.org/',
                    
14      code: 'https://bitbucket.org/rude/love'
                    
15    }
                    
                
collections_controller.rb https://bitbucket.org/acbarbosa/resource_map | Ruby | 122 lines
                    
118
                    
119    render text: "#{ex.message} - Check the API documentation: https://bitbucket.org/instedd/resource_map/wiki/API", status: 400
                    
120  end
                    
                
deploy.rb https://bitbucket.org/hackmyfuture/venuecenter.git | Ruby | 84 lines
                    
3
                    
4set :repo_url,        'git@bitbucket.org:venuecenter/venuecenter.git'
                    
5set :application,     'venuecenter'
                    
                
bitbucket.rb https://bitbucket.org/snishio/prtester | Ruby | 113 lines
                    
18    if target
                    
19      detail = @bitbucket.pull_request_detail(target)
                    
20      branch_or_commit_id = detail.from_commit_id || detail.from_branch_name
                    
27  def fetch_pullrequest
                    
28    @bitbucket.pull_requests
                    
29              .reject { |request|
                    
62  def setup_bitbucket!
                    
63    project = BitbucketApiExtension::Project.new(name: @config['bitbucket']['repository_name'],
                    
64                                                  organization_name: @config['bitbucket']['team'])
                    
64                                                  organization_name: @config['bitbucket']['team'])
                    
65    account = BitbucketApiExtension::Account.new(user_id: @config['bitbucket']['id'],
                    
66                                                 user_password: @config['bitbucket']['password'])
                    
66                                                 user_password: @config['bitbucket']['password'])
                    
67    @bitbucket = BitbucketApiExtension::Api.new(project, account)
                    
68  end
                    
                
backup.rb https://bitbucket.org/seth/bitbucket-backup | Ruby | 86 lines
                    
3
                    
4module Bitbucket
                    
5    module Backup
                    
8        # @param [String] username
                    
9        #     the Bitbucket username of the user to backup repos for.
                    
10        #
                    
30                if all_repos
                    
31                    Bitbucket::Backup::Repository.new(repo, username, password, backup_root).backup
                    
32                else
                    
34                    if repo["owner"] == username
                    
35                        Bitbucket::Backup::Repository.new(repo, username, password, backup_root).backup
                    
36                    end
                    
62        def self.get_repo_list(username, password)
                    
63            uri = URI.parse("https://api.bitbucket.org/1.0/user/repositories")
                    
64            
                    
                
gem_spec.rb https://bitbucket.org/ToadJamb/gems_rake_tasks | Ruby | 123 lines
                    
68  s.email    = 'tthetoad@gmail.com'
                    
69  s.homepage = 'http://www.bitbucket.org/ToadJamb/gems_test_gem'
                    
70
                    
                
Makefile.PL https://bitbucket.org/lichtkind/app-gui-docular | Perl | 36 lines
                    
12author         'Herbert Breunung';
                    
13homepage       'http://bitbucket.org/lichtkind/wxdocular/';
                    
14bugtracker     'http://bitbucket.org/lichtkind/wxdocular/issues?status=new&status=open';
                    
31no_index 'directory' => qw{ t xt share inc };
                    
32homepage 'http://bitbucket.org/lichtkind/wxdocular/overview';
                    
33
                    
                
repository.rb https://bitbucket.org/mariusmarais/bitbucket-backup | Ruby | 159 lines
                    
4
                    
5module Bitbucket
                    
6    module Backup
                    
8            # @return [Hash]
                    
9            #     the hash of repo data from the Bitbucket API.
                    
10            #
                    
25            # @param [Hash] repo
                    
26            #     the hash of repo data from the Bitbucket API.
                    
27            #
                    
44                
                    
45                unless Bitbucket::Backup.have_scm_tool?(repo["scm"])
                    
46                    puts "Warning: #{repo["scm"]} not found on PATH. Skipping..."
                    
141                if repo["is_private"]
                    
142                    base_uri = "https://#{repo["owner"]}:#{CGI.escape(password)}@bitbucket.org/#{repo["owner"]}/#{repo["slug"]}#{ext}"
                    
143                else
                    
                
 

Source

Language