Skip to content

Resolve merge conflicts from pr-38 - #41

Merged
TimInTech merged 1 commit into
mainfrom
codex/resolve-merge-conflicts-for-pr-#38
Oct 10, 2025
Merged

Resolve merge conflicts from pr-38#41
TimInTech merged 1 commit into
mainfrom
codex/resolve-merge-conflicts-for-pr-#38

Conversation

@TimInTech

Copy link
Copy Markdown
Owner

Summary

  • align README with the emoji section headings, add an explicit support/donate section, and translate the Proxmox helper note while keeping internal links valid
  • refresh SIMULATION.md to mirror the new installer behavior (screen tmpfiles persistence, checksum fallbacks) and document the Java updater
  • extend the setup scripts to persist /run/screen, ensure minecraft owns generated files, and in the VM installer recreate update.sh with integrity checks
  • fix the update.sh PaperMC version lookup quoting so the API call hits the correct version endpoint

Testing

  • bash -n setup_minecraft.sh setup_minecraft_lxc.sh setup_bedrock.sh update.sh
  • shopt -s globstar; shellcheck -S warning .sh **/.sh || true (fails: shellcheck not installed in container)
  • systemd-analyze verify minecraft.service || true (expected missing start.sh in repo)
  • rg -n '^(<<<<<<<|=======|>>>>>>>)'
  • rg -n '...'
  • grep -nE '^## (✅|📊|🗃|♻|🕹|☕) ' README.md

https://chatgpt.com/codex/tasks/task_e_68e917811974833393796408b8734df6

Copilot AI review requested due to automatic review settings October 10, 2025 15:25

Copilot AI left a comment

Copy link
Copy Markdown

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 resolves merge conflicts from PR-38 by aligning documentation with the codebase, fixing quoting issues in the update script, and ensuring proper file ownership and screen directory persistence across all installation methods.

  • Fixed API endpoint URL quoting in the PaperMC update script to ensure proper version resolution
  • Added comprehensive ownership management and screen directory persistence to all setup scripts
  • Updated documentation to reflect current installer behavior including checksum validation and screen tmpfiles handling

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
update.sh Fixed URL quoting for PaperMC API version endpoint
setup_minecraft_lxc.sh Added ownership management for minecraft user
setup_minecraft.sh Added comprehensive update script generation and ownership management
setup_bedrock.sh Added screen directory persistence via systemd-tmpfiles
SIMULATION.md Updated documentation to reflect current installer behavior
README.md Aligned section headings with emoji format and added support section
CONTRIBUTING.md Minor documentation improvement for command substitution style

Comment thread setup_minecraft.sh
Comment on lines +99 to +101
E2
chmod +x update.sh

Copilot AI Oct 10, 2025

Copy link

Choose a reason for hiding this comment

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

The update script is duplicated between the main update.sh file and the generated version in setup_minecraft.sh. This creates maintenance burden as changes need to be applied in two places. Consider extracting the script content to a shared template or having the setup script copy from the existing update.sh file.

Suggested change
E2
chmod +x update.sh
# Install update.sh from source to /opt/minecraft
cp /path/to/source/update.sh /opt/minecraft/update.sh
chmod +x /opt/minecraft/update.sh
echo "✅ Installed update.sh to /opt/minecraft/update.sh"

Copilot uses AI. Check for mistakes.
@TimInTech
TimInTech merged commit ac75818 into main Oct 10, 2025
2 checks passed
@TimInTech
TimInTech deleted the codex/resolve-merge-conflicts-for-pr-#38 branch October 10, 2025 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants