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

Support ls-remote client command #11

Open
g4s8 opened this issue Nov 19, 2021 · 1 comment
Open

Support ls-remote client command #11

g4s8 opened this issue Nov 19, 2021 · 1 comment
Assignees
Labels

Comments

@g4s8
Copy link
Member

g4s8 commented Nov 19, 2021

Add ls-remote client command support. It requires implementing:

  • Slice for GET /info/refs?service=git-upload-pack requests, this slice should respond with service metadata and supported commands.
  • Slice for POST /git-upload-pack endpoint with support ls-refs command.
@g4s8 g4s8 self-assigned this Nov 19, 2021
g4s8 added a commit that referenced this issue Nov 19, 2021
Add `InfoRefs` slice implementation which returns
server metadata and supported command that server can handle.
Based on this response git client decide what command to execute next.

Add `GitResponseOutput` to format ASCI text as git response
with length prefixes and part-end symbols.

Add `main` entry point to debug Artipie git server on localhost.

Update integration test `GitITCase`: setup bare repo on storage,
updated `ls-remote` test, added correct assertiion for `ls-remote` test.

Ticket: #1
Ticket: #11
g4s8 added a commit that referenced this issue Nov 22, 2021
Add `InfoRefs` slice implementation which returns
server metadata and supported command that server can handle.
Based on this response git client decide what command to execute next.

Add `GitResponseOutput` to format ASCI text as git response
with length prefixes and part-end symbols.

Add `main` entry point to debug Artipie git server on localhost.

Update integration test `GitITCase`: setup bare repo on storage,
updated `ls-remote` test, added correct assertiion for `ls-remote` test.

Ticket: #1
Ticket: #11
@github-actions
Copy link

Issue is stale, CC: @g4s8

@github-actions github-actions bot added the stale label Jan 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant