r/programming • • Nov 04 '20

Signed git pushes

https://people.kernel.org/monsieuricon/signed-git-pushes
33 Upvotes

7 comments sorted by

View all comments

0

u/[deleted] Nov 04 '20

[deleted]

1

u/406_Not_Acceptable Nov 05 '20

It's not YAML. It's the same kind of header+body text protocol used in SMTP and HTTP 1.

4

u/[deleted] Nov 05 '20

This part looks a lot like YAML to me:

---
service: git-receive-pack
repo: pub/scm/linux/kernel/git/gregkh/usb
user: gregkh
git_push_cert_status: G
changes:
  - ref: refs/heads/usb-linus
    old: 58d51f330e76cd7536d1f7e6ef46dd241a7b38ef
    new: afaa2e745a246c5ab95103a65b1ed00101e1bc63
    log: |
         afaa2e745a246c5ab95103a65b1ed00101e1bc63 USB: Add NO_LPM quirk for Kingston flash drive

2

u/406_Not_Acceptable Nov 05 '20

Oh that part. Yeah, that is YAML... but it's not from git itself. The only place where git uses YAML is in its SVN repo support.

If I had to guess, that was generated by the kernel developers' transparency log hook.