Skip to content

GitLab Next

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
GitLab FOSS
GitLab FOSS
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 1
    • Merge requests 1
  • Requirements
    • Requirements
    • List
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.org
  • GitLab FOSSGitLab FOSS
  • Merge requests
  • !7865

Merged
Created Dec 01, 2016 by Douglas Barbosa Alexandre@dbalexandreMaintainer5 of 9 tasks completed5/9 tasks

Fix GitHub importer to import PR where source repo/fork was renamed/deleted

  • Overview 12
  • Commits 2
  • Pipelines 1
  • Changes 3

What does this MR do?

Fix "unknown repository" of a GitHub Pull Request after renamed or deleted the repo/fork. The GitHub Pull Requests API returns null for repo attribute of the source branch for these PRs.

Why was this MR needed?

Without this fix, GitHub Pull Requests where the source repo/fork was renamed or deleted won't be imported.

Screenshots (if relevant)

1

Does this MR meet the acceptance criteria?

  • Changelog entry added
  • Documentation created/updated
  • API support added
  • Tests
    • Added for this feature/bug
    • All builds are passing
  • Conform by the merge request performance guides
  • Conform by the style guides
  • Branch has no merge conflicts with master (if it does - rebase it please)
  • Squashed related commits together

What are the relevant issue numbers?

Closes #24594 (closed)

Assignee
Assign to
Reviewer
Request review from
8.14
Milestone
8.14 (Past due)
Assign milestone
Time tracking
Source branch: fix/github-importer