Home
last modified time | relevance | path

Searched refs:branch_name (Results 1 – 25 of 1200) sorted by relevance

12345678910>>...48

/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/support/helpers/
H A Dposition_tracer_helpers.rb52 def create_branch(new_name, branch_name) argument
60 start_branch: branch_name,
61 branch_name: branch_name,
66 project.commit(branch_name)
73 start_branch: branch_name,
74 branch_name: branch_name,
79 project.commit(branch_name)
82 def delete_file(branch_name, file_name) argument
86 start_branch: branch_name,
87 branch_name: branch_name,
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/support/shared_examples/quick_actions/issue/
H A Dcreate_merge_request_quick_action_shared_examples.rb5 def expect_mr_quickaction(success, branch_name = nil) argument
6 command_message = if branch_name
22 branch_name = 'invalid branch name'
23 add_note("/create_merge_request #{branch_name}")
25 expect_mr_quickaction(false, branch_name)
29 branch_name = 'feature'
30 add_note("/create_merge_request #{branch_name}")
32 expect_mr_quickaction(false, branch_name)
48 branch_name = '1-feature'
49 add_note("/create_merge_request #{branch_name}")
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/checks/
H A Dbranch_check.rb28 return unless branch_name
31 if deletion? && branch_name == project.default_branch
46 if branch_name =~ /\A\h{40}\z/
53 …return unless ProtectedBranch.protected?(project, branch_name) # rubocop:disable Cop/AvoidReturnFr…
55 if forced_push? && !ProtectedBranch.allow_force_push?(project, branch_name)
73 break if user_access.can_push_to_branch?(branch_name)
75 unless user_access.can_merge_to_branch?(branch_name)
91 unless user_access.can_delete_branch?(branch_name)
104 …unless user_access.can_merge_to_branch?(branch_name) || user_access.can_push_to_branch?(branch_nam…
108 unless user_access.can_push_to_branch?(branch_name)
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/views/shared/
H A D_new_commit_form.html.haml2 - branch_name = selected_branch
8 = hidden_field_tag 'branch_name', ref, class: 'js-branch-name'
12 = label_tag 'branch_name', _('Target Branch'), class: 'col-form-label col-sm-2'
14 …= text_field_tag 'branch_name', branch_name, required: true, class: "form-control gl-form-input js…
18 - elsif project.can_current_user_push_to_branch?(branch_name)
19 = hidden_field_tag 'branch_name', branch_name
21 = hidden_field_tag 'branch_name', branch_name
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/requests/api/
H A Dprotected_branches_spec.rb70 expect(json_response['name']).to eq(branch_name)
123 expect(json_response['name']).to eq(branch_name)
132 post post_endpoint, params: { name: branch_name }
135 expect(json_response['name']).to eq(branch_name)
145 expect(json_response['name']).to eq(branch_name)
155 expect(json_response['name']).to eq(branch_name)
165 expect(json_response['name']).to eq(branch_name)
175 expect(json_response['name']).to eq(branch_name)
185 expect(json_response['name']).to eq(branch_name)
195 expect(json_response['name']).to eq(branch_name)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/
H A Dgit_new_branch.py17 branch_name, upstream_current=False, upstream=None, inject_current=False): argument
27 git_common.run('checkout', '--track', above, '-b', branch_name)
28 git_common.run('branch', '--set-upstream-to', branch_name, below)
30 git_common.run('checkout', '--track', '-b', branch_name)
35 'checkout', '--no-track', '-b', branch_name,
37 git_common.set_config('branch.%s.remote' % branch_name, '.')
38 git_common.set_config('branch.%s.merge' % branch_name, upstream)
42 git_common.run('checkout', '--track', upstream, '-b', branch_name)
43 git_common.get_or_create_merge_base(branch_name)
48 sys.stderr.write('Switched to branch %s.\n' % branch_name)
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/merge_requests/
H A Dget_urls_service.rb39 branch_name = Gitlab::Git.branch_name(change[:ref])
40 next if branch_name == project.default_branch
42 branch_name
46 def url_for_new_merge_request(branch_name) argument
47 merge_request_params = { source_branch: branch_name }
49 { branch_name: branch_name, url: url, new_merge_request: true }
55 { branch_name: merge_request.source_branch, url: url, new_merge_request: false }
/dports/devel/monotone/monotone-1.1/src/
H A Dproject.hh86 mutable std::map<std::pair<branch_name, suspended_indicator>,
89 mutable std::set<branch_name> branches;
95 void get_branch_list(std::set<branch_name> & names,
97 void get_branch_list(globish const & glob, std::set<branch_name> & names,
109 branch_name const & branch);
114 branch_name const & branch);
125 outdated_indicator get_branch_certs(branch_name const & branch,
130 branch_name const & branch,
138 branch_name const & branch,
191 notify_if_multiple_heads(project_t & project, branch_name const & branchname,
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/issues/
H A Drelated_branches_service.rb9 branch_names.map { |branch_name| branch_data(branch_name) }
14 def branch_data(branch_name) argument
16 name: branch_name,
17 pipeline_status: pipeline_status(branch_name)
21 def pipeline_status(branch_name) argument
22 branch = project.repository.find_branch(branch_name)
27 pipeline = project.latest_pipeline(branch_name, target.sha)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/branches/
H A Dcreate_service.rb5 def execute(branch_name, ref, create_default_branch_if_empty: true) argument
8 result = ::Branches::ValidateNewService.new(project).execute(branch_name)
13 new_branch = repository.add_branch(current_user, branch_name, ref)
15 return error("Failed to create branch '#{branch_name}': #{e}")
21 error("Failed to create branch '#{branch_name}': invalid reference name '#{ref}'")
24 …Tracking.track_exception(e, pre_receive_message: e.raw_message, branch_name: branch_name, ref: ref)
40 branch_name: project.default_branch_or_main
H A Dvalidate_new_service.rb9 def execute(branch_name, force: false) argument
10 return error('Branch name is invalid') unless valid_name?(branch_name)
12 if branch_exist?(branch_name) && !force
23 def valid_name?(branch_name) argument
24 Gitlab::GitRefValidator.validate(branch_name)
27 def branch_exist?(branch_name) argument
28 project.repository.branch_exists?(branch_name)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/services/commits/
H A Dcherry_pick_service_spec.rb24 repository.add_branch(user, branch_name, merge_base_sha)
27 def cherry_pick(sha, branch_name, message: nil) argument
34 start_branch: branch_name,
35 branch_name: branch_name,
43 result = cherry_pick(merge_commit_sha, branch_name)
46 head = repository.find_branch(branch_name).target
51 result = cherry_pick(merge_commit_sha, branch_name, message: 'foo')
52 branch = repository.find_branch(branch_name)
67 result = cherry_pick(merge_commit_sha, branch_name)
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/features/projects/
H A Dview_on_env_spec.rb27 start_branch: branch_name,
28 branch_name: branch_name,
38 start_branch: branch_name,
39 branch_name: branch_name,
47 let(:sha) { project.commit(branch_name).sha }
49 …let!(:deployment) { create(:deployment, :success, environment: environment, ref: branch_name, sha:…
52 …e_request) { create(:merge_request, :simple, source_project: project, source_branch: branch_name) }
75 visit project_compare_path(project, from: 'master', to: branch_name)
103 visit project_blob_path(project, File.join(branch_name, file_path))
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/lib/gitlab/gitaly_client/
H A Doperation_service.rb51 def user_create_branch(branch_name, user, start_point) argument
54 branch_name: encode_binary(branch_name),
77 branch_name: encode_binary(branch_name),
91 def user_delete_branch(branch_name, user) argument
94 branch_name: encode_binary(branch_name),
206 branch_name: branch_name,
217 branch_name: branch_name,
369 def user_commit_patches(user, branch_name, patches) argument
373 target_branch: encode_binary(branch_name),
417 branch_name: encode_binary(branch_name),
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/services/security/ci_configuration/
H A Dbase_create_service.rb15 project.repository.add_branch(current_user, branch_name, project.default_branch)
24 … ServiceResponse.success(payload: { branch: branch_name, success_path: successful_change_path })
37 branch_name: branch_name,
38 start_branch: branch_name,
49 merge_request_params = { source_branch: branch_name, description: description }
54 …project.repository.rm_branch(current_user, branch_name) if project.repository.branch_exists?(branc…
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/app/controllers/projects/
H A Dbranches_controller.rb66 branch_name = strip_tags(sanitize(params[:branch_name]))
67 branch_name = Addressable::URI.unescape(branch_name)
72 .execute(branch_name, ref)
79 …SystemNoteService.new_issue_branch(issue, target_project, current_user, branch_name, branch_projec…
86 redirect_to url_to_autodeploy_setup(project, branch_name),
87 notice: view_context.autodeploy_flash_notice(branch_name)
89 redirect_to project_tree_path(@project, branch_name)
99 render json: { name: branch_name, url: project_tree_url(@project, branch_name) }
164 def url_to_autodeploy_setup(project, branch_name) argument
167 branch_name,
[all …]
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/libgit2-sys-0.12.13+1.0.1/libgit2/src/
H A Dbranch.c24 const char *branch_name, in retrieve_branch_reference() argument
58 const char *branch_name, in create_branch() argument
70 assert(branch_name && commit && ref_out); in create_branch()
73 if (!git__strcmp(branch_name, "HEAD")) { in create_branch()
119 const char *branch_name, in git_branch_create() argument
129 const char *branch_name, in git_branch_create_from_annotated() argument
334 const char *branch_name, in git_branch_lookup() argument
360 const char *branch_name; in git_branch_name() local
364 branch_name = ref->name; in git_branch_name()
375 *out = branch_name; in git_branch_name()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/libgit2-sys-0.12.7+1.0.0/libgit2/src/
H A Dbranch.c24 const char *branch_name, in retrieve_branch_reference() argument
58 const char *branch_name, in create_branch() argument
70 assert(branch_name && commit && ref_out); in create_branch()
73 if (!git__strcmp(branch_name, "HEAD")) { in create_branch()
119 const char *branch_name, in git_branch_create() argument
129 const char *branch_name, in git_branch_create_from_annotated() argument
334 const char *branch_name, in git_branch_lookup() argument
360 const char *branch_name; in git_branch_name() local
364 branch_name = ref->name; in git_branch_name()
375 *out = branch_name; in git_branch_name()
[all …]
/dports/devel/gitui/gitui-0.10.1/cargo-crates/libgit2-sys-0.12.12+1.0.1/libgit2/src/
H A Dbranch.c24 const char *branch_name, in retrieve_branch_reference() argument
58 const char *branch_name, in create_branch() argument
70 assert(branch_name && commit && ref_out); in create_branch()
73 if (!git__strcmp(branch_name, "HEAD")) { in create_branch()
119 const char *branch_name, in git_branch_create() argument
129 const char *branch_name, in git_branch_create_from_annotated() argument
334 const char *branch_name, in git_branch_lookup() argument
360 const char *branch_name; in git_branch_name() local
364 branch_name = ref->name; in git_branch_name()
375 *out = branch_name; in git_branch_name()
[all …]
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/services/branches/
H A Ddelete_service_spec.rb12 shared_examples 'a deleted branch' do |branch_name|
18 expect(branch_exists?(branch_name)).to be true
20 result = service.execute(branch_name)
23 expect(branch_exists?(branch_name)).to be false
27 …kArtifactsWorker).to receive(:perform_async).with(project.id, user.id, "refs/heads/#{branch_name}")
29 service.execute(branch_name)
70 def branch_exists?(branch_name) argument
71 repository.ref_exists?("refs/heads/#{branch_name}")
/dports/misc/broot/broot-1.7.0/cargo-crates/libgit2-sys-0.12.21+1.1.0/libgit2/src/
H A Dbranch.c24 const char *branch_name, in retrieve_branch_reference() argument
58 const char *branch_name, in create_branch() argument
70 GIT_ASSERT_ARG(branch_name); in create_branch()
121 const char *branch_name, in git_branch_create() argument
131 const char *branch_name, in git_branch_create_from_annotated() argument
337 const char *branch_name, in git_branch_lookup() argument
344 GIT_ASSERT_ARG(branch_name); in git_branch_lookup()
366 const char *branch_name; in git_branch_name() local
371 branch_name = ref->name; in git_branch_name()
382 *out = branch_name; in git_branch_name()
[all …]
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/libgit2-sys-0.12.26+1.3.0/libgit2/src/
H A Dbranch.c24 const char *branch_name, in retrieve_branch_reference() argument
58 const char *branch_name, in create_branch() argument
70 GIT_ASSERT_ARG(branch_name); in create_branch()
121 const char *branch_name, in git_branch_create() argument
131 const char *branch_name, in git_branch_create_from_annotated() argument
337 const char *branch_name, in git_branch_lookup() argument
344 GIT_ASSERT_ARG(branch_name); in git_branch_lookup()
366 const char *branch_name; in git_branch_name() local
371 branch_name = ref->name; in git_branch_name()
382 *out = branch_name; in git_branch_name()
[all …]
/dports/devel/git-delta/delta-0.9.2/cargo-crates/libgit2-sys-0.12.24+1.3.0/libgit2/src/
H A Dbranch.c24 const char *branch_name, in retrieve_branch_reference() argument
58 const char *branch_name, in create_branch() argument
70 GIT_ASSERT_ARG(branch_name); in create_branch()
121 const char *branch_name, in git_branch_create() argument
131 const char *branch_name, in git_branch_create_from_annotated() argument
337 const char *branch_name, in git_branch_lookup() argument
344 GIT_ASSERT_ARG(branch_name); in git_branch_lookup()
366 const char *branch_name; in git_branch_name() local
371 branch_name = ref->name; in git_branch_name()
382 *out = branch_name; in git_branch_name()
[all …]
/dports/devel/tokei/tokei-12.1.2/cargo-crates/libgit2-sys-0.12.17+1.1.0/libgit2/src/
H A Dbranch.c24 const char *branch_name, in retrieve_branch_reference() argument
58 const char *branch_name, in create_branch() argument
70 GIT_ASSERT_ARG(branch_name); in create_branch()
121 const char *branch_name, in git_branch_create() argument
131 const char *branch_name, in git_branch_create_from_annotated() argument
337 const char *branch_name, in git_branch_lookup() argument
344 GIT_ASSERT_ARG(branch_name); in git_branch_lookup()
366 const char *branch_name; in git_branch_name() local
371 branch_name = ref->name; in git_branch_name()
382 *out = branch_name; in git_branch_name()
[all …]
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/libgit2-sys-0.12.23+1.2.0/libgit2/src/
H A Dbranch.c24 const char *branch_name, in retrieve_branch_reference() argument
58 const char *branch_name, in create_branch() argument
70 GIT_ASSERT_ARG(branch_name); in create_branch()
121 const char *branch_name, in git_branch_create() argument
131 const char *branch_name, in git_branch_create_from_annotated() argument
337 const char *branch_name, in git_branch_lookup() argument
344 GIT_ASSERT_ARG(branch_name); in git_branch_lookup()
366 const char *branch_name; in git_branch_name() local
371 branch_name = ref->name; in git_branch_name()
382 *out = branch_name; in git_branch_name()
[all …]

12345678910>>...48