Skip to content

Conversation

@Zoriot
Copy link
Collaborator

@Zoriot Zoriot commented Dec 15, 2025

No description provided.

@Zoriot Zoriot added this to the v1.6.0 milestone Dec 15, 2025
@Zoriot Zoriot requested review from a team, Le4nderS and Copilot December 15, 2025 21:18
@Zoriot Zoriot self-assigned this Dec 15, 2025
@Zoriot Zoriot mentioned this pull request Dec 15, 2025
10 tasks
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a migration mechanism to automatically move Terra++ v1 configuration files from the legacy terraplusplus/config directory to the plugin's data folder, ensuring a smooth upgrade path for existing users.

Key Changes:

  • Added FolderMigrator utility class to handle directory migration with fallback logic
  • Integrated migration execution into plugin initialization before configuration setup

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
FolderMigrator.java New utility class implementing directory migration logic with move/copy fallback and recursive merging capabilities
Terraplusminus.java Triggers folder migration during plugin setup and consolidates utility imports using wildcard

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link

@Cinnazeyy Cinnazeyy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Zoriot Zoriot merged commit e5f9048 into master Dec 23, 2025
1 check passed
@Zoriot Zoriot deleted the tmm1-folder-migration branch December 23, 2025 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants