MerginMaps / MerginMaps/qgis-plugin

Check for triggers and foreign keys that could prevent rebase

Open
#322 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement validation
Dominant language
Python
Stars
44
Forks
20
Avg merge
3d 12h
Merged PRs (30d)
5

Description

Currently users do not get any warnings if they have some custom triggers or foreign keys in they GeoPackages, yet this is not supported by geodiff when doing rebase - causing creation of conflict files and possibly more problems coming from conflict files.

The plugin should therefore check for these during validation.

Maybe at some point there will be API in geodiff for this check - https://github.com/lutraconsulting/geodiff/issues/49 - but in the meanwhile it won't hurt to just implement similar code in the plugin.

Contributor guide

Open the contributing guide

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 locating the plugin's validation entry point and the GeoPackage inspection code. Review how validation reports unsupported database features, then add checks for custom triggers and foreign keys and verify that users receive warnings before rebase.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.