dbus method call to trigger database update
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.2k
- Forks
- 160
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 3
Description
- Creating a snapper aware structure for a new config via comandline, is possible (eg snap-test).
- Using a btrfs-send/btrfs-receive pipe will send send a snapshot to the new snapper config location (eg /var/lib/snap-test/1/
- create a valid snapper info.xml (type, num, date, description, userdata, ...)
Now it takes an undeterministic time, until a snapper -c snap-test list will show the new snapshot.
I'v seen in the code, that there is a dbus signal SnapshotCreated. How do i use it to manually trigger an update after i created the snapper relevant data?
Or, which method is available to trigger the desired behavoir?
And by the way: Thanks for providing snapper. A wonderful tool for my needs.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the DBus interface around the mentioned SnapshotCreated signal and the code path used by snapper -c snap-test list. Compare that behavior with the manually created config, btrfs-send/btrfs-receive snapshot, and info.xml; done should mean identifying or defining a reliable way to make the new snapshot appear immediately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100