aboutsummaryrefslogtreecommitdiffstats
path: root/tools/migration
Commit message (Collapse)AuthorAgeFilesLines
* migrator: Support pubsub and pep as a special-caseKim Alvefur2022-01-092-10/+25
| | | | | 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: Don't create unused directoryKim Alvefur2020-04-191-1/+0
| | | | I guess this contained the old per-store migrators
* migrator: Inject data- and plugin paths during buildKim Alvefur2020-04-191-1/+3
| | | | Same way as with the prosody and prosodyctl executables
* migrator: Add support for archives (fixes #651)Kim Alvefur2019-05-051-0/+6
|
* migrator: Rewrite to use storage modulesKim Alvefur2019-05-056-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->trunkKim Alvefur2017-04-101-6/+6
|\
| * SQL: Use standard quotes for columns and other identifiers, rewrite to grave ↵Kim Alvefur2017-04-101-6/+6
| | | | | | | | accents for MySQL only (fixes #885)
* | Merge 0.10->trunkKim Alvefur2017-04-091-1/+1
|\|
| * migration/prosody_sql: Commit transaction when all items have been processedKim Alvefur2017-04-081-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-04-082-80/+63
|\|
| * migrator/prosody_sql: Abort and demand database be upgraded if it needs to ↵Kim Alvefur2017-04-071-1/+32
| | | | | | | | be (#635)
| * migrator.prosody_sql: Switch to util.sql (#635)Kim Alvefur2017-04-071-73/+30
| |
| * migrator: Remove broken distinction between a load error or a missing ↵Kim Alvefur2017-04-071-7/+2
| | | | | | | | storage handler (worked with module()?)
* | Merge 0.10->trunkKim Alvefur2017-02-151-8/+7
|\|
| * 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
| |
* | Merge 0.10->trunkKim Alvefur2017-02-045-25/+23
|\|
| * tools/migration/migrator/*: Remove use of module()Kim Alvefur2017-02-024-15/+22
| |
| * migrator: Remove wrapper around envloadfile since envloadfile does the right ↵Kim Alvefur2017-02-021-10/+1
| | | | | | | | thing in a compatible way
* | Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-161-1/+1
|/
* Merge 0.9->0.10Kim Alvefur2015-02-211-3/+3
|\
| * configure, Makefile: Add --libdir option to ./configure, allowing you to ↵Matthew Wild2015-02-201-3/+3
| | | | | | | | override the $PREFIX/lib/ default. Fixes #470.
* | Merge 0.9->0.10Matthew Wild2014-01-121-4/+8
|\|
| * tools/migration/migrator/prosody_files: Fix undefined global access of ↵Waqas Hussain2014-01-031-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 whitespaceFlorian Zeitz2013-08-092-2/+2
|/
* tools/migration/Makefile: Apply Lua runtime override (see 53f741a5a73a)Kim Alvefur2013-03-311-1/+2
|
* tools/migration/migrator/jabberd14: Use util.xml.Waqas Hussain2012-12-031-50/+1
|
* Eliminate direct setfenv usageFlorian Zeitz2012-06-082-14/+11
|
* migrator/jabberd14: Minor refactoring.Waqas Hussain2011-12-091-9/+6
|
* migrator/jabberd14: Support for reading jabberd14 spool files.Waqas Hussain2011-11-191-0/+194
|
* migrator/prosody_sql.lua: Fix for compatibility with non-MySQL databasesMatthew Wild2011-06-051-1/+1
|
* migrator/prosody_sql.lua: Create (and upgrade) MySQL tables to use ↵Matthew Wild2011-06-031-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 Wild2011-06-021-1/+6
| | | | @eoranged)
* tools/migration/migrator/prosody_sql.lua: Fix compatibility with PostgreSQL ↵Matthew Wild2011-04-111-1/+5
| | | | (thanks Timo)
* tools/migration/migrator/prosody_files.lua: Fix for previous commitvault/0.8.00.8.0Matthew Wild2011-04-051-1/+2
|
* 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-052-1/+10
|
* tools/migration/prosody-migrator.lua: Refactor store handler loading to ↵Matthew Wild2011-04-051-13/+22
| | | | report errors they throw