既に稼働しているPukiWiki 1.5.2利用サイトを1.5.3にアップデートする手順の説明です。

patchコマンドを使うことにより、PukiWikiをカスタマイズしたり、pukiwiki/plugin設定を変更していても、少ない手順で1.5.3にアップデートすることができます。

前提

patchにより1.5.2を1.5.3にバージョンアップする手順

準備

UTF-8版1.5.2のサイトを1.5.3にする手順

実行例:

umorigu@VAIO ~/Documents/pw/updater/my_pukiwiki_utf8
$ patch -p1 < ../update_pukiwiki_152to153_utf8.patch
patching file `INSTALL.txt'
patching file `README.txt'
patching file `lib/auth.php'
patching file `lib/backup.php'
patching file `lib/convert_html.php'
patching file `lib/diff.php'
patching file `lib/file.php'
patching file `lib/func.php'
patching file `lib/html.php'
patching file `lib/init.php'
patching file `lib/link.php'
patching file `lib/make_link.php'
patching file `lib/plugin.php'
patching file `lib/pukiwiki.php'
patching file `plugin/amazon.inc.php'
patching file `plugin/aname.inc.php'
patching file `plugin/article.inc.php'
patching file `plugin/attach.inc.php'
patching file `plugin/back.inc.php'
patching file `plugin/backup.inc.php'
patching file `plugin/bugtrack.inc.php'
patching file `plugin/calendar.inc.php'
patching file `plugin/calendar2.inc.php'
patching file `plugin/calendar_viewer.inc.php'
patching file `plugin/color.inc.php'
patching file `plugin/comment.inc.php'
patching file `plugin/diff.inc.php'
patching file `plugin/edit.inc.php'
patching file `plugin/freeze.inc.php'
patching file `plugin/include.inc.php'
patching file `plugin/includesubmenu.inc.php'
patching file `plugin/insert.inc.php'
patching file `plugin/interwiki.inc.php'
patching file `plugin/lookup.inc.php'
patching file `plugin/ls2.inc.php'
patching file `plugin/map.inc.php'
patching file `plugin/md5.inc.php'
patching file `plugin/memo.inc.php'
patching file `plugin/menu.inc.php'
patching file `plugin/navi.inc.php'
patching file `plugin/new.inc.php'
patching file `plugin/newpage.inc.php'
patching file `plugin/online.inc.php'
patching file `plugin/paint.inc.php'
patching file `plugin/pcomment.inc.php'
patching file `plugin/popular.inc.php'
patching file `plugin/random.inc.php'
patching file `plugin/read.inc.php'
patching file `plugin/recent.inc.php'
patching file `plugin/ref.inc.php'
patching file `plugin/referer.inc.php'
patching file `plugin/related.inc.php'
patching file `plugin/rename.inc.php'
patching file `plugin/ruby.inc.php'
patching file `plugin/search.inc.php'
patching file `plugin/setlinebreak.inc.php'
patching file `plugin/showrss.inc.php'
patching file `plugin/source.inc.php'
patching file `plugin/stationary.inc.php'
patching file `plugin/template.inc.php'
patching file `plugin/topicpath.inc.php'
patching file `plugin/tracker.inc.php'
patching file `plugin/unfreeze.inc.php'
patching file `plugin/versionlist.inc.php'
patching file `plugin/vote.inc.php'
patching file `plugin/yetlist.inc.php'
patching file `skin/tdiary.skin.php'

umorigu@VAIO ~/Documents/pw/updater/my_pukiwiki_utf8
$

EUC_JP版1.5.2のサイトを1.5.3にする手順

実行例:

umorigu@UMORIGUVAIO ~/Documents/pw/update/my_pukiwiki_eucjp
$ patch -p1 < ../update_pukiwiki_152to153_eucjp.patch
patching file `INSTALL.txt'
patching file `INSTALL.txt'
patching file `README.txt'
patching file `lib/auth.php'
patching file `lib/backup.php'
patching file `lib/convert_html.php'
patching file `lib/diff.php'
patching file `lib/file.php'
patching file `lib/func.php'
patching file `lib/html.php'
patching file `lib/init.php'
patching file `lib/link.php'
patching file `lib/make_link.php'
patching file `lib/plugin.php'
patching file `lib/pukiwiki.php'
patching file `plugin/amazon.inc.php'
patching file `plugin/aname.inc.php'
patching file `plugin/article.inc.php'
patching file `plugin/attach.inc.php'
patching file `plugin/back.inc.php'
patching file `plugin/backup.inc.php'
patching file `plugin/bugtrack.inc.php'
patching file `plugin/calendar.inc.php'
patching file `plugin/calendar2.inc.php'
patching file `plugin/calendar_viewer.inc.php'
patching file `plugin/color.inc.php'
patching file `plugin/comment.inc.php'
patching file `plugin/diff.inc.php'
patching file `plugin/edit.inc.php'
patching file `plugin/freeze.inc.php'
patching file `plugin/include.inc.php'
patching file `plugin/includesubmenu.inc.php'
patching file `plugin/insert.inc.php'
patching file `plugin/interwiki.inc.php'
patching file `plugin/lookup.inc.php'
patching file `plugin/ls2.inc.php'
patching file `plugin/map.inc.php'
patching file `plugin/md5.inc.php'
patching file `plugin/memo.inc.php'
patching file `plugin/menu.inc.php'
patching file `plugin/navi.inc.php'
patching file `plugin/new.inc.php'
patching file `plugin/newpage.inc.php'
patching file `plugin/online.inc.php'
patching file `plugin/paint.inc.php'
patching file `plugin/pcomment.inc.php'
patching file `plugin/popular.inc.php'
patching file `plugin/random.inc.php'
patching file `plugin/read.inc.php'
patching file `plugin/recent.inc.php'
patching file `plugin/ref.inc.php'
patching file `plugin/referer.inc.php'
patching file `plugin/related.inc.php'
patching file `plugin/rename.inc.php'
patching file `plugin/ruby.inc.php'
patching file `plugin/search.inc.php'
patching file `plugin/setlinebreak.inc.php'
patching file `plugin/showrss.inc.php'
patching file `plugin/source.inc.php'
patching file `plugin/stationary.inc.php'
patching file `plugin/template.inc.php'
patching file `plugin/topicpath.inc.php'
patching file `plugin/tracker.inc.php'
patching file `plugin/unfreeze.inc.php'
patching file `plugin/versionlist.inc.php'
patching file `plugin/vote.inc.php'
patching file `plugin/yetlist.inc.php'
patching file `skin/tdiary.skin.php'

umorigu@UMORIGUVAIO ~/Documents/pw/update/my_pukiwiki_eucjp
$

コンフリクトしたとき

カスタマイズ個所と1.5.2変更個所が重なっている場合、上記の手順では一部または全てのパッチ当てに失敗することがあります。(コンフリクト)

patch コマンドの出力をチェックし、パッチ当てに失敗した個所では手動で変更を適用します。


トップ   編集 凍結解除 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2020-03-30 (月) 04:10:58
Site admin: PukiWiki Development Team

PukiWiki 1.5.3+ © 2001-2020 PukiWiki Development Team. Powered by PHP 5.6.40-0+deb8u12. HTML convert time: 0.236 sec.

OSDN