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

proof of concept: serve local git repos via http #6094

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

allisonkarlitskaya
Copy link
Member

This might be useful to help us do a more-complete mocking of github...

Write a small job-runner test based on this (although this isn't proper unit testing in any sense)

This might be useful to help us do a more-complete mocking of github...

Write a small job-runner test based on this (although this isn't
proper unit testing in any sense)
status, _, reason = message.get('Status', '200 OK').partition(' ')
return web.Response(status=int(status), reason=reason, headers=dict(message), body=body)

return await repository(request).http_backend(request)

Check warning

Code scanning / CodeQL

Unreachable code Warning

This statement is unreachable.
@martinpitt martinpitt removed their request for review April 23, 2024 04:09
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

1 participant