Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | migrator: Support pubsub and pep as a special-case | Kim Alvefur | 2022-01-09 | 1 | -6/+23 |
| | | | | | This sorta overloads the type suffix but PEP is used for enough stuff to justify this hack | ||||
* | migrator: Enhance logging | Kim Alvefur | 2022-01-09 | 1 | -4/+11 |
| | |||||
* | migrator: Add option to keep going despite errors | Kim Alvefur | 2022-01-09 | 1 | -0/+14 |
| | |||||
* | migrator: Also migrate host/non-user archive data | Kim Alvefur | 2022-01-09 | 1 | -3/+2 |
| | | | | Needed for things like mod_http_file_share | ||||
* | migrator: Refactor out individual item migrator for code deduplication | Kim Alvefur | 2022-01-09 | 1 | -16/+18 |
| | |||||
* | migrator: Include --options in usage info | Kim Alvefur | 2022-01-09 | 1 | -1/+4 |
| | |||||
* | migrator: Reuse earlier usage text | Kim Alvefur | 2022-01-09 | 1 | -3/+7 |
| | |||||
* | migrator: Customise cli argument parsing (--help, --verbose) | Kim Alvefur | 2022-01-09 | 1 | -1/+8 |
| | | | | | Previously -v etc would do nothing and --config without argument would not have worked correctly. | ||||
* | migrator: Silence assert in core.moduleapi | Kim Alvefur | 2021-07-29 | 1 | -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.startup | Kim Alvefur | 2021-07-29 | 1 | -14/+1 |
| | |||||
* | migrator: Trick net.server into thinking the config is loaded | Kim Alvefur | 2021-07-29 | 1 | -0/+1 |
| | | | | Fixes "Loading outside Prosody or Prosody not yet initialized" | ||||
* | migrator: Customise startup sequence to fix #1673 (Thanks acidsys) | Kim Alvefur | 2021-07-29 | 1 | -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 Alvefur | 2019-05-05 | 1 | -0/+6 |
| | |||||
* | migrator: Rewrite to use storage modules | Kim Alvefur | 2019-05-05 | 1 | -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 Alvefur | 2017-04-07 | 1 | -7/+2 |
| | | | | storage handler (worked with module()?) | ||||
* | migrator: Fix missing word | Kim Alvefur | 2017-02-15 | 1 | -1/+1 |
| | |||||
* | migrator: Fix argument parsing | Kim Alvefur | 2017-02-15 | 1 | -5/+4 |
| | |||||
* | migrator: Unexpand whitespace | Kim Alvefur | 2017-02-15 | 1 | -2/+2 |
| | |||||
* | migrator: Remove wrapper around envloadfile since envloadfile does the right ↵ | Kim Alvefur | 2017-02-02 | 1 | -10/+1 |
| | | | | thing in a compatible way | ||||
* | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -1/+1 |
| | |||||
* | Eliminate direct setfenv usage | Florian Zeitz | 2012-06-08 | 1 | -13/+11 |
| | |||||
* | tools/migration/prosody-migrator.lua: Add messages to show when migration is ↵ | Matthew Wild | 2011-04-05 | 1 | -1/+2 |
| | | | | in progress | ||||
* | tools/migration: Support for ~/ in paths | Matthew Wild | 2011-04-05 | 1 | -0/+9 |
| | |||||
* | tools/migration/prosody-migrator.lua: Refactor store handler loading to ↵ | Matthew Wild | 2011-04-05 | 1 | -13/+22 |
| | | | | report errors they throw | ||||
* | tools/migration: Rename main.lua -> prosody-migrator.lua and update the Makefile | Matthew Wild | 2011-03-21 | 1 | -0/+115 |