[Feature]: Data protection on upgrade install

Open
#6,058 16 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Active
Tech stack
java
Domain
release

Research direction

The payload names no code, so start by locating the installer/upgrade path: search the repository for packaging or installer configuration and the code that decides the install directory. Establish where a pre-install scan could hook in, and what counts as user data (campaign files) versus application files. Done means an upgrade install relocates found campaign files to a backup/temp location before writing, verified by tests around that scan step. Scope of "things like campaign files" is undefined, so confirm expectations with maintainers first.

Written by the indexing model from the issue text.

Description

feature
Describe the Problem

Despite warnings and alerts, people continue to lose all their data when installing new versions of MapTool.

The Solution you'd like

Before installing to a directory, scan the directory for things like campaign files and move them to the temp/backup/whatever folder.

Alternatives that you've considered.

None

Additional Context

No response

Dominant language
Java
Stars
927
Forks
286
Avg merge
3d 17h
Merged PRs (30d)
94

Getting set up

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.

More from RPTools/maptool

All issues in RPTools/maptool

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.