aboutsummaryrefslogtreecommitdiffstats
path: root/tools/migration/prosody-migrator.lua
Commit message (Collapse)AuthorAgeFilesLines
* tools: Update imports to use new prosody.* namespaceKim Alvefur2023-06-081-9/+13
|
* Spelling: Fix various spelling mistakes (thanks timeless)Kim Alvefur2022-03-071-2/+2
| | | | | | Words, sometimes I wonder how they even work Maybe I missed something.
* migrator: Support pubsub and pep as a special-caseKim Alvefur2022-01-091-6/+23
| | | | | This sorta overloads the type suffix but PEP is used for enough stuff to justify this hack
* migrator: Enhance loggingKim Alvefur2022-01-091-4/+11
|
* migrator: Add option to keep going despite errorsKim Alvefur2022-01-091-0/+14
|
* migrator: Also migrate host/non-user archive dataKim Alvefur2022-01-091-3/+2
| | | | Needed for things like mod_http_file_share
* migrator: Refactor out individual item migrator for code deduplicationKim Alvefur2022-01-091-16/+18
|
* migrator: Include --options in usage infoKim Alvefur2022-01-091-1/+4
|
* migrator: Reuse earlier usage textKim Alvefur2022-01-091-3/+7
|
* migrator: Customise cli argument parsing (--help, --verbose)Kim Alvefur2022-01-091-1/+8
| | | | | Previously -v etc would do nothing and --config without argument would not have worked correctly.
* migrator: Silence assert in core.moduleapiKim Alvefur2021-07-291-0/+4
| | | | | The assert triggers because we're not loading the stanza route, because we are unlikely to need it during migration.
* migrator: Use parsed command line flags already parsed by util.startupKim Alvefur2021-07-291-14/+1
|
* migrator: Trick net.server into thinking the config is loadedKim Alvefur2021-07-291-0/+1
| | | | Fixes "Loading outside Prosody or Prosody not yet initialized"
* migrator: Customise startup sequence to fix #1673 (Thanks acidsys)Kim Alvefur2021-07-291-2/+19
| | | | | | | | | | | | Diverge from util.startup.prosodyctl() in order to skip unneeded behavior, such as loading the *Prosody* config file, which we do not need here, based on the `--config` flag which should point at the migrator config file instead. Notably removed: * read_config() since this loads the Prosody config * check_unwriteable() which checks logfiles specified in the Prosody config, so not relevant * make_dummy_hosts() but the migrator sets up its own hosts during migration
* migrator: Add support for archives (fixes #651)Kim Alvefur2019-05-051-0/+6
|
* migrator: Rewrite to use storage modulesKim Alvefur2019-05-051-38/+110
| | | | | This allows migrating to and from any storage module that supports the right methods. Based on experimental mod_migrate work.
* migrator: Remove broken distinction between a load error or a missing ↵Kim Alvefur2017-04-071-7/+2
| | | | storage handler (worked with module()?)
* migrator: Fix missing wordKim Alvefur2017-02-151-1/+1
|
* migrator: Fix argument parsingKim Alvefur2017-02-151-5/+4
|
* migrator: Unexpand whitespaceKim Alvefur2017-02-151-2/+2
|
* migrator: Remove wrapper around envloadfile since envloadfile does the right ↵Kim Alvefur2017-02-021-10/+1
| | | | thing in a compatible way
* Remove all trailing whitespaceFlorian Zeitz2013-08-091-1/+1
|
* Eliminate direct setfenv usageFlorian Zeitz2012-06-081-13/+11
|
* tools/migration/prosody-migrator.lua: Add messages to show when migration is ↵Matthew Wild2011-04-051-1/+2
| | | | in progress
* tools/migration: Support for ~/ in pathsMatthew Wild2011-04-051-0/+9
|
* tools/migration/prosody-migrator.lua: Refactor store handler loading to ↵Matthew Wild2011-04-051-13/+22
| | | | report errors they throw
* tools/migration: Rename main.lua -> prosody-migrator.lua and update the MakefileMatthew Wild2011-03-211-0/+115