Skip to content

feat: add gogit-http-server command #10

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

Merged
merged 5 commits into from
Apr 23, 2025
Merged

Conversation

aymanbagabas
Copy link
Member

This starts a simple http server that serves repositories from the given directory.

This needs go-git/go-git#1502

@aymanbagabas aymanbagabas marked this pull request as ready for review April 20, 2025 14:53
@aymanbagabas aymanbagabas requested a review from pjbgf as a code owner April 20, 2025 14:53
Copy link
Member

@pjbgf pjbgf left a comment

Choose a reason for hiding this comment

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

@aymanbagabas thanks for working on this. 🙇

}

// Note this is generally only called when sending an HTTP error, so it's
// important to set the `code` value to 200 as a default
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// important to set the `code` value to 200 as a default
// important to set the `code` value to 200 as a default.

@pjbgf pjbgf merged commit b67e7b2 into go-git:main Apr 23, 2025
@aymanbagabas aymanbagabas deleted the http-server branch April 23, 2025 18:34
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