Bug 439777 - Automatic conversion of local snippets from older format to current format during upgrade
Summary: Automatic conversion of local snippets from older format to current format du...
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Recommenders (show other bugs)
Version: unspecified   Edit
Hardware: PC Mac OS X
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2014-07-17 06:19 EDT by Johannes Dorn CLA
Modified: 2019-07-24 14:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Dorn CLA 2014-07-17 06:19:18 EDT
If we change the snippet format, i.e. from format-3 to format-4, we will be updating all upstream snippets so that users will seamlessly get the updated snippets from the remote snippet repository.

However, if there are local snippets created with an older format, the user will have to manually convert the snippets into the new format. We also do not provide a notification for this, so the user might not realize he has to do something.

Ideally, the snippets would be automatically (or after prompting the user) converted into the new snippet format. This is not trivial, as we have to handle different scenarios:

Snippet fields can be renamed, added, deleted
The conversion should work not only from the last to the current version, but also be able to skip several format changes.
Comment 1 Andreas Sewe CLA 2015-04-29 07:44:54 EDT
(In reply to Johannes Dorn from comment #0)
> Ideally, the snippets would be automatically (or after prompting the user)
> converted into the new snippet format. This is not trivial, as we have to
> handle different scenarios:
> 
> Snippet fields can be renamed, added, deleted
> The conversion should work not only from the last to the current version,
> but also be able to skip several format changes.

Classifying as enhancement request and adding "helpwanted", as we don't have immediate plans to tackle this one.