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 672303 - Support for generic compilation of keyfiles to dbs
Support for generic compilation of keyfiles to dbs
Status: RESOLVED FIXED
Product: dconf
Classification: Core
Component: general
git master
Other All
: Normal enhancement
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2012-03-17 16:19 UTC by Allison Karlitskaya (desrt)
Modified: 2014-01-13 21:27 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
dconf update: change error handling (6.19 KB, patch)
2013-11-28 19:32 UTC, Allison Karlitskaya (desrt)
committed Details | Review
dconf(1): some whitespace changes (2.79 KB, patch)
2013-11-28 19:32 UTC, Allison Karlitskaya (desrt)
committed Details | Review
dconf(1): add 'dconf compile' command (2.88 KB, patch)
2013-11-28 19:32 UTC, Allison Karlitskaya (desrt)
committed Details | Review

Description Allison Karlitskaya (desrt) 2012-03-17 16:19:10 UTC
'dconf update' lets you compile keyfiles into dconf databases in a very specific way.  Would be nice if we had the ability to do this in a more generic way (ie: compile arbitrary keyfile into arbitrary database file).
Comment 1 Allison Karlitskaya (desrt) 2013-11-28 19:32:16 UTC
Created attachment 263065 [details] [review]
dconf update: change error handling

Instead of just ignoring errors when trying to parse keyfiles in a .d
directory, fail the compile outright.  'dconf update' will print the
error and attempt to move on to the next .d directory in line.
Comment 2 Allison Karlitskaya (desrt) 2013-11-28 19:32:19 UTC
Created attachment 263066 [details] [review]
dconf(1): some whitespace changes

Add some more padding to 'dconf help' output to accomodate coming
additions.
Comment 3 Allison Karlitskaya (desrt) 2013-11-28 19:32:22 UTC
Created attachment 263067 [details] [review]
dconf(1): add 'dconf compile' command

This allows manually compiling dconf databases outside of /etc.  This is meant
to be used from the build system of projects that want to install dconf
databases (like gdm) to easily build the database in-tree.
Comment 4 Allison Karlitskaya (desrt) 2014-01-13 21:27:00 UTC
Attachment 263065 [details] pushed as c211fc4 - dconf update: change error handling
Attachment 263066 [details] pushed as 30f0c32 - dconf(1): some whitespace changes
Attachment 263067 [details] pushed as 403060b - dconf(1): add 'dconf compile' command