code: func NewPartialManifestKey(project, console, manifest, repoURL string) PartialManifestKey {
  	var buf bytes.Buffer
  	cmpbin.WriteUint(&buf, currentManifestKeyVersion) // version
  	cmpbin.WriteString(&buf, project)
  	cmpbin.WriteString(&buf, console)
  	cmpbin.WriteString(&buf, manifest)
  	cmpbin.WriteString(&buf, repoURL)
  	return PartialManifestKey(buf.Bytes())
  }
docs: // NewPartialManifestKey generates a ManifestKey prefix corresponding to
  // the given parameters.