Home GnuPG

Fix an issue with serializing reviewers over the wire
3aed39b8b072Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Fix an issue with serializing reviewers over the wire

Fixes T10981. Ref T10939. arc currently has some odd, hard-coded checks
(missing reviewers, all reviewers away) that depend on the field value being
in a certain format.

The recent changes swapped the field value from scalars (PHIDs) to
dictionaries and broke this workflow. It worked fine in testing because we
apply these checks very inconsistently (not on update or --edit).

To get around this for now, serialize into "PHID!" and then unserialize on
the other side. This is icky but keeps us from needing to require an arc
upgrade.

These checks are generally bad news and should move to the server side in the
long run (T4631).

(This probably prevents clean arc diff, so I'm just cowboy committing it.)

Auditors: chad

Details

Provenance
epriestley <git@epriestley.com>Authored on May 18 2016, 2:41 AM
Parents
rPHABde1a30efc740: Improve audit behavior for "uninteresting" auditors
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHAB3aed39b8b072: Fix an issue with serializing reviewers over the wire (authored by epriestley <git@epriestley.com>).May 18 2016, 2:44 AM