100+ results for 'bitbucket repo:alanhaggai/net-bitbucket'

Not the results you expected?

bootstrap-social.css (https://gitlab.com/Mirros/jsdelivr) CSS · 73 lines

24 .btn-adn.disabled,.btn-adn[disabled],fieldset[disabled] .btn-adn,.btn-adn.disabled:hover,.btn-adn[disabled]:hover,fieldset[disabled] .btn-adn:hover,.btn-adn.disabled:focus,.btn-adn[disabled]:focus,fieldset[disabled] .btn-adn:focus,.btn-adn.disabled:active,.btn-adn[disabled]:active,fieldset[disabled] .btn-adn:active,.btn-adn.disabled.active,.btn-adn[disabled].active,fieldset[disabled] .btn-adn.active{background-color:#d87a68;border-color:rgba(0,0,0,0.2)}

25 .btn-adn .badge{color:#d87a68;background-color:#fff}

26 .btn-bitbucket{color:#fff;background-color:#205081;border-color:rgba(0,0,0,0.2)}.btn-bitbucket:hover,.btn-bitbucket:focus,.btn-bitbucket:active,.btn-bitbucket.active,.open .dropdown-toggle.btn-bitbucket{color:#fff;background-color:#183c60;border-color:rgba(0,0,0,0.2)}

27 .btn-bitbucket:active,.btn-bitbucket.active,.open .dropdown-toggle.btn-bitbucket{background-image:none}

28 .btn-bitbucket.disabled,.btn-bitbucket[disabled],fieldset[disabled] .btn-bitbucket,.btn-bitbucket.disabled:hover,.btn-bitbucket[disabled]:hover,fieldset[disabled] .btn-bitbucket:hover,.btn-bitbucket.disabled:focus,.btn-bitbucket[disabled]:focus,fieldset[disabled] .btn-bitbucket:focus,.btn-bitbucket.disabled:active,.btn-bitbucket[disabled]:active,fieldset[disabled] .btn-bitbucket:active,.btn-bitbucket.disabled.active,.btn-bitbucket[disabled].active,fieldset[disabled] .btn-bitbucket.active{background-color:#205081;border-color:rgba(0,0,0,0.2)}

29 .btn-bitbucket .badge{color:#205081;background-color:#fff}

instructions.tex (https://bitbucket.org/aterrel/2012summerssc395.git) LaTeX · 157 lines

18 \item {\bf Download the class git repo}\\

19 Open a terminal and execute {\tt git clone

20 git@bitbucket.org:aterrel/2012summerssc395.git}.

21

22 \item {\bf Make the lab 1 device query}\\

create.rb (https://gitlab.com/gitlab-com/git-lab-playground) Ruby · 105 lines

9 [

10 s_('InProductMarketing|Create a project in GitLab in 5 minutes'),

11 s_('InProductMarketing|Import your project and code from GitHub, Bitbucket and others'),

12 s_('InProductMarketing|Understand repository mirroring')

13 ][series]

41 [

42 s_("InProductMarketing|To understand and get the most out of GitLab, start at the beginning and %{project_link}. In GitLab, repositories are part of a project, so after you've created your project you can go ahead and %{repo_link}.") % { project_link: project_link, repo_link: repo_link },

43 s_("InProductMarketing|Making the switch? It's easier than you think to import your projects into GitLab. Move %{github_link}, or import something %{bitbucket_link}.") % { github_link: github_link, bitbucket_link: bitbucket_link },

44 s_("InProductMarketing|Sometimes you're not ready to make a full transition to a new tool. If you're not ready to fully commit, %{mirroring_link} gives you a safe way to try out GitLab in parallel with your current tool.") % { mirroring_link: mirroring_link }

45 ][series]

82 def bitbucket_link

83 link(s_('InProductMarketing|from Bitbucket'), help_page_url('user/project/import/bitbucket_server'))

84 end

85

shims.yml (https://gitlab.com/mlassabe/LASSABE) YAML · 289 lines

24 name: chart-bar

25 prefix: far

26 bitbucket-square:

27 name: bitbucket

help.html (https://bitbucket.org/arkangelofkaos/betterrev.git) HTML · 102 lines

11 <li>Create a <a href="https://bitbucket.org/" target="_blank">BitBucket</a> account</li>

12 <li>Join the <a href="https://bitbucket.org/adoptopenjdk/" target="_blank">Adopt OpenJDK BitBucket Organisation</a>

13 </li>

14 <li>Fork all the JDK repositories

22

23 <pre>

24 hg clone ssh://hg@@bitbucket.org/adoptopenjdk/adopt

25 cd adopt

26 ./start.sh your-bitbucket-username

56 <ol>

57 <li>

58 Providing up to date clones of OpenJDK forests in <a href="https://bitbucket.org/" target="_blank">BitBucket</a>

59 </li>

60 <li>Allowing a Pull Request model for submitting patches</li>

74 <li><strong>Betterrev</strong> keeps up to date copies of OpenJDK repos in BitBucket</li>

75 <li><strong>You</strong> fork the appropriate <a href="https://bitbucket.org/adoptopenjdk/" target="_blank">OpenJDK repo(s)</a> from BitBucket

76 </li>

77 <li><strong>You</strong> submit a Pull Request for your patch via BitBucket</li>

xnoise-resources.vala (https://bitbucket.org/Avinash-Bhat/xnoise.git) Vala · 90 lines

86 internal static const string PROGRAM_NAME = "xnoise";

87 internal static const string WEBSITE = "http://www.xnoise-media-player.com/";

88 internal static const string WEB_FAQ = "https://bitbucket.org/shuerhaaken/xnoise/wiki/FAQ";

89 internal static const string WEB_KEYBOARD_SC = "https://bitbucket.org/shuerhaaken/xnoise/wiki/KeyBindings";

CfrBrowser.cs (https://github.com/NetDimension/NanUI.git) C# · 352 lines

20 /// <remarks>

21 /// See also the original CEF documentation in

22 /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_browser_capi.h">cef/include/capi/cef_browser_capi.h</see>.

23 /// </remarks>

24 public class CfrBrowser : CfrBaseLibrary {

49 /// <remarks>

50 /// See also the original CEF documentation in

51 /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_browser_capi.h">cef/include/capi/cef_browser_capi.h</see>.

52 /// </remarks>

53 public bool CanGoBack {

66 /// <remarks>

67 /// See also the original CEF documentation in

68 /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_browser_capi.h">cef/include/capi/cef_browser_capi.h</see>.

69 /// </remarks>

70 public bool CanGoForward {

ETLTestValueObjectBuilderTest.java (https://bitbucket.org/bradleysmithllc/etl-unit.git) Java · 358 lines

1 package org.bitbucket.bradleysmithllc.etlunit.parser.test;

2

3 /*

21 */

22

23 import org.bitbucket.bradleysmithllc.etlunit.parser.*;

24 import org.junit.Assert;

25 import org.junit.Test;

org.projectmaxs.transport.xmpp.yml (https://gitlab.com/erics/fdroiddata) YAML · 371 lines

47 - versionName: 0.0.1.4

48 versionCode: 5

49 disable: build tools failure as per [https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20]

50 commit: 0.0.1.4

51 subdir: transport-xmpp

message-queue.js (https://bitbucket.org/EthanLevine/senior-design.git) JavaScript · 115 lines

8 //

9 // For documentation on using this library, see the project's wiki at:

10 // https://bitbucket.org/EthanLevine/senior-design/wiki/message-queue.js

11 var messageQueue = (function () {

12 "use strict";

org.projectmaxs.main.yml (https://gitlab.com/relan/fdroiddata) YAML · 387 lines

47 - versionName: 0.0.1.4

48 versionCode: 5

49 disable: build tools failure as per <a href="https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20">https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20</a>

50 commit: 0.0.1.4

51 subdir: main

Option.java (https://bitbucket.org/tpataky/pd4j.git) Java · 237 lines

1 package org.bitbucket.pd4j.util;

2

3 import java.io.Serializable;

JDBCClient.java (https://bitbucket.org/bradleysmithllc/etl-unit.git) Java · 82 lines

1 package org.bitbucket.bradleysmithllc.etlunit.feature.database;

2

3 /*

21 */

22

23 import org.bitbucket.bradleysmithllc.etlunit.TestExecutionError;

24

25 import javax.inject.Inject;

ResourceFeatureOperation.java (https://bitbucket.org/bradleysmithllc/etl-unit.git) Java · 152 lines

1 package org.bitbucket.bradleysmithllc.etlunit.feature;

2

3 /*

26 import com.github.fge.jsonschema.main.JsonSchema;

27 import com.github.fge.jsonschema.report.ProcessingReport;

28 import org.bitbucket.bradleysmithllc.etlunit.ExecutionContext;

29 import org.bitbucket.bradleysmithllc.etlunit.TestAssertionFailure;

30 import org.bitbucket.bradleysmithllc.etlunit.TestExecutionError;

31 import org.bitbucket.bradleysmithllc.etlunit.TestWarning;

32 import org.bitbucket.bradleysmithllc.etlunit.context.VariableContext;

33 import org.bitbucket.bradleysmithllc.etlunit.parser.ETLTestMethod;

34 import org.bitbucket.bradleysmithllc.etlunit.parser.ETLTestOperation;

35 import org.bitbucket.bradleysmithllc.etlunit.parser.ETLTestValueObject;

acro0.def (https://bitbucket.org/preining/tex-live.git) Module-Definition · 169 lines

6 % --------------------------------------------------------------------------

7 % Clemens Niederberger

8 % Web: https://bitbucket.org/cgnieder/acro/

9 % E-Mail: contact@mychemistry.eu

10 % --------------------------------------------------------------------------

test_branchrestriction.py (https://gitlab.com/ztane/python-bitbucket) Python · 172 lines

1 # -*- coding: utf-8 -*-

2 from test_bitbucketbase import BitbucketFixture

3

4 import json

5 from uritemplate import expand

6 from pybitbucket.bitbucket import Bitbucket

7 from pybitbucket.branchrestriction import (

11

12

13 class BranchRestrictionFixture(BitbucketFixture):

14 # GIVEN: An example repository owner and name

15 owner = 'ianbuchanan'

45 @classmethod

46 def resources_url(cls):

47 bitbucket = Bitbucket(cls.test_client)

48 t = bitbucket.data['_links']['repositoryBranchRestrictions']['href']

exampleYang.groovy (https://bitbucket.org/novakmi/yangbuilder.git) Groovy · 116 lines

2

3 //This is free software licensed under MIT License, see LICENSE file

4 //(https://bitbucket.org/novakmi/yangbuilder/src/LICENSE)

5

6 //If you have Internet connection, use groovy Grab to get dependencies (may take some time for the first time to download jars)

8 //Update nodebuilder, yangbuilder version numbers as needed

9 //adoc-begin - documentation purpose comment

10 @Grab(group = 'org.bitbucket.novakmi', module = 'nodebuilder', version = '1.1.1')

11 @Grab(group = 'org.bitbucket.novakmi', module = 'yangbuilder', version = '1.3.0')

12

13 // This script template represents example of usage without any plugin

14 def builder = new org.bitbucket.novakmi.yangbuilder.YangBuilder(4) // create new builder, indent 4 (default is 2)

15 builder.declareAlias('import_', 'import') //optional alias declaration //<1>

16

43 yngbuild("/* This yang file was generated with groovy YangBuilder on ${new Date().toString()}",

44 indent: true)

45 yngbuild(' see http://bitbucket.org/novakmi/yangbuilder */', indent: true) //<5>

46 yngbuild('') // new line

47

PacientType.java (https://bitbucket.org/medicinaesportivaontologies/client.git) Java · 195 lines

17 * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">

18 * &lt;sequence>

19 * &lt;element name="pacientID" type="{http://medicinaesportivaontologies.bitbucket.org/onto-serv/servei_proves}PacientDATA" minOccurs="0"/>

20 * &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>

21 * &lt;element name="cognom2" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>

import_routing_spec.rb (https://gitlab.com/michold/git-lab-playground) Ruby · 179 lines

105 # status_import_bitbucket GET /import/bitbucket/status(.:format) import/bitbucket#status

106 # callback_import_bitbucket GET /import/bitbucket/callback(.:format) import/bitbucket#callback

107 # realtime_changes_import_bitbucket GET /import/bitbucket/realtime_changes(.:format) import/bitbucket#realtime_changes

108 # import_bitbucket POST /import/bitbucket(.:format) import/bitbucket#create

109 RSpec.describe Import::BitbucketController, 'routing' do

115 end

116

117 # status_import_bitbucket_server GET /import/bitbucket_server/status(.:format) import/bitbucket_server#status

118 # callback_import_bitbucket_server GET /import/bitbucket_server/callback(.:format) import/bitbucket_server#callback

119 # realtime_changes_import_bitbucket_server GET /import/bitbucket_server/realtime_changes(.:format) import/bitbucket_server#realtime_changes

120 # new_import_bitbucket_server GET /import/bitbucket_server/new(.:format) import/bitbucket_server#new

121 # import_bitbucket_server POST /import/bitbucket_server(.:format) import/bitbucket_server#create

122 RSpec.describe Import::BitbucketServerController, 'routing' do

Buttons.jsx (https://gitlab.com/minh_pro4892/adminAnGiGioWeb) JSX · 201 lines

113 <Button bsStyle="link" className="btn-social btn-bitbucket" block>

114 <i className="fa fa-bitbucket"></i> Sign in with Bitbucket

115 </Button>

116 <Button bsStyle="link" className="btn-social btn-dropbox" block>

151

152 <div className="text-center">

153 <Button bsStyle="link" className="btn-social-icon btn-bitbucket">

154 <i className="fa fa-bitbucket"></i>

test-parse.vim (https://github.com/ujihisa/neobundle.vim.git) Vim Script · 137 lines

75 \ 'https://bitbucket.org/ns9tks/vim-fuzzyfinder') ==#

76 \ {'type' : 'hg', 'uri' :

77 \ 'https://bitbucket.org/ns9tks/vim-fuzzyfinder',

78 \ 'name' : 'vim-fuzzyfinder'}

79 Should neobundle#config#parse_path(

80 \ 'bitbucket://bitbucket.org/ns9tks/vim-fuzzyfinder') ==#

81 \ {'type' : 'hg', 'uri' :

82 \ g:neobundle#types#hg#default_protocol.

87 \ {'type' : 'hg', 'uri' :

88 \ g:neobundle#types#hg#default_protocol.

89 \ '://bitbucket.org/ns9tks/vim-fuzzyfinder',

90 \ 'name' : 'vim-fuzzyfinder'}

91 Should neobundle#config#parse_path(

pip.rb (https://github.com/jasherai/cookbooks.git) Ruby · 165 lines

136 # `pip search` doesn't return versions yet

137 # `pip list` may be coming soon:

138 # https://bitbucket.org/ianb/pip/issue/197/option-to-show-what-version-would-be

139 @new_resource.version||'latest'

140 end

Init.scala (https://bitbucket.org/mjacobasch/lecturedoc.git) Scala · 135 lines

1 /*

2 * (c) 2013 Michael Eichberg et al.

3 * https://bitbucket.org/delors/lecturedoc

4 *

5 * See LICENSE and Actuarius-LICSENSE for license details.

exampleCompactYang.groovy (https://bitbucket.org/novakmi/yangbuilder.git) Groovy · 89 lines

2

3 //This is free software licensed under MIT License, see LICENSE file

4 //(https://bitbucket.org/novakmi/yangbuilder/src/LICENSE)

5

6 import org.bitbucket.novakmi.yangbuilder.CompactYangPlugin

10 //Update nodebuilder, yangbuilder version numbers as needed

11 //adoc-begin - documentation purpose comment

12 @Grab(group = 'org.bitbucket.novakmi', module = 'nodebuilder', version = '1.1.1')

13 @Grab(group = 'org.bitbucket.novakmi', module = 'yangbuilder', version = '1.3.0')

18 // default indent of 2 has to be specified if we pass plugin (or list of plugins) in constructor

19 // (other option is to use builder.registerPlugin(new CompactYangPlugin()))

20 def builder = new org.bitbucket.novakmi.yangbuilder.YangBuilder(2, new CompactYangPlugin()) //<1>

21

22 //name of file to generate

35

36 //module's prefix and namespace as attributes '_nl' means new line

37 builder.module(moduleName, pnl_namespace:'http://bitbucket.org/novakmi/yangbuilder', prefix_nl: 'example') { //<3>

38 def makeGrouping = { // this is example how closure can be called be used by the builder

39 grouping('addressPort') {

org.projectmaxs.module.smssend.yml (https://gitlab.com/lsubel/fdroiddata) YAML · 498 lines

3 License: GPL-3.0-or-later

4 WebSite: http://projectmaxs.org/homepage

5 SourceCode: https://bitbucket.org/projectmaxs/maxs

6 Bitcoin: bc1qu482c0tngkcvx3q7mrm8zmuldrh2f2lrh26ym0

7

56 - versionName: 0.0.1.4

57 versionCode: 5

58 disable: build tools failure as per <a href="https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20">https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20</a>

59 commit: 0.0.1.4

60 subdir: module-smssend

PipelineDescription.ts (https://github.com/n8n-io/n8n.git) TypeScript · 229 lines

48 options: [

49 {

50 name: 'Bitbucket',

51 value: 'bitbucket',

boss_trollgore.cpp (https://github.com/Archives/TrinityCore.git) C++ · 187 lines

2 * Copyright (C) 2008 - 2011 Trinity <http://www.trinitycore.org/>

3 *

4 * Copyright (C) 2010 - 2011 Myth Project <http://bitbucket.org/sun/myth-core/>

5 *

6 * Myth Project's source is based on the Trinity Project source, you can find the

Decorator.scala (https://bitbucket.org/delors/lecturedoc.git) Scala · 194 lines

1 /*

2 * (c) 2013 Michael Eichberg et al.

3 * https://bitbucket.org/delors/lecturedoc

4 *

5 * See LICENSE and Actuarius-LICENSE for license details.

main.go (https://bitbucket.org/krepa098/gosfml2.git) Go · 224 lines

10

11 import (

12 sf "bitbucket.org/krepa098/gosfml2"

13 "math"

14 "math/rand"

gem_test.rb (https://github.com/ToadJamb/gems_rake_tasks.git) Ruby · 145 lines

137 s.author = 'Travis Herrick'

138 s.email = 'tthetoad@gmail.com'

139 s.homepage = 'http://www.bitbucket.org/ToadJamb/gems_test_gem'

140

141 s.license = 'LGPLv3'

pull_request_test.go (https://github.com/jesseduffield/lazygit.git) Go · 161 lines

28 {

29 "Returns repository information for http remote url",

30 "https://my_username@bitbucket.org/johndoe/social_network.git",

31 func(repoInfo *RepoInformation) {

32 assert.EqualValues(t, repoInfo.Owner, "johndoe")

54 scenarios := []scenario{

55 {

56 "Opens a link to new pull request on bitbucket",

57 &Branch{

58 Name: "feature/profile-page",

61 // Handle git remote url call

62 if strings.HasPrefix(cmd, "git") {

63 return exec.Command("echo", "git@bitbucket.org:johndoe/social_network.git")

64 }

65

test_install_cleanup.py (https://github.com/msabramo/pip.git) Python · 179 lines

48 '%s#egg=ScriptTest' %

49 local_checkout(

50 'hg+https://bitbucket.org/ianb/scripttest',

51 tmpdir.join("cache"),

52 ),

100 # build dirs

101 # 2 examples of reqs that would do this

102 # 1) https://bitbucket.org/ianb/initools/get/tip.zip

103 # 2) parent-0.1.tar.gz

104 dist = data.packages.join("parent-0.1.tar.gz")

CharSequenceWrapper.java (https://bitbucket.org/dfa/dollar/) Java · 163 lines ✨ Summary

This Java code defines a class CharSequenceWrapper that extends AbstractWrapper<Character>. It provides methods to manipulate and interact with a CharSequence (a sequence of characters), such as repeating, copying, reversing, shuffling, slicing, sorting, and converting to an array. The class also implements the Iterator interface for iterating over the characters in the sequence.

2

3 /*

4 * Dollar, http://bitbucket.org/dfa/dollar

5 * (c) 2010, 2011 Davide Angelocola <davide.angelocola@gmail.com>

6 *

README.md (https://bitbucket.org/ojakovlj/infobip-shorturl.git) Markdown · 108 lines

6

7 * To download the project, open the Git bash in the desired target folder and run

8 ```git clone https://ojakovlj@bitbucket.org/ojakovlj/infobip-shorturl.git```

9 * This project was created using JDK 1.8 and Maven 3.3.9 in IntelliJ IDEA.

10 * Open your IDE of choice and import the project. Maven will download the required dependencies.

README.md (https://gitlab.com/blocknotary/IonicInterviews) Markdown · 132 lines

128 ## Supported hosts

129

130 Currently this supports Github, Bitbucket and Gitlab. Pull requests for

131 additional hosts welcome.

132

pip.rb (https://github.com/flaccid/cookbooks.git) Ruby · 168 lines

137 # `pip search` doesn't return versions yet

138 # `pip list` may be coming soon:

139 # https://bitbucket.org/ianb/pip/issue/197/option-to-show-what-version-would-be

140 @new_resource.version||'latest'

141 end

utils.py (https://github.com/andymckay/zamboni-lib.git) Python · 229 lines

183

184 # Taken from

185 # http://bitbucket.org/runeh/snippets/src/tip/missing_modules.py

186 @contextmanager

187 def mask_modules(*modnames):

developers.rst (https://bitbucket.org/dhellmann/virtualenvwrapper.git) ReStructuredText · 121 lines

5 If you would like to contribute to virtualenvwrapper directly, these

6 instructions should help you get started. Patches, bug reports, and

7 feature requests are all welcome through the `BitBucket site

8 <https://bitbucket.org/virtualenvwrapper/virtualenvwrapper/>`_. Contributions

25 - Sphinx

26 - docutils

27 - sphinxcontrib-bitbucket

28

29 Once all of the tools are installed into a virtualenv using

PropertyGenerator.php (https://github.com/tyoro/tiarraMetro.git) PHP · 217 lines

7 * @category Ekot

8 * @package Ekot

9 * @link http://bitbucket.org/localdisk/ekot/

10 * @author MATSUO Masaru

11 * @copyright 2010 MATSUO Masaru

release-1.6.0.rst (https://github.com/ssadler/pypy.git) ReStructuredText · 95 lines

92 .. _`jitviewer`: http://morepypy.blogspot.com/2011/08/visualization-of-jitted-code.html

93 .. _`bug tracker`: https://bugs.pypy.org

94 .. _`compatibility wiki`: https://bitbucket.org/pypy/compatibility/wiki/Home

95

96

LDAPSocketFactory.java (https://bitbucket.org/openesb/netbeans-soa.git) Java · 111 lines

24 * LDAPSocketfactory is a bespoke socket factory that uses a bespoke context factory.

25 * The class design comes from the Java bug solution provided here

26 * https://bitbucket.org/atlassian/cwd-4444-java-bug-reproducer/src/master/src/main/java/Working.java

27 * Here in the code, we don't use the SSLContext.getDefault() to get a SSL Context

28 * We use the static method LDAPSocketFactory.setSSLContext().

ExtensibleFeatureModule.java (https://bitbucket.org/bradleysmithllc/etl-unit.git) Java · 383 lines

1 package org.bitbucket.bradleysmithllc.etlunit.feature.extend;

2

3 /*

23 import com.fasterxml.jackson.databind.JsonNode;

24 import com.github.fge.jsonschema.main.JsonSchema;

25 import org.bitbucket.bradleysmithllc.etlunit.*;

26 import org.bitbucket.bradleysmithllc.etlunit.context.VariableContext;

27 import org.bitbucket.bradleysmithllc.etlunit.feature.*;

28 import org.bitbucket.bradleysmithllc.etlunit.listener.ClassListener;

29 import org.bitbucket.bradleysmithllc.etlunit.listener.OperationProcessor;

30 import org.bitbucket.bradleysmithllc.etlunit.parser.*;

import_routing_spec.rb (https://gitlab.com/Stretch96/gitlab-ce) Ruby · 176 lines

100 end

101

102 # status_import_bitbucket GET /import/bitbucket/status(.:format) import/bitbucket#status

103 # callback_import_bitbucket GET /import/bitbucket/callback(.:format) import/bitbucket#callback

104 # jobs_import_bitbucket GET /import/bitbucket/jobs(.:format) import/bitbucket#jobs

105 # import_bitbucket POST /import/bitbucket(.:format) import/bitbucket#create

106 describe Import::BitbucketController, 'routing' do

107 it_behaves_like 'importer routing' do

108 let(:except_actions) { [:new] }

109 let(:provider) { 'bitbucket' }

110 end

111 end

BitbucketServerEndpointContainer.java (https://github.com/jenkinsci/blueocean-plugin.git) Java · 122 lines

1 package io.jenkins.blueocean.blueocean_bitbucket_pipeline.server;

2

3 import com.cloudbees.jenkins.plugins.bitbucket.endpoints.AbstractBitbucketEndpoint;

4 import com.cloudbees.jenkins.plugins.bitbucket.endpoints.BitbucketEndpointConfiguration;

89 throw new ServiceException.BadRequestException(new ErrorMessage(400, "Failed to create Bitbucket server endpoint").addAll(errors));

90 }

91 final com.cloudbees.jenkins.plugins.bitbucket.endpoints.BitbucketServerEndpoint endpoint = new com.cloudbees.jenkins.plugins.bitbucket.endpoints.BitbucketServerEndpoint(name, url, false, null);

92 try (ACLContext ctx = ACL.as(ACL.SYSTEM)) {

93 // We need to escalate privilege to add user defined endpoint to

112 Iterator<com.cloudbees.jenkins.plugins.bitbucket.endpoints.BitbucketServerEndpoint> serverEndpoints = Iterators

113 .filter(endpointConfiguration.getEndpoints().iterator(),

114 com.cloudbees.jenkins.plugins.bitbucket.endpoints.BitbucketServerEndpoint.class);

115 return Iterators.transform(serverEndpoints, new Function<AbstractBitbucketEndpoint, ScmServerEndpoint>() {

117 public ScmServerEndpoint apply(AbstractBitbucketEndpoint input) {

118 return new BitbucketServerEndpoint(input, BitbucketServerEndpointContainer.this);

119 }

120 });

arif.py (https://github.com/automl/HpBandSter.git) Python · 157 lines

99 if __name__ == "__main__":

100

101 sys.path.append("/home/sfalkner/repositories/bitbucket/learning_curve_prediction")

102

103

106

107

108 #data = load_configs("/home/sfalkner/repositories/bitbucket/learning_curve_prediction/data/conv_net_cifar10", 256+128)

109 data = load_configs("/home/sfalkner/repositories/bitbucket/learning_curve_prediction/data/fc_net_mnist", 1024)

110 #data = load_configs("/home/sfalkner/repositories/bitbucket/learning_curve_prediction/data/lr_mnist", 1024)

111

112 data = (data[0], data[1][:,:40])

README.md (https://bitbucket.org/paulkish/jtogglecolumn.git) Markdown · 155 lines

5 Example

6 ====

7 ![JToggleColumn](https://bitbucket.org/johonunu/jtogglecolumn/raw/6220c9674443/example.png)

8

9 History

loginProviders.html (https://github.com/frett/cas.git) HTML · 98 lines

36 <span th:case="windowslive" class="fab fa-windows"></span>

37 <span th:case="yahoo" class="fab fa-yahoo"></span>

38 <span th:case="bitbucket" class="fab fa-bitbucket"></span>

39 <span th:case="wordpress" class="fab fa-wordpress"></span>

40 <span th:case="google2" class="fab fa-google-plus"></span>

comparison.zh-cn.md (https://github.com/go-gitea/gitea.git) Markdown · 127 lines

32 #### 主要特性

33

34 | 特性 | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |

35 |-----------------------|-------|------|-----------|-----------|-----------|-----------|--------------|

36 | 开源免费 | ✓ | ✓ | ✘ | ✓ | ✘ | ✘ | ✓ |

55 #### 代码管理

56

57 | 特性 | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |

58 |------------------------------------------|-------|------|-----------|-----------|-----------|-----------|--------------|

59 | 仓库主题描述 | ✓ | ✘ | ✓ | ✓ | ✓ | ✘ | ✘ |

74 #### Issue 管理

75

76 | 特性 | Gitea | Gogs | GitHub EE | GitLab CE | GitLab EE | BitBucket | RhodeCode CE |

77 |----------------------|-------|------|-----------|-----------|-----------|-----------|--------------|

78 | 跟踪 Issue | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✘ |

prism-jsonp-highlight.js (https://github.com/abpframework/abp.git) JavaScript · 206 lines

114 return null;

115 }, 'gist');

116 registerAdapter(function bitbucket(rsp, el) {

117 if (rsp && rsp.node && typeof (rsp.data) === "string") {

118 return rsp.data;

119 }

120 return null;

121 }, 'bitbucket');

122

123 var jsonpcb = 0,

JavaProperty.java (https://bitbucket.org/bradleysmithllc/etl-unit.git) Java · 174 lines

1 package org.bitbucket.bradleysmithllc.etlunit.maven.util;

2

3 /*

22

23 import com.sun.codemodel.*;

24 import org.bitbucket.bradleysmithllc.json.validator.JsonSchemaObjectNode;

25

26 import java.util.List;

user.js (https://bitbucket.org/cfield/adafruit-webide.git) JavaScript · 144 lines

15 };

16

17 // Instructional page that displays the bitbucket setup steps,

18 // and inputs for OAuth and Git config

19 exports.setup = function(req, res) {

30 };

31

32 // Saves the bitbucket and git config setup information in Redis,

33 // submitted as a post from /setup

34 exports.submit_setup = function(req, res) {

60 });

61 } else {

62 client.hmset("bitbucket_oauth", "consumer_key", key, "consumer_secret", secret, function() {

63 common_setup(name, email);

64 });

author-profile.html (https://github.com/jingweno/jingweno.github.com.git) HTML · 263 lines

132 {% if author.bitbucket %}

133 <li>

134 <a href="https://bitbucket.org/{{ author.bitbucket }}" itemprop="sameAs" rel="nofollow noopener noreferrer">

135 <i class="fab fa-fw fa-bitbucket" aria-hidden="true"></i> Bitbucket

__init__.py (https://bitbucket.org/mapdes/ffc.git) Python · 78 lines

26

27 http://www.fenicsproject.org

28 https://bitbucket.org/fenics-project/ufc

29

30 """

posts_model.php (https://bitbucket.org/jo_racingdesign/codecms.git) PHP · 255 lines

8 * @copyright Copyright (c) 2013

9 * @license http://creativecommons.org/licenses/by-sa/3.0/deed.en_US

10 * @link https://bitbucket.org/jsdecena/codecms

11 * @since Version 0.1

12 *

DemoController.php (https://bitbucket.org/agustincl/dlutwbootstrap-demo.git) PHP · 116 lines

10 * @license http://www.zfdaily.com/code/license New BSD License

11 * @link http://www.zfdaily.com

12 * @link https://bitbucket.org/dlu/dlutwbootstrap-demo

13 */

14 class DemoController extends AbstractActionController

readme.template.md (https://gitlab.com/craydent/node-library) Markdown · 144 lines

140 ${declare path=~${suffix}.indexOf('.')?'modules/methods/'+${suffix}.replace('.',''):'modules/'+${suffix}.replace('-','')}

141 * [GitHub](https://github.com/craydent/node-library/${if (${suffix})}${path}${end if})

142 * [BitBucket](https://bitbucket.org/craydent/node-library/${if (${suffix})}${path}${end if})

143 * [GitLab](https://gitlab.com/craydent/node-library/${if (${suffix})}${path}${end if})

144 Craydent is released under the [Dual licensed under the MIT or GPL Version 2 licenses](http://craydent.com/license).<br>

OauthLoginTest.java (https://github.com/digitalfondue/lavagna.git) Java · 133 lines

73 configuration = new OAuthConfiguration("http://baseUrl", Arrays.asList(

74 new OAuthProvider("google", "", ""),

75 new OAuthProvider("bitbucket", "", "")));

76

77 oAuthLogin = new OAuthLogin(users, sessionHandler, configurationFetcher, serviceBuilder, errorPage);

124 List<String> providers = (List<String>) r.get("loginOauthProviders");

125 Assert.assertTrue(providers.contains("google"));

126 Assert.assertTrue(providers.contains("bitbucket"));

127 Assert.assertFalse(providers.contains("github"));

128 Assert.assertFalse(providers.contains("twitter"));

org.projectmaxs.module.smssend.yml (https://gitlab.com/fzurita/fdroiddata) YAML · 423 lines

58 - versionName: 0.0.1.4

59 versionCode: 5

60 disable: build tools failure as per [https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20]

61 commit: 0.0.1.4

62 subdir: module-smssend

Makefile (https://bitbucket.org/qmpstudios/rrg_nf.git) Makefile · 452 lines

37

38 # The top-level source directory on which CMake was run.

39 CMAKE_SOURCE_DIR = /home/mateusz/ros/RRG_bitbucket/rrg_nf

40

41 # The top-level build directory on which CMake was run.

42 CMAKE_BINARY_DIR = /home/mateusz/ros/RRG_bitbucket/rrg_nf/build

43

44 #=============================================================================

67 # The main all target

68 all: cmake_check_build_system

69 $(CMAKE_COMMAND) -E cmake_progress_start /home/mateusz/ros/RRG_bitbucket/rrg_nf/build/CMakeFiles /home/mateusz/ros/RRG_bitbucket/rrg_nf/build/CMakeFiles/progress.marks

70 $(MAKE) -f CMakeFiles/Makefile2 all

71 $(CMAKE_COMMAND) -E cmake_progress_start /home/mateusz/ros/RRG_bitbucket/rrg_nf/build/CMakeFiles 0

os-fence.h (https://gitlab.com/wustl-pctg-pub/cilkplus-rts) C Header · 83 lines

41 * time that a new version is released. Changes only submitted to the

42 * GNU compiler collection or posted to the git repository at

43 * https://bitbucket.org/intelcilkplusruntime/itnel-cilk-runtime.git are

44 * not tracked.

45 *

oauth2.go (https://github.com/go-gitea/gitea.git) Go · 141 lines

23 // value is used to store display data

24 var OAuth2Providers = map[string]OAuth2Provider{

25 "bitbucket": {Name: "bitbucket", DisplayName: "Bitbucket", Image: "/img/auth/bitbucket.png"},

26 "dropbox": {Name: "dropbox", DisplayName: "Dropbox", Image: "/img/auth/dropbox.png"},

27 "facebook": {Name: "facebook", DisplayName: "Facebook", Image: "/img/auth/facebook.png"},

hacking.rst (https://bitbucket.org/sjl/hg-review/) ReStructuredText · 160 lines ✨ Summary

This is a documentation for hg-review, a Mercurial extension. It explains how to contribute to the project, including coding style guidelines, commit messages, testing, and backwards compatibility. It also describes the project’s structure, testing process, and documentation format. The goal is to provide clear instructions for potential contributors to improve the project.

5

6 The easiest way is to make some changes, push them somewhere public and send

7 a pull request on Bitbucket (or `email Steve <mailto:steve@stevelosh.com>`_).

8

9 Rough Guidelines

CCSlider.h (https://github.com/aliHafizji/cocos2d-iphone-extensions.git) C Header · 126 lines

7 * Copyright (c) 2011 Israel Roth

8 * http://srooltheknife.blogspot.com/

9 * https://bitbucket.org/iroth_net/ccslider

10 *

11 * Copyright (c) 2011 Stepan Generalov

PropertiesI.html (https://gitlab.com/unclecheese/openstack-scratchpad) HTML · 20 lines

12

13

14 <div id="IPageLogo"><div class="nav"><a class="nav" href="../../index.php"><span>&gt;</span>Home</a><a class="nav" href="../../tests/"><span>&gt;</span>Examples</a><a class="nav" href="../../docs/"><span>&gt;</span>Docs</a><a class="nav" href="http://bitbucket.org/cleonello/jqplot/downloads/"><span>&gt;</span>Download</a><a class="nav" href="../../info.php"><span>&gt;</span>Info</a><a class="nav" href="../../donate.php"><span>&gt;</span>Donate</a></div></div><div id=Index><div class=SRStatus id=Loading>Loading...</div><table border=0 cellspacing=0 cellpadding=0><div class=SRResult id=SR_index><div class=IEntry><a href="../files/jqplot-core-js.html#Series.index" target=_parent class=ISymbol>index</a>, <span class=IParent>Series</span></div></div><div class=SRResult id=SR_innerDiameter><div class=IEntry><a href="../files/plugins/jqplot-donutRenderer-js.html#$.jqplot.DonutRenderer.innerDiameter" target=_parent class=ISymbol>innerDiameter</a>, <span class=IParent>$.jqplot.<wbr>DonutRenderer</span></div></div><div class=SRResult id=SR_insertBreaks><div class=IEntry><a href="../files/plugins/jqplot-blockRenderer-js.html#$.jqplot.BlockRenderer.insertBreaks" target=_parent class=ISymbol>insertBreaks</a>, <span class=IParent>$.jqplot.<wbr>BlockRenderer</span></div></div><div class=SRResult id=SR_intersectionThreshold><div class=IEntry><a href="../files/plugins/jqplot-cursor-js.html#$.jqplot.Cursor.intersectionThreshold" target=_parent class=ISymbol>intersectionThreshold</a>, <span class=IParent>$.jqplot.<wbr>Cursor</span></div></div><div class=SRResult id=SR_interval><div class=IEntry><a href="../files/jqplot-lineRenderer-js.html#$.jqplot.LineRenderer.interval" target=_parent class=ISymbol>interval</a>, <span class=IParent>$.jqplot.<wbr>LineRenderer</span></div></div><div class=SRResult id=SR_intervalColors><div class=IEntry><a href="../files/plugins/jqplot-meterGaugeRenderer-js.html#$.jqplot.MeterGaugeRenderer.intervalColors" target=_parent class=ISymbol>intervalColors</a>, <span class=IParent>$.jqplot.<wbr>MeterGaugeRenderer</span></div></div><div class=SRResult id=SR_intervalInnerRadius><div class=IEntry><a href="../files/plugins/jqplot-meterGaugeRenderer-js.html#$.jqplot.MeterGaugeRenderer.intervalInnerRadius" target=_parent class=ISymbol>intervalInnerRadius</a>, <span class=IParent>$.jqplot.<wbr>MeterGaugeRenderer</span></div></div><div class=SRResult id=SR_intervalOuterRadius><div class=IEntry><a href="../files/plugins/jqplot-meterGaugeRenderer-js.html#$.jqplot.MeterGaugeRenderer.intervalOuterRadius" target=_parent class=ISymbol>intervalOuterRadius</a>, <span class=IParent>$.jqplot.<wbr>MeterGaugeRenderer</span></div></div><div class=SRResult id=SR_intervals><div class=IEntry><a href="../files/plugins/jqplot-meterGaugeRenderer-js.html#$.jqplot.MeterGaugeRenderer.intervals" target=_parent class=ISymbol>intervals</a>, <span class=IParent>$.jqplot.<wbr>MeterGaugeRenderer</span></div></div><div class=SRResult id=SR_isarc><div class=IEntry><a href="javascript:searchResults.Toggle('SR_isarc')" class=ISymbol>isarc</a><div class=ISubIndex><a href="../files/jqplot-shadowRenderer-js.html#$.jqplot.shadowRenderer.isarc" target=_parent class=IParent>$.jqplot.<wbr>shadowRenderer</a><a href="../files/jqplot-shapeRenderer-js.html#$.jqplot.shapeRenderer.isarc" target=_parent class=IParent>$.jqplot.<wbr>shapeRenderer</a></div></div></div><div class=SRResult id=SR_isMinorTick><div class=IEntry><a href="javascript:searchResults.Toggle('SR_isMinorTick')" class=ISymbol>isMinorTick</a><div class=ISubIndex><a href="../files/jqplot-axisTickRenderer-js.html#$.jqplot.AxisTickRenderer.isMinorTick" target=_parent class=IParent>$.jqplot.<wbr>AxisTickRenderer</a><a href="../files/plugins/jqplot-canvasAxisTickRenderer-js.html#$.jqplot.CanvasAxisTickRenderer.isMinorTick" target=_parent class=IParent>$.jqplot.<wbr>CanvasAxisTickRenderer</a></div></div></div></table><div class=SRStatus id=Searching>Searching...</div><div class=SRStatus id=NoMatches>No Matches</div><script type="text/javascript"><!--

15 document.getElementById("Loading").style.display="none";

16 document.getElementById("NoMatches").style.display="none";

README.adoc (https://github.com/easyw/kicad-3d-models-in-freecad.git) AsciiDoc · 115 lines

42 models in X3D format. +

43 author *hyOzd* +

44 author site: link:https://bitbucket.org/hyOzd/freecad-macros/[]

45

46 ## requirements ## +

94 +

95 starting from work of author *hyOzd* +

96 author site: link:https://bitbucket.org/hyOzd/freecad-macros/[] +

97

98 [[copyright]]

bitbucket.md (https://github.com/gitlabhq/gitlabhq.git) Markdown · 115 lines

9

10 NOTE:

11 The Bitbucket Cloud importer works only with [Bitbucket.org](https://bitbucket.org/), not with Bitbucket

12 Server (aka Stash). If you are trying to import projects from Bitbucket Server, use

34 ## Prerequisite for GitLab self-managed

35

36 To import your projects from Bitbucket Cloud, the [Bitbucket Cloud integration](../../../integration/bitbucket.md)

37 must be enabled. If it isn't enabled, ask your GitLab administrator to enable it. By default it's

38 enabled on GitLab.com.

40 ## How it works

41

42 When issues/pull requests are being imported, the Bitbucket importer uses the Bitbucket nickname of

43 the author/assignee and tries to find the same Bitbucket identity in GitLab. If they don't match or

88 If you've accidentally started the import process with the wrong account, follow these steps:

89

90 1. Revoke GitLab access to your Bitbucket account, essentially reversing the process in the following procedure: [Import your Bitbucket repositories](#import-your-bitbucket-repositories).

91

92 1. Sign out of the Bitbucket account. Follow the procedure linked from the previous step.

social-ie7.css (https://github.com/evocateur/yui3-gallery.git) CSS · 42 lines

36 i.itsaicon-social-drupal { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&nbsp;&#xe822;&nbsp;'); }

37 i.itsaicon-social-github { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&nbsp;&#xe81b;&nbsp;'); }

38 i.itsaicon-social-bitbucket { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&nbsp;&#xe823;&nbsp;'); }

39 i.itsaicon-social-call2 { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&nbsp;&#xe829;&nbsp;'); }

40 i.itsaicon-social-headphones { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&nbsp;&#xe828;&nbsp;'); }

Makefile (https://github.com/SynoCommunity/spksrc.git) Makefile · 130 lines

3 PKG_EXT = tar.gz

4 PKG_DIST_NAME = $(PKG_NAME)_$(PKG_VERS).$(PKG_EXT)

5 PKG_DIST_SITE = https://bitbucket.org/multicoreware/x265_git/downloads

6 PKG_DIR = $(PKG_NAME)_$(PKG_VERS)/source

7

response.php (https://bitbucket.org/slogsdon/unamed.git) PHP · 200 lines

7 * @author Shane Logsdon <shane.a.logsdon@gmail.com>

8 * @license MIT http://mit.edu/

9 * @link http://bitbucket.org/slogsdon/unamed

10 */

11

20 * @author Shane Logsdon <shane.a.logsdon@gmail.com>

21 * @license MIT http://mit.edu/

22 * @link http://bitbucket.org/slogsdon/unamed

23 * @since 1.0

24 */

DatabaseRuntimeSupport.java (https://bitbucket.org/bradleysmithllc/etl-unit.git) Java · 126 lines

1 package org.bitbucket.bradleysmithllc.etlunit.feature.database;

2

3 /*

21 */

22

23 import org.bitbucket.bradleysmithllc.etlunit.TestExecutionError;

24 import org.bitbucket.bradleysmithllc.etlunit.context.VariableContext;

25 import org.bitbucket.bradleysmithllc.etlunit.feature.database.db.Database;

26 import org.bitbucket.bradleysmithllc.etlunit.feature.database.db.Table;

27 import org.bitbucket.bradleysmithllc.etlunit.feature.file.FileRuntimeSupport;

28 import org.bitbucket.bradleysmithllc.etlunit.feature.file.RequestedFmlNotFoundException;

29 import org.bitbucket.bradleysmithllc.etlunit.io.file.DataFileSchema;

30 import org.bitbucket.bradleysmithllc.etlunit.io.file.reference_file_type.ReferenceFileTypeRef;

environment_manager.rb (https://gitlab.com/JuanitoFatas/danger) Ruby · 122 lines

88 elsif repo_url =~ /gitlab/i

89 RequestSources::GitLab

90 elsif repo_url =~ /bitbucket\.(org|com)/i

91 RequestSources::BitbucketCloud

org.projectmaxs.module.smsnotify.yml (https://gitlab.com/erics/fdroiddata) YAML · 441 lines

58 - versionName: 0.0.1.4

59 versionCode: 5

60 disable: build tools failure as per [https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20]

61 commit: 0.0.1.4

62 subdir: module-smsnotify

test_version.py (https://github.com/explosion/srsly.git) Python · 175 lines

118

119 class TestIssue62:

120 # bitbucket issue 62, issue_62

121 def test_00(self):

122 import srsly.ruamel_yaml # NOQA

gitProvider.test.js (https://github.com/ziyasal/vscode-open-in-github.git) JavaScript · 274 lines

121 });

122

123 suite('Bitbucket', function () {

124 const remoteUrl = `https://bitbucket.org/${userName}/${repoName}.git`;

128 suite('#webUrl(branch, filePath)', function () {

129 test('should returns file URL', function () {

130 const expectedUrl = `https://bitbucket.org/${userName}/${repoName}/src/${sha}${filePath}`;

131 const webUrl = provider.webUrl(branch, filePath);

132 expect(webUrl).to.equal(expectedUrl);

136 suite('#webUrl(branch, filePath, line)', function () {

137 test('should returns file URL with line hash', function () {

138 const expectedUrl = `https://bitbucket.org/${userName}/${repoName}/src/${sha}${filePath}#${fileName}-${line}`;

139 const webUrl = provider.webUrl(branch, filePath, line);

140 expect(webUrl).to.equal(expectedUrl);

144 suite('#webUrl(branch)', function () {

145 test('should returns repository root URL', function () {

146 const expectedUrl = `https://bitbucket.org/${userName}/${repoName}/src/${sha}`;

147 const webUrl = provider.webUrl(branch, '');

148 expect(webUrl).to.equal(expectedUrl);

helpers.test.ts (https://github.com/backstage/backstage.git) TypeScript · 183 lines

15 */

16

17 import { BitbucketIntegration } from './bitbucket';

18 import {

19 basicIntegrations,

25 describe('byUrl', () => {

26 it('handles hosts without a port', () => {

27 const integration = new BitbucketIntegration({ host: 'host.com' });

28 const integrations = basicIntegrations<BitbucketIntegration>(

34 });

35 it('handles hosts with a port', () => {

36 const integration = new BitbucketIntegration({ host: 'host.com:8080' });

37 const integrations = basicIntegrations<BitbucketIntegration>(

ValidationUtil.java (https://bitbucket.org/sdorra/scm-manager/) Java · 191 lines

26 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

27 *

28 * http://bitbucket.org/sdorra/scm-manager

29 *

30 */

auth.php (https://bitbucket.org/bfontecc/platonicaether.git) PHP · 204 lines

12 * salting and hashing is done during query preparation

13 *

14 * written in 2012, accessed from bitbucket

15 * https://bitbucket.org/bfontecc/project1/src/2b818b8a6133/models/db_model.php?at=master

repo_index_test.sh (https://github.com/ndbroadbent/scm_breeze.git) Shell · 212 lines

37 cd $GIT_REPO_DIR

38 # Setup test repos in temp repo dir

39 for repo in github bitbucket source_forge TestCaps; do

40 mkdir $repo

41 cd $repo

105 assertIncludes "$(index_no_newlines)" $(

106 cat <<EXPECT | sort -t "." -k1,1 | tr -d '\n' | awk '{print ".*"$1}'

107 bitbucket.*

108 blue_submodule.*

109 github.*

137 ensureIndex

138 list=$(git_index --list)

139 assertIncludes "$list" "bitbucket" || return

140 assertIncludes "$list" "blue_submodule" || return

141 assertIncludes "$list" "test_repo_11"

ClassProvider.php (https://github.com/wheatbin/wheatbin.git) PHP · 154 lines

110 ),

111 'Integration' => array(

112 'BitbucketWebhook',

113 'GithubWebhook',

114 'GitlabWebhook',

PullRequestImporter.java (https://bitbucket.org/neomatrix369/betterrev.git) Java · 152 lines

19

20 /**

21 * This Class is responsible for importing BitBucket pullrequests into the Betterrev application.

22 */

23 public final class PullRequestImporter extends BetterrevActor {

47 private Contribution convertJsonNodeIntoContribution(JsonNode requestNode, String repositoryId) {

48 String requestId = requestNode.get("id").asText();

49 Contribution contribution = Contribution.findByBitbucketIds(repositoryId, requestId);

50 DateTime updatedOn = getDateTime(requestNode, "updated_on");

51 if (contribution == null) {

100 branchName);

101 contribution.save();

102 Logger.debug(String.format("Created new Contribution - id: %s, bitbucket username: %s", requestId, user.bitbucketUserName));

103 publishContributionGeneratedEvent(contribution, "");

104 return contribution;

profiles.less (https://bitbucket.org/samdunne/syte-rails.git) LESS · 605 lines

215 }

216

217 //Github and Bitbucket Profile

218 .profile-repos {

219 list-style: none;

TagApi.java (https://github.com/cdancy/bitbucket-rest.git) Java · 96 lines

24 import com.cdancy.bitbucket.rest.fallbacks.BitbucketFallbacks;

25 import com.cdancy.bitbucket.rest.filters.BitbucketAuthenticationFilter;

26 import com.cdancy.bitbucket.rest.options.CreateTag;

62

63 @Named("tag:get")

64 @Documentation({"https://developer.atlassian.com/static/rest/bitbucket-server/latest/bitbucket-rest.html#idm45888278800832"})

65 @Consumes(MediaType.APPLICATION_JSON)

66 @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/tags/{tag}")

72

73 @Named("tag:list")

74 @Documentation({"https://docs.atlassian.com/bitbucket-server/rest/5.7.0/bitbucket-rest.html#idm45568367769888"})

75 @Consumes(MediaType.APPLICATION_JSON)

76 @Path("/api/{jclouds.api-version}/projects/{project}/repos/{repo}/tags")

85

86 @Named("tag:delete")

87 @Documentation({"https://docs.atlassian.com/bitbucket-server/rest/5.4.0/bitbucket-git-rest.html#idm139355817865616"})

88 @Consumes(MediaType.APPLICATION_JSON)

89 @Path("/git/{jclouds.api-version}/projects/{project}/repos/{repo}/tags/{tag}")

DefaultReviewersApi.java (https://github.com/cdancy/bitbucket-rest.git) Java · 91 lines

50

51 @Named("default-reviewers:list-conditions")

52 @Documentation({"https://developer.atlassian.com/static/rest/bitbucket-server/latest/bitbucket-default-reviewers-rest.html#idm46188393150720"})

53 @Consumes(MediaType.APPLICATION_JSON)

54 @Path("/{project}/repos/{repo}/conditions")

68

69 @Named("default-reviewers:update-condition")

70 @Documentation({"https://developer.atlassian.com/static/rest/bitbucket-server/latest/bitbucket-default-reviewers-rest.html#idm46188393163680"})

71 @Consumes(MediaType.APPLICATION_JSON)

72 @Path("/{project}/repos/{repo}/condition/{id}")

79

80 @Named("default-reviewers:delete-condition")

81 @Documentation({"https://developer.atlassian.com/static/rest/bitbucket-server/latest/bitbucket-default-reviewers-rest.html#idm46188393163680"})

82 @Consumes(MediaType.APPLICATION_JSON)

83 @Path("/{project}/repos/{repo}/condition/{id}")

oauth_consumer_token.go (https://github.com/ovh/cds.git) Go · 197 lines

1 package bitbucketserver

2

3 import (

161 }

162

163 func (c *bitbucketConsumer) RequestToken() (*RequestToken, error) {

164 // create the http request to fetch a Request Token.

165 requestTokenURL, _ := url.Parse(c.requestTokenURL)

client_commit.go (https://github.com/ovh/cds.git) Go · 188 lines

1 package bitbucketserver

2

3 import (

11 )

12

13 func (b *bitbucketClient) Commits(ctx context.Context, repo, branch, since, until string) ([]sdk.VCSCommit, error) {

14 commits := []sdk.VCSCommit{}

15 project, slug, err := getRepo(repo)

20 stashCommits := []Commit{}

21

22 var stashCommitsKey = cache.Key("vcs", "bitbucket", b.consumer.URL, repo, "commits", "since@"+since, "until@"+until)

23

24 find, err := b.consumer.cache.Get(stashCommitsKey, &stashCommits)

85 }

86

87 func (b *bitbucketClient) Commit(ctx context.Context, repo, hash string) (sdk.VCSCommit, error) {

88 commit := sdk.VCSCommit{}

89 project, slug, err := getRepo(repo)

GitRescopeAnalyzerMockTest.java (https://bitbucket.org/atlassian/stash-auto-unapprove-plugin.git) Java · 161 lines

1 package com.atlassian.bitbucket.internal.unapprove;

2

3 import com.atlassian.bitbucket.ResourceBusyException;

4 import com.atlassian.bitbucket.i18n.KeyedMessage;

5 import com.atlassian.bitbucket.pull.PullRequest;

6 import com.atlassian.bitbucket.repository.Repository;

7 import com.atlassian.bitbucket.scm.CommandCanceledException;

8 import com.atlassian.bitbucket.scm.git.GitScm;

9 import com.atlassian.bitbucket.scm.git.command.GitCommand;

10 import com.atlassian.bitbucket.scm.git.command.GitCommandBuilderFactory;

11 import org.junit.Before;

12 import org.junit.Test;

laSistEvents.xsd (https://bitbucket.org/teraxas/vu-mif-ps-it-2013.git) XML Schema · 138 lines

1 <?xml version="1.0"?>

2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

3 xmlns:bb="https://bitbucket.org/teraxas/vu-mif-ps-oop2-2012-lazsist"

4 targetNamespace="https://bitbucket.org/teraxas/vu-mif-ps-oop2-2012-lazsist"

halconfig.yml (https://github.com/armory/spinnaker-operator.git) YAML · 244 lines

179 enabled: false

180 artifacts:

181 bitbucket:

182 enabled: false

183 accounts: []

user.js (https://gitlab.com/vectorci/e2e-ui-example) JavaScript · 154 lines

1 var helper = require('./../module/helper.js');

2 var github = require('./../providers/github.js');

3 var bitbucket = require('../providers/bitbucket.js');

4 var cst = require('./../module/utils.js');

5

27 signIn({

28 'github':{'xpath': constant.XPATH_GITHUB_SIGNIN},

29 'bitbucket':{'xpath': constant.XPATH_BITBUCKET_SIGNIN}

30 }, callback);

31 }, function() {

35 signIn({

36 'github':{'xpath': constant.XPATH_GITHUB_SIGNUP},

37 'bitbucket':{'xpath': constant.XPATH_BITBUCKET_SIGNUP}

38 }, callback);

39 } else {

shlobj.go (https://github.com/winlabs/gowin32.git) Go · 136 lines

33 CSIDL_RECENT = 0x0008

34 CSIDL_SENDTO = 0x0009

35 CSIDL_BITBUCKET = 0x000a

36 CSIDL_STARTMENU = 0x000b

37 CSIDL_MYDOCUMENTS = CSIDL_PERSONAL

Makefile (https://gitlab.com/ztane/python-bitbucket) Makefile · 153 lines

78 @echo "Build finished; now you can run "qcollectiongenerator" with the" \

79 ".qhcp project file in $(BUILDDIR)/qthelp, like this:"

80 @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/PyBitbucket.qhcp"

81 @echo "To view the help file:"

82 @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/PyBitbucket.qhc"

87 @echo "Build finished."

88 @echo "To view the help file:"

89 @echo "# mkdir -p $HOME/.local/share/devhelp/PyBitbucket"

90 @echo "# ln -s $(BUILDDIR)/devhelp $HOME/.local/share/devhelp/PyBitbucket"

parse.spec.js (https://gitlab.com/adriancarayol/django-angular2) JavaScript · 303 lines

172 t.end();

173 });

174 t.test('parse bitbucket', function (t) {

175 var actual = parse_1.parseDependency('bitbucket:foo/bar');

176 var expected = {

177 raw: 'bitbucket:foo/bar',

178 type: 'bitbucket',

184 sha: 'master'

185 },

186 location: 'https://bitbucket.org/foo/bar/raw/master/' + config_1.CONFIG_FILE

187 };

188 t.deepEqual(actual, expected);

189 t.end();

190 });

191 t.test('parse bitbucket and append config file to path', function (t) {

192 var actual = parse_1.parseDependency('bitbucket:foo/bar/dir');

simple-usage-html.mustache (https://github.com/jafl/yui3-gallery.git) Mustache · 42 lines

1 <button class="pure-button itsabutton-bordered"><i class="itsaicon-social-amazon"></i></button>

2 <button class="pure-button itsabutton-bordered"><i class="itsaicon-social-android"></i></button>

3 <button class="pure-button itsabutton-bordered"><i class="itsaicon-social-bitbucket"></i></button>

4 <button class="pure-button itsabutton-bordered"><i class="itsaicon-social-bitcoin"></i></button>

5 <button class="pure-button itsabutton-bordered"><i class="itsaicon-social-blogger"></i></button>

README.md (https://github.com/mindrunner/docker-android-sdk.git) Markdown · 50 lines

42

43 **Standalone**

44 This is the standard expected behaviour. The Android SDK is integrated in the docker image. Use this in your android build on CircleCI, Bitbucket Pipelines, or any other docker enabled CI.

45

46 **Lazydl**

transport.go (https://bitbucket.org/taruti/ssh.go/) Go · 237 lines ✨ Summary

This Go code implements a basic SSH client and server connection protocol. It reads and writes packets, handles key exchange, and verifies packet integrity using MAC (Message Authentication Code) values. The code also parses KexInit messages to extract encryption parameters. It uses cryptographic primitives like cipher and hash functions for secure communication.

2

3 import (

4 "bitbucket.org/taruti/bigendian"

5 "bufio"

6 "bytes"

my-post-receive-repository-hook.soy (https://bitbucket.org/HeadOnAPlate/slyoldfox_notifier.git) Closure Template · 122 lines

52 {param value: $config ? $config['mailFromTemplate'] : null /}

53 {param labelContent}

54 <a href="https://bitbucket.org/slyoldfox/notifier/src/b160edc865961baed7861b1b7dc5b1bfe1587fb5/src/main/resources/templates/notifyemailfrom.vm" target="_blank">Example</a>

55 {/param}

56 {param descriptionText: 'The velocity template that generates the "From"' /}

69 {param value: $config ? $config['mailSubjectTemplate'] : null /}

70 {param labelContent}

71 <a href="https://bitbucket.org/slyoldfox/notifier/src/b160edc865961baed7861b1b7dc5b1bfe1587fb5/src/main/resources/templates/notifyemailsubject.vm" target="_blank">Example</a>

72 {/param}

73 {param descriptionText: 'The velocity template that generates the "Subject"' /}

86 {param value: $config ? $config['mailBodyTemplate'] : null /}

87 {param labelContent}

88 <a href="https://bitbucket.org/slyoldfox/notifier/src/b160edc865961baed7861b1b7dc5b1bfe1587fb5/src/main/resources/templates/notifyemail.vm" target="_blank">Example</a>

89 {/param}

90 {param descriptionText: 'The velocity template that generates the mail body' /}

test_build.py (https://gitlab.com/ztane/python-bitbucket) Python · 163 lines

9 from pybitbucket.build import BuildStatus, BuildStatusStates

10 from pybitbucket.bitbucket import Client

11 from pybitbucket.commit import Commit

54 sha = '61d9e64348f9da407e62f64726337fd3bb24b466'

55 url = (

56 self.client.get_bitbucket_url() +

57 '/2.0/repositories/' +

58 owner + '/' + repository_name +

89 key = 'BAMBOO-PROJECT-X'

90 url = (

91 'https://api.bitbucket.org' +

92 '/2.0/repositories/' +

93 owner + '/' + repository_name +

118 key = 'BAMBOO-PROJECT-X'

119 url = (

120 'https://api.bitbucket.org' +

121 '/2.0/repositories/' +

122 owner + '/' + repository_name +

repository-settings-panel.js (https://bitbucket.org/kostmo/stash-plugins.git) JavaScript · 206 lines

2 'jquery',

3 'aui',

4 'bitbucket/internal/util/ajax',

5 'bitbucket/internal/model/page-state',

6 'bitbucket/internal/util/error',

7 'exports'

8 ], function (

scm.go (https://github.com/caicloud/cyclone.git) Go · 192 lines

116

117 switch scmType {

118 case v1alpha1.GitHub, v1alpha1.GitLab, v1alpha1.Bitbucket:

119 // If username and password is provided, generate the new token.

120 if len(config.User) != 0 && len(config.Password) != 0 {

org.projectmaxs.module.smsnotify.yml (https://gitlab.com/m0ppers/fdroiddata) YAML · 456 lines

58 - versionName: 0.0.1.4

59 versionCode: 5

60 disable: build tools failure as per <a href="https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20">https://bitbucket.org/projectmaxs/maxs/commits/7750c9add95016294c5be9afd84a8de4834f7f20</a>

61 commit: 0.0.1.4

62 subdir: module-smsnotify

repositories.py (git://github.com/ducksboard/libsaas.git) Python · 198 lines

5

6

7 class Repos(resource.BitBucketResource):

8

9 path = 'repositories'

53

54

55 class Repo(resource.BitBucketResource):

56

57 def __init__(self, parent, user, repo):