Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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: Don't create unused directory | Kim Alvefur | 2020-04-19 | 1 | -1/+0 |
| | | | | I guess this contained the old per-store migrators | ||||
* | migrator: Inject data- and plugin paths during build | Kim Alvefur | 2020-04-19 | 1 | -1/+3 |
| | | | | Same way as with the prosody and prosodyctl executables | ||||
* | 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 | 6 | -439/+142 |
| | | | | | This allows migrating to and from any storage module that supports the right methods. Based on experimental mod_migrate work. | ||||
* | Merge 0.10->trunk | Kim Alvefur | 2017-04-10 | 1 | -6/+6 |
|\ | |||||
| * | SQL: Use standard quotes for columns and other identifiers, rewrite to grave ↵ | Kim Alvefur | 2017-04-10 | 1 | -6/+6 |
| | | | | | | | | accents for MySQL only (fixes #885) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-04-09 | 1 | -1/+1 |
|\| | |||||
| * | migration/prosody_sql: Commit transaction when all items have been processed | Kim Alvefur | 2017-04-08 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-04-08 | 2 | -80/+63 |
|\| | |||||
| * | migrator/prosody_sql: Abort and demand database be upgraded if it needs to ↵ | Kim Alvefur | 2017-04-07 | 1 | -1/+32 |
| | | | | | | | | be (#635) | ||||
| * | migrator.prosody_sql: Switch to util.sql (#635) | Kim Alvefur | 2017-04-07 | 1 | -73/+30 |
| | | |||||
| * | migrator: Remove broken distinction between a load error or a missing ↵ | Kim Alvefur | 2017-04-07 | 1 | -7/+2 |
| | | | | | | | | storage handler (worked with module()?) | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-02-15 | 1 | -8/+7 |
|\| | |||||
| * | 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 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-02-04 | 5 | -25/+23 |
|\| | |||||
| * | tools/migration/migrator/*: Remove use of module() | Kim Alvefur | 2017-02-02 | 4 | -15/+22 |
| | | |||||
| * | migrator: Remove wrapper around envloadfile since envloadfile does the right ↵ | Kim Alvefur | 2017-02-02 | 1 | -10/+1 |
| | | | | | | | | thing in a compatible way | ||||
* | | Update every link to the documentation to use HTTPS | Emmanuel Gil Peyrot | 2016-04-16 | 1 | -1/+1 |
|/ | |||||
* | Merge 0.9->0.10 | Kim Alvefur | 2015-02-21 | 1 | -3/+3 |
|\ | |||||
| * | configure, Makefile: Add --libdir option to ./configure, allowing you to ↵ | Matthew Wild | 2015-02-20 | 1 | -3/+3 |
| | | | | | | | | override the $PREFIX/lib/ default. Fixes #470. | ||||
* | | Merge 0.9->0.10 | Matthew Wild | 2014-01-12 | 1 | -4/+8 |
|\| | |||||
| * | tools/migration/migrator/prosody_files: Fix undefined global access of ↵ | Waqas Hussain | 2014-01-03 | 1 | -4/+8 |
| | | | | | | | | ‘error’, print the actual error message and correct file path in the error message when we fail to load a file, skip broken files instead of failing migration. | ||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 2 | -2/+2 |
|/ | |||||
* | tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a) | Kim Alvefur | 2013-03-31 | 1 | -1/+2 |
| | |||||
* | tools/migration/migrator/jabberd14: Use util.xml. | Waqas Hussain | 2012-12-03 | 1 | -50/+1 |
| | |||||
* | Eliminate direct setfenv usage | Florian Zeitz | 2012-06-08 | 2 | -14/+11 |
| | |||||
* | migrator/jabberd14: Minor refactoring. | Waqas Hussain | 2011-12-09 | 1 | -9/+6 |
| | |||||
* | migrator/jabberd14: Support for reading jabberd14 spool files. | Waqas Hussain | 2011-11-19 | 1 | -0/+194 |
| | |||||
* | migrator/prosody_sql.lua: Fix for compatibility with non-MySQL databases | Matthew Wild | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | migrator/prosody_sql.lua: Create (and upgrade) MySQL tables to use ↵ | Matthew Wild | 2011-06-03 | 1 | -0/+18 |
| | | | | MEDIUMTEXT for the 'value' column to avoid truncation | ||||
* | migrator/prosody_files: Don't choke on empty data stores for a user (thanks ↵ | Matthew Wild | 2011-06-02 | 1 | -1/+6 |
| | | | | @eoranged) | ||||
* | tools/migration/migrator/prosody_sql.lua: Fix compatibility with PostgreSQL ↵ | Matthew Wild | 2011-04-11 | 1 | -1/+5 |
| | | | | (thanks Timo) | ||||
* | tools/migration/migrator/prosody_files.lua: Fix for previous commitvault/0.8.00.8.0 | Matthew Wild | 2011-04-05 | 1 | -1/+2 |
| | |||||
* | 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 | 2 | -1/+10 |
| | |||||
* | tools/migration/prosody-migrator.lua: Refactor store handler loading to ↵ | Matthew Wild | 2011-04-05 | 1 | -13/+22 |
| | | | | report errors they throw | ||||
* | tools/migration/migrator/prosody_sql: Throw a friendlier error when LuaDBI ↵ | Matthew Wild | 2011-04-05 | 1 | -1/+5 |
| | | | | is not found | ||||
* | tools/migration: Rename main.lua -> prosody-migrator.lua and update the Makefile | Matthew Wild | 2011-03-21 | 2 | -3/+3 |
| | |||||
* | tools/migration/Makefile: Don't install main.lua (we already install it as ↵ | Matthew Wild | 2011-03-03 | 1 | -2/+2 |
| | | | | prosody-migrator) (thanks Enrico) | ||||
* | tools/migration/*: Numerous changes and restructuring, and the addition of a ↵ | Matthew Wild | 2011-02-26 | 5 | -9/+56 |
| | | | | Makefile | ||||
* | tools/migration/*.lua: Rename config to migrator.cfg.lua, add error handling ↵ | Matthew Wild | 2011-02-25 | 2 | -8/+69 |
| | | | | for config and command-line parameters | ||||
* | tools/migration/main.lua: Add command-line parsing, including ↵ | Matthew Wild | 2011-02-25 | 1 | -11/+29 |
| | | | | --config=CONFIG_FILE, and the ability to specify to/from stores to migrate | ||||
* | tools/migration/config.lua: Minor fixes for more sensible defaults | Matthew Wild | 2011-02-25 | 1 | -10/+10 |
| |