Skip to content

Chunked responses and env support #6

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 3 commits into from
May 7, 2019
Merged

Chunked responses and env support #6

merged 3 commits into from
May 7, 2019

Conversation

josegonzalez
Copy link
Contributor

This change allows pushes to receive chunked responses, which are useful when running git-http-backend behind a proxy.

As well, it supports setting a default ENV for the git command, and specifying authentication information. This is useful when the git repository in question triggers a git pre-receive hook that checks the push environment to see if the user can actually push to the repository in question. For an example of that, see dokku, which has support via the dokku-acl plugin to limit pushes based on the authenticating user.

josegonzalez and others added 3 commits May 6, 2019 23:00
This change allows us to pass the ssh user and a proxy 'name' (mapping to the authenticating user) that will allow sshcommand to identify who is performing commands.
This sets the stage for letting other projects benefit from something Dokku-specific
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.

3 participants