diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-10-18 20:59:56 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-10-18 20:59:56 +0200 |
commit | ed506558e82da74cf9d9ac0bd0ae87ddf822bd8b (patch) | |
tree | 09079c839097ed223a83f35afc79f6aacbfe5a7a /doc | |
parent | 93d3198b70ce934e757cffba6a2fdec7adb20b42 (diff) | |
download | weechat-ed506558e82da74cf9d9ac0bd0ae87ddf822bd8b.zip |
core: add option "-quit" for command /upgrade (save session and quit without restarting WeeChat, for delayed restoration)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/de/autogen/user/weechat_commands.txt | 37 | ||||
-rw-r--r-- | doc/en/autogen/user/weechat_commands.txt | 13 | ||||
-rw-r--r-- | doc/en/weechat_plugin_api.en.txt | 2 | ||||
-rw-r--r-- | doc/fr/autogen/user/weechat_commands.txt | 15 | ||||
-rw-r--r-- | doc/fr/weechat_plugin_api.fr.txt | 2 | ||||
-rw-r--r-- | doc/it/autogen/user/weechat_commands.txt | 37 | ||||
-rw-r--r-- | doc/it/weechat_plugin_api.it.txt | 3 | ||||
-rw-r--r-- | doc/ja/autogen/user/weechat_commands.txt | 37 |
8 files changed, 101 insertions, 45 deletions
diff --git a/doc/de/autogen/user/weechat_commands.txt b/doc/de/autogen/user/weechat_commands.txt index 3565cd120..068a658cf 100644 --- a/doc/de/autogen/user/weechat_commands.txt +++ b/doc/de/autogen/user/weechat_commands.txt @@ -587,19 +587,30 @@ Beispiele: [[command_weechat_upgrade]] [command]*`upgrade`* Aktualisiert WeeChat ohne die Verbindung zum Server zu trennen:: ........................................ -/upgrade [<path_to_binary>] - -path_to_binary: Pfad zu einer ausführbaren WeeChat Binärdatei (Standardeinstellung ist die aktuell ausführbare Datei) - -Dieser Befehl führt ein Upgrade von WeeChat durch und startet die laufende Sitzung neu. Die neue Version von WeeChat muss deshalb vorab kompiliert oder mit einem Paketmanager installiert worden sein, bevor der Befehl ausgeführt werden kann. - -Hinweis: SSL Verbindungen werden während eines Upgrades unterbrochen, da solche Verbindungen zur Zeit nicht mit GnuTLS gehalten werden können. Nach einem erfolgten Upgrade findet eine automatische Verbindung zu diesen Servern statt. - -Der Upgrade Vorgang besteht aus vier Schritten: - 1. Speicherung der Session in Dateien für Core und Erweiterungen (buffers, history, ..) - 2. alle Erweiterungen werden ausgeschaltet (Konfigurationen *.conf werden gesichert) - 3. Speicherung der WeeChat Konfiguration (weechat.conf) - 4. ausführen einer neuen WeeChat Session. +/upgrade [<path_to_binary>|-quit] + +path_to_binary: path to WeeChat binary (default is current binary) + -quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below) + +This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command. + +Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade. + +Upgrade process has 4 steps: + 1. save session into files for core and plugins (buffers, history, ..) + 2. unload all plugins (configuration files (*.conf) are written on disk) + 3. save WeeChat configuration (weechat.conf) + 4. execute new WeeChat binary and reload session. + +With option "-quit", the process is slightly different: + 1. close *ALL* connections (irc, xfer, relay, ...) + 2. save session into files (*.upgrade) + 3. unload all plugins + 4. save WeeChat configuration + 5. quit WeeChat +Then later you can restore session with command: weechat-curses --upgrade +IMPORTANT: you must restore the session with exactly same configuration (files *.conf). +It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat" ........................................ [[command_weechat_uptime]] diff --git a/doc/en/autogen/user/weechat_commands.txt b/doc/en/autogen/user/weechat_commands.txt index 70e9b6089..17eeb9b6f 100644 --- a/doc/en/autogen/user/weechat_commands.txt +++ b/doc/en/autogen/user/weechat_commands.txt @@ -587,9 +587,10 @@ Examples: [[command_weechat_upgrade]] [command]*`upgrade`* upgrade WeeChat without disconnecting from servers:: ........................................ -/upgrade [<path_to_binary>] +/upgrade [<path_to_binary>|-quit] path_to_binary: path to WeeChat binary (default is current binary) + -quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below) This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command. @@ -600,6 +601,16 @@ Upgrade process has 4 steps: 2. unload all plugins (configuration files (*.conf) are written on disk) 3. save WeeChat configuration (weechat.conf) 4. execute new WeeChat binary and reload session. + +With option "-quit", the process is slightly different: + 1. close *ALL* connections (irc, xfer, relay, ...) + 2. save session into files (*.upgrade) + 3. unload all plugins + 4. save WeeChat configuration + 5. quit WeeChat +Then later you can restore session with command: weechat-curses --upgrade +IMPORTANT: you must restore the session with exactly same configuration (files *.conf). +It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat" ........................................ [[command_weechat_uptime]] diff --git a/doc/en/weechat_plugin_api.en.txt b/doc/en/weechat_plugin_api.en.txt index aa8d23dfd..fbdc7f74b 100644 --- a/doc/en/weechat_plugin_api.en.txt +++ b/doc/en/weechat_plugin_api.en.txt @@ -7777,7 +7777,7 @@ Arguments: command `/quit` issued by user | weechat | upgrade | - - | + string: "quit" if "-quit" argument was given for /upgrade, otherwise NULL | command `/upgrade` issued by user | weechat | upgrade_ended + diff --git a/doc/fr/autogen/user/weechat_commands.txt b/doc/fr/autogen/user/weechat_commands.txt index 558b46455..b98bc1725 100644 --- a/doc/fr/autogen/user/weechat_commands.txt +++ b/doc/fr/autogen/user/weechat_commands.txt @@ -587,9 +587,10 @@ Exemples: [[command_weechat_upgrade]] [command]*`upgrade`* mettre à jour WeeChat sans se déconnecter des serveurs:: ........................................ -/upgrade [<chemin_vers_binaire>] +/upgrade [<chemin_vers_binaire>|-quit] chemin_vers_binaire: chemin vers le binaire WeeChat (par défaut le binaire courant) + -quit: fermer *TOUTES* les connexions, sauver la session et quitter, ce qui rend possible une restauration différée (voir ci-dessous) Cette commande met à jour et recharge une session de WeeChat qui tourne. Le nouveau binaire WeeChat doit avoir été compilé ou installé via un gestionnaire de paquet avant de lancer cette commande. @@ -599,7 +600,17 @@ Le processus de mise à jour comporte 4 étapes : 1. sauvegarder la session pour le coeur et les extensions (tampons, historique, ...) 2. décharger toutes les extensions (les fichiers de configuration (*.conf) sont écrits sur disque) 3. sauvegarder la configuration WeeChat (weechat.conf) - 4. exécuter le nouveau binaire WeeChat et recharger la session. + 4. exécuter le nouveau binaire WeeChat et recharger la session.< + +Avec l'option "-quit", le processus est légèrement différent : + 1. fermer *TOUTES* les connexions + 2. sauvegarder la session (fichiers *.upgrade) + 3. décharger les extensions + 4. sauvegarder la configuration WeeChat + 5. quitter WeeChat +Et plus tard vous pouvez restaurer la session avec la commande: weechat-curses --upgrade +IMPORTANT: vous devez restaurer la session avec exactement la même configuration (fichiers *.conf). +Il est également possible de restaurer la session WeeChat sur une autre machine si vous y copiez le contenu du répertoire "~/.weechat". ........................................ [[command_weechat_uptime]] diff --git a/doc/fr/weechat_plugin_api.fr.txt b/doc/fr/weechat_plugin_api.fr.txt index d677705ba..38025ce8f 100644 --- a/doc/fr/weechat_plugin_api.fr.txt +++ b/doc/fr/weechat_plugin_api.fr.txt @@ -7888,7 +7888,7 @@ Paramètres : la commande `/quit` a été exécutée par l'utilisateur | weechat | upgrade | - - | + chaîne : "quit" si le paramètre "-quit" a été donné pour /upgrade, sinon NULL | la commande `/upgrade` a été exécutée par l'utilisateur | weechat | upgrade_ended + diff --git a/doc/it/autogen/user/weechat_commands.txt b/doc/it/autogen/user/weechat_commands.txt index 6db9ede59..2508775bf 100644 --- a/doc/it/autogen/user/weechat_commands.txt +++ b/doc/it/autogen/user/weechat_commands.txt @@ -587,19 +587,30 @@ Esempi: [[command_weechat_upgrade]] [command]*`upgrade`* aggiorna WeeChat senza disconnettere dai server:: ........................................ -/upgrade [<path_del_binario>] - -path_del_binario: path del binario di WeeChat (di default è il corrente) - -Questo comando aggiorna e ricarica una sessione di WeeChat in esecuzione. Il nuovo binario di WeeChat deve essere stato compilato o installato con un gestore pacchetti prima di eseguire questo comando. - -Nota: le connessioni SSL vengono perdute durante l'aggiornamento, poiché il nuovo caricamento delle sessioni SSL non è ancora possibile con GnuTLS. La riconnessione automatica avviene dopo l'aggiornamento. - -Il processo di aggiornamento è diviso in 4 fasi: - 1. salva la sessione in file per il core e i plugin (buffer, cronologia, ..) - 2. scarica tutti i plugin (i file di configurazione (*.conf) vengono scritti su disco) - 3. salva la configurazione di WeeChat (weechat.conf) - 4. esegui il nuovo binario di WeeChat e carica la sessione. +/upgrade [<path_to_binary>|-quit] + +path_to_binary: path to WeeChat binary (default is current binary) + -quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below) + +This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command. + +Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade. + +Upgrade process has 4 steps: + 1. save session into files for core and plugins (buffers, history, ..) + 2. unload all plugins (configuration files (*.conf) are written on disk) + 3. save WeeChat configuration (weechat.conf) + 4. execute new WeeChat binary and reload session. + +With option "-quit", the process is slightly different: + 1. close *ALL* connections (irc, xfer, relay, ...) + 2. save session into files (*.upgrade) + 3. unload all plugins + 4. save WeeChat configuration + 5. quit WeeChat +Then later you can restore session with command: weechat-curses --upgrade +IMPORTANT: you must restore the session with exactly same configuration (files *.conf). +It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat" ........................................ [[command_weechat_uptime]] diff --git a/doc/it/weechat_plugin_api.it.txt b/doc/it/weechat_plugin_api.it.txt index dab109398..3afa8a148 100644 --- a/doc/it/weechat_plugin_api.it.txt +++ b/doc/it/weechat_plugin_api.it.txt @@ -7844,8 +7844,9 @@ Argomenti: string: argomenti per /quit | comando `/quit` digitato dall'utente +// TRANSLATION MISSING | weechat | upgrade | - - | + string: "quit" if "-quit" argument was given for /upgrade, otherwise NULL | comando `/upgrade` digitato dall'utente | weechat | upgrade_ended + diff --git a/doc/ja/autogen/user/weechat_commands.txt b/doc/ja/autogen/user/weechat_commands.txt index 9baeb777d..49c1a5286 100644 --- a/doc/ja/autogen/user/weechat_commands.txt +++ b/doc/ja/autogen/user/weechat_commands.txt @@ -587,19 +587,30 @@ option: オプションの名前 ("*" で始めるか終わるかすれば大量 [[command_weechat_upgrade]] [command]*`upgrade`* サーバとの接続を維持して WeeChat をアップグレード:: ........................................ -/upgrade [<path_to_binary>] - -path_to_binary: WeeChat バイナリへのパス (デフォルトは現在のバイナリ) - -このコマンドは起動中の WeeChat セッションのアップグレードと再読み込みを行います。このコマンドを実行する前に、新しい WeeChat バイナリをコンパイルするか、パッケージマネージャでインストールしなければいけません。 - -注意: SSL 接続はアップグレード中に破棄されます、これは今のところ GnuTLS では SSL セッションのリロードができないからです。アップグレードの後に自動的に再接続されます。 - -アップグレードは 4 つの手順を踏みます: - 1. コアとプラグイン (バッファ、履歴、...) のセッションをファイルに保存 - 2. 全てのプラグインをアンロード (設定ファイル (*.conf) はディスクに書き込まれます) - 3. WeeChat 設定を保存 (weechat.conf) - 4. 新しい WeeChat バイナリを実行してセッションをリロード。 +/upgrade [<path_to_binary>|-quit] + +path_to_binary: path to WeeChat binary (default is current binary) + -quit: close *ALL* connections, save session and quit WeeChat, which makes possible a delayed restoration (see below) + +This command upgrades and reloads a running WeeChat session. The new WeeChat binary must have been compiled or installed with a package manager before running this command. + +Note: SSL connections are lost during upgrade, because reload of SSL sessions is currently not possible with GnuTLS. There is automatic reconnection after upgrade. + +Upgrade process has 4 steps: + 1. save session into files for core and plugins (buffers, history, ..) + 2. unload all plugins (configuration files (*.conf) are written on disk) + 3. save WeeChat configuration (weechat.conf) + 4. execute new WeeChat binary and reload session. + +With option "-quit", the process is slightly different: + 1. close *ALL* connections (irc, xfer, relay, ...) + 2. save session into files (*.upgrade) + 3. unload all plugins + 4. save WeeChat configuration + 5. quit WeeChat +Then later you can restore session with command: weechat-curses --upgrade +IMPORTANT: you must restore the session with exactly same configuration (files *.conf). +It is possible to restore WeeChat session on another machine if you copy the content of directory "~/.weechat" ........................................ [[command_weechat_uptime]] |