[CRIU] [PATCH 1/3] criu: arch, x86 -- Rename registers mode

Dmitry Safonov dsafonov at virtuozzo.com
Wed Jul 13 06:34:37 PDT 2016


On 07/13/2016 04:22 PM, Pavel Emelyanov wrote:
>
>> --- a/images/core-x86.proto
>> +++ b/images/core-x86.proto
>
> Can you point me to any standard saying that changing names in proto files
> doesn't break backward compatibility?

It looks like, Language Guide even advices to rename fields if they are
obsolete:

"Non-required fields can be removed, as long as the tag number is not 
used again in your updated message type. You may want to rename the 
field instead, perhaps adding the prefix "OBSOLETE_", or make the tag 
reserved, so that future users of your .proto can't accidentally reuse 
the number."
https://developers.google.com/protocol-buffers/docs/proto


More information about the CRIU mailing list