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 766248 - Add support to signal write errors
Add support to signal write errors
Status: RESOLVED OBSOLETE
Product: dconf
Classification: Core
Component: general
git master
Other All
: Normal normal
: ---
Assigned To: dconf-maint
dconf-maint
Depends on:
Blocks:
 
 
Reported: 2016-05-11 00:08 UTC by Cosimo Cecchi
Modified: 2018-09-21 16:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
writer: factor out a common method (2.71 KB, patch)
2016-05-11 00:08 UTC, Cosimo Cecchi
none Details | Review
writer: add a signal to notify for errors when writing (2.02 KB, patch)
2016-05-11 00:08 UTC, Cosimo Cecchi
none Details | Review

Description Cosimo Cecchi 2016-05-11 00:08:17 UTC
The attached patchset adds the ability to signal when an error happens while writing the dconf database. This is particularly useful for out of space conditions, which are treated with a specific error code.
Comment 1 Cosimo Cecchi 2016-05-11 00:08:20 UTC
Created attachment 327619 [details] [review]
writer: factor out a common method

Factor out a common method to route completion of DBus methods through.
Comment 2 Cosimo Cecchi 2016-05-11 00:08:22 UTC
Created attachment 327620 [details] [review]
writer: add a signal to notify for errors when writing

Some clients will be interested to know when a write failed for
specific reasons, e.g. when there's no space left on the device.

This commit adds a signal to that effect. For now we differentiate
between two error codes: a generic one and one for when the writer is
out of disk space.
Comment 3 Cosimo Cecchi 2016-09-01 22:52:55 UTC
Allison, any chance you can take a look at these?
Comment 4 GNOME Infrastructure Team 2018-09-21 16:16:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/dconf/issues/29.