• Stan Hu's avatar
    Create the source branch for a GitHub import · e34a3213
    Stan Hu authored
    When the GitHub importer creates a merge request, it retrieves the SHA
    but does not actually create the source branch. This makes it impossible
    to merge an open merge request, particularly if the source branch were
    from a forked project. In that case, the branch will never exist because
    the original `project-name:source-branch` name is never created, nor
    is it a valid branch name.
    
    To prevent possible branch name conflicts, forked source branches
    are now renamed `github/fork/project-name/source-branch` and created
    when necessary.
    
    Note that we only create the source branch if the merge request
    is open. For projects that have many merge requests, the project
    would end up with a lot of possibly dead branches.
    
    Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/57370
    e34a3213
Name
Last commit
Last update
..
.gitkeep Loading commit data...
19745-forms-with-task-lists-can-be-overwritten-when-editing-simultaneously.yml Loading commit data...
2105-add-setting-for-first-day-of-the-week.yml Loading commit data...
24680-support-bamboo-api-polymorphism.yml Loading commit data...
24875-label.yml Loading commit data...
25043-empty-states.yml Loading commit data...
25569-changing-wording-to-delete-when-referring-to-removing-a-branch.yml Loading commit data...
26375-markdown-footnotes-not-working.yml Loading commit data...
28500-empty-states-for-profile-page.yml Loading commit data...
30120-add-flat-square-badge-style.yml Loading commit data...
36445-better-indication-that-an-issue-has-been-moved-or-marked-as-duplicated.yml Loading commit data...
37990-task-list-bracket.yml Loading commit data...
40997-gitlab-pages-deploy-jobs-have-a-null-status.yml Loading commit data...
42769-remove-expansion-hover-animation-from-status-icon-buttons.yml Loading commit data...
43681-display-last-activity-and-created-at-datetimes-for-users-in-admin-users.yml Loading commit data...
44332-add-openid-profile-scopes.yml Loading commit data...
44698-recaptcha.yml Loading commit data...
45779-fix-default-visibility-level-for-projects.yml Loading commit data...
45791-number-of-repositories-usage-ping.yml Loading commit data...
46448-add-timestamps-for-each-stage-of-gitlab-rake-gitlab-backup-restore.yml Loading commit data...
47007-related-merge-requests-in-issue-design-restyle.yml Loading commit data...
47988-improve-milestone-queries-with-subqueries.yml Loading commit data...
50013-add-browser-platform-flags.yml Loading commit data...
50352-sort-save.yml Loading commit data...
50521-block-emojis-and-symbol-characters-from-user-s-full-names-2.yml Loading commit data...
51754-admin-view-private-personal-snippets.yml Loading commit data...
51759-filter-by-language.yml Loading commit data...
51913-api-getting-projects-for-users-with-dot-gets-404.yml Loading commit data...
52275-fix-master-to-be-hyperlink.yml Loading commit data...
52278-squash-checkbox-fix.yml Loading commit data...
52347-lines-changed-statistics-is-not-easily-visible-in-mr-changes-view.yml Loading commit data...
52363-modifies-environment-scope-field-on-cluster-page.yml Loading commit data...
52363-ui-changes-to-cluster-and-ado-pages.yml Loading commit data...
52568-external-mr-diffs.yml Loading commit data...
52674-api-v4-projects-project_id-jobs-endpoint-hits-statement-timeout.yml Loading commit data...
52971-merge-request-file-browser-should-always-be-possible-show-hide.yml Loading commit data...
53104-redesign-group-overview-ui-mvc.yml Loading commit data...
53431-fix-upcoming-milestone-filter-for-groups.yml Loading commit data...
53671-redirect-projects-id-to-project-page.yml Loading commit data...
53676-ip-address-of-gitlab-runner-is-wrong-in-the-runners-description.yml Loading commit data...
53714-inconsistent-text-color-for-labels.yml Loading commit data...
53856-changing-group-visibility-does-not-re-enable-save-button.yml Loading commit data...
53950-commit-comments-displayed-on-a-merge-request.yml Loading commit data...
54167-rename-project-tags-to-project-topics.yml Loading commit data...
54213-standardize-token-value-capitalization-in-filter-bar.yml Loading commit data...
54250-upstream-kubeclient-redirect-patch.yml Loading commit data...
54484-anchor-links-to-comments-or-system-notes-can-break-with-discussion-filters.yml Loading commit data...
54544-update-project-topics-styling-to-use-badges-design.yml Loading commit data...
54905-milestone-search.yml Loading commit data...
55098-ui-bug-adding-group-members-with-lower-permissions.yml Loading commit data...
55111-gitlab-api-does-not-manage-default_branch_protection-3-value.yml Loading commit data...
55242-skeleton-loading-releases.yml Loading commit data...
55495-teamcity-use-revision-in-query.yml Loading commit data...
55628-artifacts-from-a-job-defined-after-a-parallel-job-are-not-downloaded.yml Loading commit data...
55820-adds-common-name-chart-value.yml Loading commit data...
55884-adjust-emoji-and-cancel-buttons-height-in-user-status-modal-when-emoji-is-changed.yml Loading commit data...
55945-suggested-change-preview-highlight.yml Loading commit data...
55966-when-ref-is-ambiguous-createpipelineservice-raises-an-error.yml Loading commit data...
56010-user-profile-page-horizonal-whitespace-between-overview-columns-breaks-two-column-layout.yml Loading commit data...
56014-api-merge-request-squash-commit-messages.yml Loading commit data...
56019-archived-stuck.yml Loading commit data...
56036-fix-translation-of-in-in-job-details-sidebar.yml Loading commit data...
56110-cluster-kubernetes-api-500-error-on-post-request.yml Loading commit data...
56172-docs-fix-add-include-to-ci-param-list.yml Loading commit data...
56334-runners-ipv6-address-overlaps-other-values.yml Loading commit data...
56363-inconsitent-file-size-indication-across-different-ci-pages.yml Loading commit data...
56371-don-t-check-confidential-issues-for-spam.yml Loading commit data...
56379-pipeline-stages-job-action-button-icon-is-not-aligned.yml Loading commit data...
56389-remove-unwanted-suggestion-flash-margin.yml Loading commit data...
56398-fix-cluster-installation-loading-state.yml Loading commit data...
56417-update-helm-to-2-12-2.yml Loading commit data...
56507-sh-bump-katex-0.10.0.yml Loading commit data...
56543-project-lists-further-iteration-improvements.yml Loading commit data...
56547-limit-sidekiq-logging-based-on-argument-size.yml Loading commit data...
56556-fix-markdown-table-border.yml Loading commit data...
56622-admin-settings-cannot-read-property-addeventlistener-of-null.yml Loading commit data...
56636-hashed-storage-afterrenameservice.yml Loading commit data...
56764-poor-ui-on-milestone-validation-error-page.yml Loading commit data...
56788-unicorn-metric-labels.yml Loading commit data...
56938-diff-file-headers-on-compare-not-quite-right.yml Loading commit data...
57063-implement-new-arguments-iid-for-issuesresolver-in-graphql.yml Loading commit data...
57227-absolute-uri-missing-hierarchical-segment.yml Loading commit data...
8688-recursive-pipelines-ce-backport.yml Loading commit data...
Projects--dropdown-is-misaligned-on-issue-boards-page.yml Loading commit data...
ab-54270-github-iid.yml Loading commit data...
ac-pages-subgroups.yml Loading commit data...
actioncontroller-parameters-deprecations.yml Loading commit data...
add-badge-count-to-projects-and-groups.yml Loading commit data...
add-uniqueness-validation-to-url-column-in-releases-link-model.yml Loading commit data...
adrianmoisey-GITLAB_PAGES_PREDEFINED_VARIABLES.yml Loading commit data...
adriel-remove-feature-flag.yml Loading commit data...
an-dtracing-test-for-invalid-tracers.yml Loading commit data...
an-gilab-process-name.yml Loading commit data...
an-opentracing-active-record-tracing.yml Loading commit data...
an-opentracing-factory.yml Loading commit data...
an-opentracing-propagation.yml Loading commit data...
an-opentracing-render-tracing.yml Loading commit data...
api-group-labels.yml Loading commit data...
api-nested-group-permission.yml Loading commit data...
api-tags-search.yml Loading commit data...
api-wiki-dot-slug.yml Loading commit data...
auto-devops-custom-domains.yml Loading commit data...
auto-devops-kubectl-1-11-6.yml Loading commit data...
backup_aws_sse-c.yml Loading commit data...
backup_restore_fix_issue_46891.yml Loading commit data...
bump-ingress-chart-112.yml Loading commit data...
bvl-fix-race-condition-creating-signature.yml Loading commit data...
chore-update-js-regex.yml Loading commit data...
cleanup-leagcy-artifact-migration.yml Loading commit data...
cluster_application_version_updated.yml Loading commit data...
cluster_status_for_ugprading.yml Loading commit data...
container-repository-cleanup-api.yml Loading commit data...
custom-helm-chart-repo.yml Loading commit data...
deprecated-force-reload.yml Loading commit data...
diff-file-finder.yml Loading commit data...
diff-tree-collapse-directories.yml Loading commit data...
dm-copy-suggestion-as-gfm.yml Loading commit data...
dm-trim-discussion-truncated-line-first-chars.yml Loading commit data...
docs-push-mirror-GitLab-GitHub.yml Loading commit data...
expire-job-artifacts-worker.yml Loading commit data...
features-document-graphicsmagick-source-installation.yml Loading commit data...
fix-39759-new-project-icon-vertical-align.yml Loading commit data...
fix-403-page-is-rendered-but-404-is-the-response.yml Loading commit data...
fix-49388.yml Loading commit data...
fix-55956-oversized-dropdown-button-custom-notifications.yml Loading commit data...
fix-56558-move-primary-button.yml Loading commit data...
fix-auto-devops-domain-title-on-admin-settings.yml Loading commit data...
fix-repo-settings-file-upload-error.yml Loading commit data...
fix_jira_integration_VCS1019.yml Loading commit data...
fj-55882-fix-files-api-content-disposition.yml Loading commit data...
force-redeploy-on-updated-secrets.yml Loading commit data...
gitaly-update-1-13-0.yml Loading commit data...
gitaly-update-1.18.0.yml Loading commit data...
gitlab-workhorse-update-8.1.0.yml Loading commit data...
gt-externalize-app-views-clusters.yml Loading commit data...
gt-externalize-app-views-email_rejection_mailer.yml Loading commit data...
gt-externalize-app-views-instance_statistics.yml Loading commit data...
gt-externalize-app-views-projects-ci.yml Loading commit data...
gt-externalize-app-views-projects-milestones.yml Loading commit data...
gt-externalize-app-views-projects-pages_domains.yml Loading commit data...
gt-externalize-app-views-projects-project_members.yml Loading commit data...
gt-externalize-app-views-sent_notifications.yml Loading commit data...
gt-remove-unused-button-class.yml Loading commit data...
gt-rename-gray-theme-color-variables.yml Loading commit data...
gt-update-string-struture-for-group-runners.yml Loading commit data...
hnk-master-patch-61932.yml Loading commit data...
homepage-proj-descr-cutoff.yml Loading commit data...
introduce-environment-search-endpoint.yml Loading commit data...
iss-32584-preserve-line-number-fragment-after-redirect.yml Loading commit data...
issue_55744.yml Loading commit data...
jej-avoid-csrf-check-on-saml-failure.yml Loading commit data...
jlenny-AddPagesTemplates.yml Loading commit data...
jlenny-NewAndroidTemplate.yml Loading commit data...
jprovazn-remove-redcarpet.yml Loading commit data...
knative-list.yml Loading commit data...
knative-show-page.yml Loading commit data...
local-markdown-version-bkp3.yml Loading commit data...
mg-fix-bad-cluster-update-entrypoint.yml Loading commit data...
monospace-registry-tags.yml Loading commit data...
move-job-cancel-btn.yml Loading commit data...
move-permission-check-manual-actions-on-deployments.yml Loading commit data...
mr-file-tree-blob-truncate-improvements.yml Loading commit data...
mr-rebase-failing-tests.yml Loading commit data...
not-run-pipeline-on-empty-merge-request.yml Loading commit data...
notebook-multiple-outputs.yml Loading commit data...
notes-awards-double-tooltip-fix.yml Loading commit data...
osw-enforces-project-removal-with-past-failed-attempts.yml Loading commit data...
osw-fix-bottom-expansion-diff-comment.yml Loading commit data...
patch-38.yml Loading commit data...
pl-serialize-ac-parameters.yml Loading commit data...
profile-project-empty-state.yml Loading commit data...
raise-on-unfiltered-params.yml Loading commit data...
rd-update-last_activity_on-on-logins-and-browsing-activity-54947.yml Loading commit data...
refactor-56366-extract-resolve-discussion-button.yml Loading commit data...
refactor-56369-extract-jump-to-next-discussion-button.yml Loading commit data...
refactor-56370-extract-reply-placeholder-component.yml Loading commit data...
remove-cancel-all-button-in-job-list-view.yml Loading commit data...
remove-diff-coloring.yml Loading commit data...
remove-gap-between-mr-tabs-and-file-header.yml Loading commit data...
search-title.yml Loading commit data...
security-22076-sanitize-url-in-names.yml Loading commit data...
security-2770-verify-bundle-import-files.yml Loading commit data...
security-55320-stored-xss-in-user-status.yml Loading commit data...
security-stored-xss-via-katex.yml Loading commit data...
sh-disable-nil-user-id-identity-validation.yml Loading commit data...
sh-encode-content-disposition.yml Loading commit data...
sh-fix-backfill-project-repo-migration.yml Loading commit data...
sh-fix-bitbucket-server-error-handling.yml Loading commit data...
sh-fix-import-redirect-vulnerability.yml Loading commit data...
sh-fix-pages-zip-constant.yml Loading commit data...
sh-fix-snippet-uploads-path-lookup.yml Loading commit data...
sh-fix-upload-snippets-with-relative-url-root.yml Loading commit data...
sh-import-source-branch-github-forks.yml Loading commit data...
sh-issue-53419-fix.yml Loading commit data...
sh-preload-associations-for-group-api.yml Loading commit data...
shared_with_group_path.yml Loading commit data...
support-chunking-in-client.yml Loading commit data...
test-permissions.yml Loading commit data...
tooltips-to-top.yml Loading commit data...
twang2218-gitlab-ce-i18n-extract-app-views-search.yml Loading commit data...
update-gitaly.yml Loading commit data...
update-gitlab-runner-helm-chart-to-0-1-45.yml Loading commit data...
update-gitlab-styles.yml Loading commit data...
update-pages-config-only-when-changed.yml Loading commit data...
update-pages-extensionless-urls.yml Loading commit data...
update-sidekiq-cron.yml Loading commit data...
update-smooshpack.yml Loading commit data...
update-spriteicon-from-icon-on-profile.yml Loading commit data...
update-ui-admin-appearance.yml Loading commit data...
update-workhorse-8-2-0.yml Loading commit data...
use-deployment-relation-to-fetch-environment-ce.yml Loading commit data...
use_upgrade_install_for_helm_apps.yml Loading commit data...
winh-add-list-dropdown-height.yml Loading commit data...
workhorse-8-3-0.yml Loading commit data...
yoginth-avatar-on-settings-sidebar.yml Loading commit data...
zj-feature-gate-set-project-path.yml Loading commit data...