Re: [protobuf] Message Migration Practice?

2016-02-19 Thread 'Josh Haberman' via Protocol Buffers
If the structure of the schema changes, your new schema will be 
incompatible with your old schema. You might need to convert the data 
manually to your new schema in this case.

On Tuesday, February 16, 2016 at 8:58:58 AM UTC-8, Vincent Dupuis wrote:
>
> How to migrate when the schema structure change?
> I'm talking about fields moving of a schema of a serialization file that 
> needs to be migrated.
>
>
>
> On Monday, September 10, 2012 at 11:11:45 PM UTC-4, Jason Hsueh wrote:
>>
>> The general practices for changing messages are listed here: 
>> https://developers.google.com/protocol-buffers/docs/proto#updating.
>>
>>
>> On Wed, Sep 5, 2012 at 7:04 PM, Minhyuk Kwon  wrote:
>>
>>> Hello,
>>>
>>> I have plan for introducing protobuf to in our products for passing 
>>> information of product's input project file structure.
>>> And this information may frequently upgrade near future(via product 
>>> version upgrade).
>>>
>>> So, I have a question. 
>>> If I remove old field from message and add new field, Can I 
>>> (auto)migrate without breaking change?
>>> And if you guys have(or know) document for this kind practice, please 
>>> let me know.
>>>
>>>
>>> Regards,
>>>
>>> -Kwon
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Protocol Buffers" group.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msg/protobuf/-/Jka1u_famjkJ.
>>> To post to this group, send email to prot...@googlegroups.com.
>>> To unsubscribe from this group, send email to 
>>> protobuf+u...@googlegroups.com.
>>> For more options, visit this group at 
>>> http://groups.google.com/group/protobuf?hl=en.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


Re: [protobuf] Message Migration Practice?

2016-02-16 Thread Vince
How to migrate when the schema structure change?
I'm talking about fields moving of a schema of a serialization file that 
needs to be migrated.



On Monday, September 10, 2012 at 11:11:45 PM UTC-4, Jason Hsueh wrote:
>
> The general practices for changing messages are listed here: 
> https://developers.google.com/protocol-buffers/docs/proto#updating.
>
>
> On Wed, Sep 5, 2012 at 7:04 PM, Minhyuk Kwon  > wrote:
>
>> Hello,
>>
>> I have plan for introducing protobuf to in our products for passing 
>> information of product's input project file structure.
>> And this information may frequently upgrade near future(via product 
>> version upgrade).
>>
>> So, I have a question. 
>> If I remove old field from message and add new field, Can I (auto)migrate 
>> without breaking change?
>> And if you guys have(or know) document for this kind practice, please let 
>> me know.
>>
>>
>> Regards,
>>
>> -Kwon
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Protocol Buffers" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/protobuf/-/Jka1u_famjkJ.
>> To post to this group, send email to prot...@googlegroups.com 
>> .
>> To unsubscribe from this group, send email to 
>> protobuf+u...@googlegroups.com .
>> For more options, visit this group at 
>> http://groups.google.com/group/protobuf?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.


[protobuf] Message Migration Practice?

2012-09-10 Thread Minhyuk Kwon
Hello,

I have plan for introducing protobuf to in our products for passing 
information of product's input project file structure.
And this information may frequently upgrade near future(via product version 
upgrade).

So, I have a question. 
If I remove old field from message and add new field, Can I (auto)migrate 
without breaking change?
And if you guys have(or know) document for this kind practice, please let 
me know.


Regards,

-Kwon

-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/protobuf/-/Jka1u_famjkJ.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.



Re: [protobuf] Message Migration Practice?

2012-09-10 Thread Jason Hsueh
The general practices for changing messages are listed here:
https://developers.google.com/protocol-buffers/docs/proto#updating.


On Wed, Sep 5, 2012 at 7:04 PM, Minhyuk Kwon mug...@gmail.com wrote:

 Hello,

 I have plan for introducing protobuf to in our products for passing
 information of product's input project file structure.
 And this information may frequently upgrade near future(via product
 version upgrade).

 So, I have a question.
 If I remove old field from message and add new field, Can I (auto)migrate
 without breaking change?
 And if you guys have(or know) document for this kind practice, please let
 me know.


 Regards,

 -Kwon

  --
 You received this message because you are subscribed to the Google Groups
 Protocol Buffers group.
 To view this discussion on the web visit
 https://groups.google.com/d/msg/protobuf/-/Jka1u_famjkJ.
 To post to this group, send email to protobuf@googlegroups.com.
 To unsubscribe from this group, send email to
 protobuf+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/protobuf?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Protocol Buffers group.
To post to this group, send email to protobuf@googlegroups.com.
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.