Optimize the description of the configuration in packfile-uris doc
PATCH 1/1 Optimize the description of the configuration in packfile-uris doc
There is a description problem in the document about packfile-uris. This patch describes the configuration format of uploadpack.blobPackfileUri more accurately.
--- Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Documentation/technical/packfile-uri.txt +8 -7
@@ -35,13 +35,14 @@ include some sort of non-trivial implementation in the Minimum Viable Product, at least so that we can test the client. This is the implementation: a feature, marked experimental, that allows the -server to be configured by one or more `uploadpack.blobPackfileUri=<sha1> -<uri>` entries. Whenever the list of objects to be sent is assembled, all such -blobs are excluded, replaced with URIs. As noted in "Future work" below, the -server can evolve in the future to support excluding other objects (or other -implementations of servers could be made that support excluding other objects) -without needing a protocol change, so clients should not expect that packfiles -downloaded in this way only contain single blobs. +server to be configured by one or more `uploadpack.blobPackfileUri= +<object-hash> <pack-hash> <uri>` entries. Whenever the list of objects to be +sent is assembled, all such blobs are excluded, replaced with URIs. As noted +in "Future work" below, the server can evolve in the future to support +excluding other objects (or other implementations of servers could be made +that support excluding other objects) without needing a protocol change, so +clients should not expect that packfiles downloaded in this way only contain +single blobs. Client design -------------
Signature · 1 line
2.31.1
Quoted 3 lines
There is a description problem in the document about packfile-uris. This patch describes the configuration format of
uploadpack.blobPackfileUrimore accurately.
Thanks for noticing this. The diff itself is correct, of course.
As for the commit message, limit the title to 50 characters or fewer if possible. Maybe something like "packfile-uri.txt: fix blobPackfileUri description" or something like that.
Also in the commit message, maybe mention that the correct format can be seen in t5702.
Quoted 4 lines · Jonathan Tan
Quoted 3 lines
There is a description problem in the document about packfile-uris. This patch describes the configuration format of
uploadpack.blobPackfileUrimore accurately.
Quoted 8 lines
Thanks for noticing this. The diff itself is correct, of course.
As for the commit message, limit the title to 50 characters or fewer if possible. Maybe something like "packfile-uri.txt: fix blobPackfileUri description" or something like that.
Also in the commit message, maybe mention that the correct format can be seen in t5702.
Thanks for giving a review with clear suggestion for improvements, Jonathan. And thanks for contributing, Teng.
Will look forward to seeing an updated patch.
PATCH v2 1/1 packfile-uri.txt: fix blobPackfileUri description
Fix the 'uploadpack.blobPackfileUri' description in packfile-uri.txt and the correct format also can be seen in t5702.
Quoted 3 lines · Jonathan Tan
As for the commit message, limit the title to 50 characters or fewer if possible. Maybe something like "packfile-uri.txt: fix blobPackfileUri description" or something like that.
Thanks for mention this, "packfile-uri.txt: fix blobPackfileUri description" is good and meets the "50 characters" requirement. So the title is modified.
Quoted 2 lines
Also in the commit message, maybe mention that the correct format can be seen in t5702.
Because I am implementing another patch[1] about supporting the commit object in packfile-uri, I noticed the configure_exclusion function in t5702, which is now mentioned in the commit message.
[1]https://public-inbox.org/git/[email protected]
--- Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Documentation/technical/packfile-uri.txt +8 -7
@@ -35,13 +35,14 @@ include some sort of non-trivial implementation in the Minimum Viable Product, at least so that we can test the client. This is the implementation: a feature, marked experimental, that allows the -server to be configured by one or more `uploadpack.blobPackfileUri=<sha1> -<uri>` entries. Whenever the list of objects to be sent is assembled, all such -blobs are excluded, replaced with URIs. As noted in "Future work" below, the -server can evolve in the future to support excluding other objects (or other -implementations of servers could be made that support excluding other objects) -without needing a protocol change, so clients should not expect that packfiles -downloaded in this way only contain single blobs. +server to be configured by one or more `uploadpack.blobPackfileUri= +<object-hash> <pack-hash> <uri>` entries. Whenever the list of objects to be +sent is assembled, all such blobs are excluded, replaced with URIs. As noted +in "Future work" below, the server can evolve in the future to support +excluding other objects (or other implementations of servers could be made +that support excluding other objects) without needing a protocol change, so +clients should not expect that packfiles downloaded in this way only contain +single blobs. Client design -------------
Signature · 1 line
2.31.1.443.g1f2fb5c85f.dirty
Re: [PATCH v2] packfile-uri.txt: fix blobPackfileUri description
Quoted 16 lines · Teng Long
Fix the 'uploadpack.blobPackfileUri' description in packfile-uri.txt and the correct format also can be seen in t5702.
Quoted 3 lines · Jonathan Tan
As for the commit message, limit the title to 50 characters or fewer if possible. Maybe something like "packfile-uri.txt: fix blobPackfileUri description" or something like that.
Thanks for mention this, "packfile-uri.txt: fix blobPackfileUri description" is good and meets the "50 characters" requirement. So the title is modified.
Quoted 2 lines
Also in the commit message, maybe mention that the correct format can be seen in t5702.
Quoted 8 lines
Because I am implementing another patch[1] about supporting the commit object in packfile-uri, I noticed the
configure_exclusionfunction in t5702, which is now mentioned in the commit message.[1]https://public-inbox.org/git/[email protected]
Signed-off-by Teng Long <[email protected]>---
It seems that the above needs a bit more polishing?
I am not sure if moving the sign-off higher and inserting a three-dash line before "Jonathan Tan writes" would be sufficient, but with everything under that quoted material does not seem to belong to a proposed commit log message proper.
Thanks.
Quoted 29 lines
Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)Documentation/technical/packfile-uri.txt +8
-7@@ -35,13 +35,14 @@ include some sort of non-trivial implementation in the Minimum Viable Product, at least so that we can test the client. This is the implementation: a feature, marked experimental, that allows the -server to be configured by one or more `uploadpack.blobPackfileUri=<sha1> -<uri>` entries. Whenever the list of objects to be sent is assembled, all such -blobs are excluded, replaced with URIs. As noted in "Future work" below, the -server can evolve in the future to support excluding other objects (or other -implementations of servers could be made that support excluding other objects) -without needing a protocol change, so clients should not expect that packfiles -downloaded in this way only contain single blobs. +server to be configured by one or more `uploadpack.blobPackfileUri= +<object-hash> <pack-hash> <uri>` entries. Whenever the list of objects to be +sent is assembled, all such blobs are excluded, replaced with URIs. As noted +in "Future work" below, the server can evolve in the future to support +excluding other objects (or other implementations of servers could be made +that support excluding other objects) without needing a protocol change, so +clients should not expect that packfiles downloaded in this way only contain +single blobs. Client design -------------
Re: [PATCH v2] packfile-uri.txt: fix blobPackfileUri description
Quoted 6 lines
It seems that the above needs a bit more polishing?
I am not sure if moving the sign-off higher and inserting a three-dash line before "Jonathan Tan writes" would be sufficient, but with everything under that quoted material does not seem to belong to a proposed commit log message proper.
Sorry, I misunderstood.
I looked at some patches in the community. If I reply to the reviewer’s suggestion separately and then submit a new patch, is it the recommended way? (Distinguish between the ‘reply‘ and the 'patch').
Another question is, if I need to continue to complete this patch, what do I need to do? I think it is to reply to Jonathan Tan separately, and then resubmit Patch v2. Is this way correct?
Thanks for your reply.
Quoted 66 lines · Junio C Hamano <[email protected]> 于2021年5月12日周三 上午4:50写道:
Quoted 16 lines · Teng Long
Fix the 'uploadpack.blobPackfileUri' description in packfile-uri.txt and the correct format also can be seen in t5702.
Quoted 3 lines · Jonathan Tan
As for the commit message, limit the title to 50 characters or fewer if possible. Maybe something like "packfile-uri.txt: fix blobPackfileUri description" or something like that.
Thanks for mention this, "packfile-uri.txt: fix blobPackfileUri description" is good and meets the "50 characters" requirement. So the title is modified.
Quoted 2 lines
Also in the commit message, maybe mention that the correct format can be seen in t5702.
Quoted 8 lines
Because I am implementing another patch[1] about supporting the commit object in packfile-uri, I noticed the
configure_exclusionfunction in t5702, which is now mentioned in the commit message.[1]https://public-inbox.org/git/[email protected]
Signed-off-by Teng Long <[email protected]>---
It seems that the above needs a bit more polishing?
I am not sure if moving the sign-off higher and inserting a three-dash line before "Jonathan Tan writes" would be sufficient, but with everything under that quoted material does not seem to belong to a proposed commit log message proper.
Thanks.
Quoted 29 lines
Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)Documentation/technical/packfile-uri.txt +8
-7@@ -35,13 +35,14 @@ include some sort of non-trivial implementation in the Minimum Viable Product, at least so that we can test the client. This is the implementation: a feature, marked experimental, that allows the -server to be configured by one or more `uploadpack.blobPackfileUri=<sha1> -<uri>` entries. Whenever the list of objects to be sent is assembled, all such -blobs are excluded, replaced with URIs. As noted in "Future work" below, the -server can evolve in the future to support excluding other objects (or other -implementations of servers could be made that support excluding other objects) -without needing a protocol change, so clients should not expect that packfiles -downloaded in this way only contain single blobs. +server to be configured by one or more `uploadpack.blobPackfileUri= +<object-hash> <pack-hash> <uri>` entries. Whenever the list of objects to be +sent is assembled, all such blobs are excluded, replaced with URIs. As noted +in "Future work" below, the server can evolve in the future to support +excluding other objects (or other implementations of servers could be made +that support excluding other objects) without needing a protocol change, so +clients should not expect that packfiles downloaded in this way only contain +single blobs. Client design -------------
Re: [PATCH v2] packfile-uri.txt: fix blobPackfileUri description
Quoted 7 lines · Long Teng
Quoted 6 lines
It seems that the above needs a bit more polishing?
I am not sure if moving the sign-off higher and inserting a three-dash line before "Jonathan Tan writes" would be sufficient, but with everything under that quoted material does not seem to belong to a proposed commit log message proper.
Quoted 6 lines
Sorry, I misunderstood.
I looked at some patches in the community. If I reply to the reviewer’s suggestion separately and then submit a new patch, is it the recommended way? (Distinguish between the ‘reply‘ and the 'patch').
Yes. Some people seem to omit the final response to reviewer suggestions on the previous round and just send a revised patch, but it is much nicer to cleanly conclude the review cycle for the previous round with a separate response (it could just be "yes, you're right---I'll incorporate your suggestions in the next round, thanks") before starting a new cycle.
And the "patch" side should be written to be understandable even by those who do not have access to the review history of the previous round(s)---imagine how it appears in "git log" output to those who did not read the discussion on this mailing list, and write for them.
Thanks.
packfile-uri.txt: fix blobPackfileUri description
In reply to Teng LongFix the 'uploadpack.blobPackfileUri' description in packfile-uri.txt and the correct format also can be seen in t5702.
--- Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Documentation/technical/packfile-uri.txt +8 -7
@@ -35,13 +35,14 @@ include some sort of non-trivial implementation in the Minimum Viable Product, at least so that we can test the client. This is the implementation: a feature, marked experimental, that allows the -server to be configured by one or more `uploadpack.blobPackfileUri=<sha1> -<uri>` entries. Whenever the list of objects to be sent is assembled, all such -blobs are excluded, replaced with URIs. As noted in "Future work" below, the -server can evolve in the future to support excluding other objects (or other -implementations of servers could be made that support excluding other objects) -without needing a protocol change, so clients should not expect that packfiles -downloaded in this way only contain single blobs. +server to be configured by one or more `uploadpack.blobPackfileUri= +<object-hash> <pack-hash> <uri>` entries. Whenever the list of objects to be +sent is assembled, all such blobs are excluded, replaced with URIs. As noted +in "Future work" below, the server can evolve in the future to support +excluding other objects (or other implementations of servers could be made +that support excluding other objects) without needing a protocol change, so +clients should not expect that packfiles downloaded in this way only contain +single blobs. Client design -------------
Signature · 1 line
2.31.1.443.g2f6b6330e7.dirty
Re: packfile-uri.txt: fix blobPackfileUri description
Quoted 7 lines · Teng Long
Fix the 'uploadpack.blobPackfileUri' description in packfile-uri.txt and the correct format also can be seen in t5702.
Signed-off-by Teng Long <[email protected]>--- Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Will queue; thanks.
Jonathan, how does this look?
Quoted 26 lines
Documentation/technical/packfile-uri.txt +8
-7@@ -35,13 +35,14 @@ include some sort of non-trivial implementation in the Minimum Viable Product, at least so that we can test the client. This is the implementation: a feature, marked experimental, that allows the -server to be configured by one or more `uploadpack.blobPackfileUri=<sha1> -<uri>` entries. Whenever the list of objects to be sent is assembled, all such -blobs are excluded, replaced with URIs. As noted in "Future work" below, the -server can evolve in the future to support excluding other objects (or other -implementations of servers could be made that support excluding other objects) -without needing a protocol change, so clients should not expect that packfiles -downloaded in this way only contain single blobs. +server to be configured by one or more `uploadpack.blobPackfileUri= +<object-hash> <pack-hash> <uri>` entries. Whenever the list of objects to be +sent is assembled, all such blobs are excluded, replaced with URIs. As noted +in "Future work" below, the server can evolve in the future to support +excluding other objects (or other implementations of servers could be made +that support excluding other objects) without needing a protocol change, so +clients should not expect that packfiles downloaded in this way only contain +single blobs. Client design -------------
Re: packfile-uri.txt: fix blobPackfileUri description
Quoted 5 lines · Junio C Hamano
Quoted 3 lines · Teng Long
Fix the 'uploadpack.blobPackfileUri' description in packfile-uri.txt and the correct format also can be seen in t5702.
Quoted 8 lines
Quoted 4 lines
Signed-off-by Teng Long <[email protected]>--- Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)Will queue; thanks.
Jonathan, how does this look?
Ping?
Quoted 26 lines
Quoted 26 lines
Documentation/technical/packfile-uri.txt +8
-7@@ -35,13 +35,14 @@ include some sort of non-trivial implementation in the Minimum Viable Product, at least so that we can test the client. This is the implementation: a feature, marked experimental, that allows the -server to be configured by one or more `uploadpack.blobPackfileUri=<sha1> -<uri>` entries. Whenever the list of objects to be sent is assembled, all such -blobs are excluded, replaced with URIs. As noted in "Future work" below, the -server can evolve in the future to support excluding other objects (or other -implementations of servers could be made that support excluding other objects) -without needing a protocol change, so clients should not expect that packfiles -downloaded in this way only contain single blobs. +server to be configured by one or more `uploadpack.blobPackfileUri= +<object-hash> <pack-hash> <uri>` entries. Whenever the list of objects to be +sent is assembled, all such blobs are excluded, replaced with URIs. As noted +in "Future work" below, the server can evolve in the future to support +excluding other objects (or other implementations of servers could be made +that support excluding other objects) without needing a protocol change, so +clients should not expect that packfiles downloaded in this way only contain +single blobs. Client design -------------
Re: packfile-uri.txt: fix blobPackfileUri description
Quoted 12 lines
Quoted 10 lines · Junio C Hamano
Quoted 7 lines · Teng Long
Fix the 'uploadpack.blobPackfileUri' description in packfile-uri.txt and the correct format also can be seen in t5702.
Signed-off-by Teng Long <[email protected]>--- Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Quoted 5 lines
Quoted 3 lines
Will queue; thanks.
Jonathan, how does this look?
Ping?
Sorry, I just got back on vacation. This looks good - it's exactly the same as the change I approved previously [1].
Teng Long, for future reviews, the review would go faster if you mentioned the changes in between versions (e.g. in this case, you updated the commit message following my suggestions).
Re: packfile-uri.txt: fix blobPackfileUri description
Quoted 12 lines · Jonathan Tan
Quoted 12 lines
Quoted 10 lines · Junio C Hamano
Quoted 7 lines · Teng Long
Fix the 'uploadpack.blobPackfileUri' description in packfile-uri.txt and the correct format also can be seen in t5702.
Signed-off-by Teng Long <[email protected]>--- Documentation/technical/packfile-uri.txt | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-)
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Will queue; thanks.
Jonathan, how does this look?
Ping?
Sorry, I just got back on vacation. This looks good - it's exactly the same as the change I approved previously [1].
Thanks.
Quoted 6 lines
Teng Long, for future reviews, the review would go faster if you mentioned the changes in between versions (e.g. in this case, you updated the commit message following my suggestions).