MerginMaps / MerginMaps/qgis-plugin

Have an option to package project in place

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

Nobody has claimed this yet.

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

Description

The option to package current project may be confusing for some user due to the fact that it requires that user chooses a destination directory for packaging. The packaging could be done in the same folder, which is useful for those that do not need to keep the original project.

So then the new project wizard could be simplified to just two options:

  • create empty project
  • upload current project

When using "upload current project", we could always offer the table with packaging of layers that we currently show just for the packaging option:

image

So the distinction between "package project" and "use project as is" options (2nd and 3rd option in the wizard) would be simply a matter of whether all layers have "package" or "keep as is" (or something in between, just some layers packaged). Also, we should offer packaging only of the layers where it makes sense (e.g. they are using some other provider like PostGIS, or they are located outside of the project directory).

And in the last page, where users have to choose the destination directory for their Mergin project, we would instead default to keep the project in the same directory, and only leave it as an advanced option to put the Mergin project to a different directory if wanted (mainly useful for those who want to keep the original project file intact):

image

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

No files, tests, or entry points are named. Start by locating the new project wizard and its current packaging flow, then trace how layer packaging and the destination directory are selected. Done means the wizard supports packaging in place, presents layer packaging choices during upload, and retains a separate destination as an advanced option.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.