Make Beman Packageable

  • I wondering of the missing PR or issue?
  • Was there no feedback?

A vcpkg registry isn’t a traditional use of source control. It uses the git hashes as a form of content-addressable file-system.

If you look at the version database, each baseline points to a git blob SHA of the respective directory of the given port. There’s no way to PR, ā€œI’m going to rewrite these blobs to fix the old baselinesā€. As long as you’re only adding things you can mostly use normal git porcelain (although it requires a two-step dance of committing, retrieving the blob SHA, and then amending the commit), but reworking succeeded versions requires rewriting history.

The fix is necessary, upstreamed, and can’t be done in the form of a PR, so I just did it. Also (and I’m happy to be proven wrong about this), there’s nothing in Beman that actually requires the PR review process. The registry isn’t even self-testing yet, when it’s more than just an experiment in packaging Exemplar I’ll put the normal PR review controls on it.

1 Like