Skip to content
This repository was archived by the owner on Jul 31, 2025. It is now read-only.

Conversation

@obeleh
Copy link

@obeleh obeleh commented Dec 24, 2022

This pr:

  • Updates go-git and go-billy to v5
  • Adds support for gitlab token (should also work with github but haven't tested that)

I first thought I would have to use http.TokenAuth but this except was present in go-git:

// IMPORTANT: If you are looking to use OAuth tokens with popular servers (e.g.
// GitHub, Bitbucket, GitLab) you should use BasicAuth instead. These servers
// use basic HTTP authentication, with the OAuth token as user or password.
// Check the documentation of your git server for details.

@obeleh
Copy link
Author

obeleh commented Jan 25, 2023

I was curious if this PR is useful for you?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant