aboutsummaryrefslogtreecommitdiffstats
path: root/tools/migration/prosody-migrator.lua
Commit message (Collapse)AuthorAgeFilesLines
* 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