Skip to content

fsck: doc fixes & fetch.fsck.* implementation

Ævar Arnfjörð Bjarmason git 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest10 patches 18 repliesIn review
  2. v25 patches 12 repliesSuperseded
  3. v14 patches 10 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10receive.fsck.<msg-id> tests: remove dead codet/t5504-fetch-receive-strict.sh+0 -23 replies
2/10config doc: don't describe *.fetchObjects twiceDocumentation/config.txt+10 -81 reply
3/10config doc: unify the description of fsck.* and receive.fsck.*Documentation/config.txt+35 -271 reply
4/10config doc: elaborate on what transfer.fsckObjects doesDocumentation/config.txt+11 -21 reply
5/10config doc: elaborate on fetch.fsckObjects securityDocumentation/config.txt+21 -02 replies
6/10transfer.fsckObjects tests: untangle confusing setupt/t5504-fetch-receive-strict.sh+11 -10 replies
7/10fetch: implement fetch.fsck.*Documentation/config.txt fetch-pack.c t/t5504-fetch-receive-strict.sh+92 -64 replies
8/10fsck: test & document {fetch,receive}.fsck.* config fallbackDocumentation/config.txt t/t5504-fetch-receive-strict.sh+36 -21 reply
9/10fsck: add stress tests for fsck.skipListt/t5504-fetch-receive-strict.sh+28 -00 replies
10/10fsck: test and document unknown fsck.<msg-id> valuesDocumentation/config.txt t/t5504-fetch-receive-strict.sh+18 -04 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 00/10] fsck: doc fixes & fetch.fsck.* implementation

It's been a couple of months since I submitted v2 of this. This takes into account all the feedback in the previous thread
(https://public-inbox.org/git/[email protected]/).

To recap, this series is mainly about implementing fetch.fsck.<msg-id>, so you can turn on transfer.fsckObjects=true and still allow "fetch" to fetch a whitelist of repos.

I wrote this because I turned transfer.fsckObjects=true on internally while the .gitmodules security issue was still under embargo, but then found that we couldn't clone various repos with historical issues anymore.

It's now 10 patches instead of 5. I rolled the spiritual successor of
https://public-inbox.org/git/[email protected]/
into this series (as documentation, not tests), and noticed many more things along the way that were already broken or not tested for.

Three of those come after the "fetch.fsck.*" implementation, not because they rely on that new feature, but because now fetch.fsck.* is one of the three modes (along with fsck and receive) that we'd like to test.

Ævar Arnfjörð Bjarmason (10):
receive.fsck.<msg-id> tests: remove dead code
config doc: don't describe *.fetchObjects twice config doc: unify the description of fsck.* and receive.fsck.* config doc: elaborate on what transfer.fsckObjects does config doc: elaborate on fetch.fsckObjects security transfer.fsckObjects tests: untangle confusing setup
fetch: implement fetch.fsck.*
fsck: test & document {fetch,receive}.fsck.* config fallback
fsck: add stress tests for fsck.skipList
fsck: test and document unknown fsck.<msg-id> values

 Documentation/config.txt        | 138 ++++++++++++++++++++++++--------
 fetch-pack.c                    |  32 +++++++-
 t/t5504-fetch-receive-strict.sh | 126 ++++++++++++++++++++++++++++-
 3 files changed, 255 insertions(+), 41 deletions(-)
Signature · 1 line
2.18.0.345.g5c9ce644c3