Skip to content

refactor transport: plumbing: packp, refactor types (1/5) #1303

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 2 commits into from
Jan 1, 2025

Conversation

aymanbagabas
Copy link
Member

@aymanbagabas aymanbagabas commented Dec 29, 2024

This change makes packp types follow the git protocol and simplifies the implementation of Encode and Decode methods to be consistent with the rest of the types.

Reference: https://git-scm.com/docs/gitprotocol-pack
This extracts changes from #1111

TODO:

This needs #1299 and #1300

Supersedes: #938
Supersedes: #1111

@aymanbagabas aymanbagabas changed the title plumbing: packp, refactor types refactor transport: plumbing: packp, refactor types (1/5) Dec 31, 2024
@aymanbagabas aymanbagabas marked this pull request as ready for review December 31, 2024 13:34
@aymanbagabas aymanbagabas marked this pull request as draft December 31, 2024 13:34
@aymanbagabas aymanbagabas changed the base branch from v6-exp to v6-transport December 31, 2024 17:50
@aymanbagabas aymanbagabas requested a review from pjbgf December 31, 2024 17:50
@aymanbagabas aymanbagabas marked this pull request as ready for review December 31, 2024 17:50
@pjbgf pjbgf added this to the v6.0.0 milestone Jan 1, 2025
@pjbgf pjbgf added the breaking label Jan 1, 2025
aymanbagabas and others added 2 commits January 1, 2025 14:23
This change makes packp types follow the git protocol and simplifies the
implementation of `Encode` and `Decode` methods to be consistent with
the rest of the types.

Reference: https://git-scm.com/docs/gitprotocol-pack

Update plumbing/protocol/packp/advrefs.go

Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>

Update plumbing/protocol/packp/uphav.go

Co-authored-by: Paulo Gomes <paulo.gomes.uk@gmail.com>
This type is used to represent HTTP smart protocol service payload
request and response.
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.

LGTM

@pjbgf pjbgf merged commit 3c56df9 into go-git:v6-transport Jan 1, 2025
2 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy