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 more GitHub import API support #1942

Merged
merged 4 commits into from
May 22, 2024
Merged

Add more GitHub import API support #1942

merged 4 commits into from
May 22, 2024

Conversation

heidiberry
Copy link
Contributor

Adds the Import API endpoints for cancelling a GitHub import and importing GitHub gists into personal GitLab snippets.

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.

You missed a copy/paste change with this one and I also have a question about the type you added. Rest looks great again 👍🏻

types.go Outdated
const (
Optimistic ImportTimeoutStrategy = "optimistic"
Pessimistic ImportTimeoutStrategy = "pessimistic"
)
Copy link
Member

Choose a reason for hiding this comment

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

I don't see any code using this type. If that is correct, why did you add it and/or should it be deleted instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You were right, it wasn't being used. I was originally planning to add the BitBucket import API endpoints as well, which was using this type but the API documentation in GitLab was incomplete so I decided to take it out for now. I missed this type though, good catch, thank you!

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 14dafd2 into xanzy:main May 22, 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.

2 participants