Skip to content

Versioning #6

@lrvick

Description

@lrvick

One thing that would be -really- good to agree on nowish would be versioning.

If we can agree on versioning it will allow early implementations of signing to easily migrate to new signing formats.

I propose the following very limited scope:

  1. We agree on json (but not nessesarily everything outlined in Signature Format #4 yet)
  2. We agree on the key: {version:"$SEMVER"}
  3. We agree on storing signature wrapper as plaintext single lines
  4. We agree on the git notes path: "refs/notes/signatures" for a given object we are signing.

If we can at least agree on the above, then early WIP implementations of git-signatures that I need to ship to multiple organizations ASAP can cleanly migrate to an official spec when there is one.

Even if we never include anything in the spec but the the commit hash alone offically with the rest being implementation specific extensions... versioning will still be useful when/if migrates to other hashing formats, or introduces other hash types in the future we might want to use (lots of ideas in mailing list that might materialize at some point).

In https://github.com/hashbang/git-signatures I can do this right away and use {version:"0.1.0-gs",...} until we can form agreement on the rest of the spec.

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedBlocked on another issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions