Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to import Github repos #1939

Merged
merged 2 commits into from
May 14, 2024
Merged

Add ability to import Github repos #1939

merged 2 commits into from
May 14, 2024

Conversation

heidiberry
Copy link
Contributor

Adds a function which imports a Github repository into GitLab.

See https://docs.gitlab.com/ee/api/import.html#import-repository-from-github

import.go Outdated
//
// GitLab API docs:
// https://docs.gitlab.com/ee/api/import.html#import-repository-from-github
type GithubImport struct {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should rename Github to GitHub (in all related locations)

Copy link
Member

@svanharmelen svanharmelen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @heidiberry 👍🏻

@svanharmelen svanharmelen merged commit 27e56c1 into xanzy:main May 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants