After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779223 - Download data updates from the web
Download data updates from the web
Status: RESOLVED FIXED
Product: recipes
Classification: Other
Component: general
unspecified
Other Linux
: Normal enhancement
: 2.0
Assigned To: Recipes maintainer(s)
Recipes maintainer(s)
Depends on: 778619
Blocks:
 
 
Reported: 2017-02-25 15:53 UTC by Matthias Clasen
Modified: 2017-04-07 02:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthias Clasen 2017-02-25 15:53:11 UTC
Once we pull images from the web, there is no reason why we can't also download updates for recipes.db, chefs.db and picks.db from the web.

This obviously requires us to be much more careful about data format changes.
Comment 1 Matthias Clasen 2017-02-26 17:20:44 UTC
One thing to keep in mind is that we allow translation of recipes. Those will have to be downloaded together with the new content.

As a first step, i've split recipe translations off into a separate gettext domain.

Alternatively, we could also merge the translations back into the keyfiles.
Comment 2 Matthias Clasen 2017-04-04 12:41:14 UTC
I've added version information to the databases now, which helps for this as well.
Comment 3 Matthias Clasen 2017-04-06 21:02:48 UTC
Initial support for downloading the data is in place now. Some more polish is needed.