PhilippC / PhilippC/keepass2android

[FEAT] Add Synchronisation/Merging option to discard changes (restore from remote)

Open
#3,118 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
6.2k
Forks
478
Avg merge
1h 4m
Merged PRs (30d)
2

Description

Coming from https://github.com/PhilippC/keepass2android/issues/3117 (save/merge run into timeout) I just thought: OK, lets discard my changes.

But this does not seem to be possible. It always said it has a local cached version of the db which needs to be synched. I am not able to discard this local cached unsynchend/unmerged version of the db.
Even when I delete the local cache of the db from the home/main screen.

My only option was to delete the whole app and recreate the db connection.

I would suggest this options when conflict is found between local and remote:

  1. Merge (already exists in current version)
  2. Override remote (already exists)
  3. Discard local and reload from remote

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the conflict-handling flow and the local cache deletion path from the home/main screen, then compare the existing Merge and Override remote options. Done means a third option can discard the local unsynchronized database and reload it from remote without deleting the app or recreating the database connection.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
databases, mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.