Skip to content

Migrate script: Copy and wording updates#15

Merged
jloh merged 9 commits into
mainfrom
copy_and_other
Jul 10, 2025
Merged

Migrate script: Copy and wording updates#15
jloh merged 9 commits into
mainfrom
copy_and_other

Conversation

@jloh
Copy link
Copy Markdown
Member

@jloh jloh commented Jul 9, 2025

No description provided.

@jloh jloh marked this pull request as draft July 9, 2025 04:26
@jloh jloh force-pushed the copy_and_other branch from b432def to 7e6c7a8 Compare July 9, 2025 04:38
jloh added 4 commits July 9, 2025 15:16
no ref

- 99% of users will want to import their configuration by default so just do it and let users know
- We now just print the config we're importing then continue on
no ref

- The thinking here is this allows users to more easily run multiple Ghost instances on the same server by templating the Ghost port
- Majority wont need this but it also simplifies the message around having to forward traffic if you don't start Caddy
no ref

- No reason beyond making things quieter
@jloh jloh force-pushed the copy_and_other branch 2 times, most recently from b9f9eaa to 4d52209 Compare July 9, 2025 05:18
jloh added 3 commits July 9, 2025 17:02
no ref

- Using a passsord on the CLI causes MySQL to print 'mysql: [Warning] Using a password on the command line interface can be insecure.' which doing via environment variables prevents
- This also fixes our other `cut` usages in the event the string has a
  `=` in it not printing the whole string
no ref

- rsync will print us out a nice progress screen if we lower the verbosity which is nicer than outputting all of the files we're moving
no ref

- Our docs suggest installation Ghost by default in `/var/www/` so search one level deep for Ghost installations
- If we find any, prompt the user if any of these are the ones they want to migrate otherwise let users prompt for a custom dir
@jloh jloh force-pushed the copy_and_other branch from fda5d94 to 9530738 Compare July 9, 2025 07:02
jloh added 2 commits July 9, 2025 17:15
no ref

- This should help users with the 'What next?' question at the end of their migration and gives them something to come back to once done
- The idea here is this can start up and do its thing in the background whilst we're rsync'ing content and saves us waiting longer later on
@jloh jloh force-pushed the copy_and_other branch from 86641f1 to bb09cd2 Compare July 9, 2025 07:15
@jloh jloh marked this pull request as ready for review July 10, 2025 02:59
@jloh jloh merged commit bb09cd2 into main Jul 10, 2025
1 check passed
@jloh jloh deleted the copy_and_other branch July 10, 2025 03:09
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.

1 participant