Skip to content

Commit

Permalink
[buteo-sync-plugins-social] Use org.sailfishos.backup dbus service. C…
Browse files Browse the repository at this point in the history
…ontributes to JB#49022

The backup profile may now be triggered automatically via sync
schedules. When the profile is triggered, use org.sailfish.backup
to start system backup processes before uploading backup files to
the cloud service.

All backup configuration is now handled by org.sailfishos.backup,
so it's no longer necessary to read/write this config via the
sync profile.

Restrict the upload/download implementation to only transfer one
file from the local/remote directory as it's not necessary to
transfer more than one during the sync process.
  • Loading branch information
Bea Lam committed Mar 16, 2020
1 parent 7606f2c commit 2cb8621
Show file tree
Hide file tree
Showing 7 changed files with 391 additions and 358 deletions.
2 changes: 0 additions & 2 deletions src/common.pri
Expand Up @@ -30,14 +30,12 @@ DEFINES += 'SOCIALD_SYNC_DATABASE_NAME=\'\"sociald.db\"\''
INCLUDEPATH += . $$PWD/common/

HEADERS += \
$$PWD/common/backuprestoreoptions_p.h \
$$PWD/common/buteosyncfw_p.h \
$$PWD/common/socialdbuteoplugin.h \
$$PWD/common/socialnetworksyncadaptor.h \
$$PWD/common/trace.h

SOURCES += \
$$PWD/common/backuprestoreoptions.cpp \
$$PWD/common/socialdbuteoplugin.cpp \
$$PWD/common/socialnetworksyncadaptor.cpp

Expand Down
99 changes: 0 additions & 99 deletions src/common/backuprestoreoptions.cpp

This file was deleted.

45 changes: 0 additions & 45 deletions src/common/backuprestoreoptions_p.h

This file was deleted.

0 comments on commit 2cb8621

Please sign in to comment.