TracUpgrade のバージョン 1 とバージョン 2 との変更
- 日時:
- 2015/05/27 0:24:03 (11年前)
凡例:
- 変更なし
- 追加
- 削除
- 更新
-
TracUpgrade
v1 v2 1 = Upgrade Instructions =1 = アップグレードの説明 = #UpgradeInstructions 2 2 [[TracGuideToc]] 3 [[PageOutline(2- 3,,inline,unnumbered)]]3 [[PageOutline(2-4,,inline,unnumbered)]] 4 4 5 == Instructions ==5 == 一般的な手順 == #Instructions 6 6 7 Typically, there are seven steps involved in upgrading to a newer version of Trac:7 通常、 Trac を新しいバージョンにアップグレードするときに、 7 ステップを踏まなければなりません: 8 8 9 === 1. Bring your serveroff-line9 === 1. サーバーをオフラインにする === #Bringyourserveroff-line 10 10 11 It is not a good idea to update a running server: the server processes may have parts of the current packages cached in memory, and updating the code will likely trigger [#ZipImportError internal errors]. 11 サーバー起動中にアップデートを行うのはやめてください。パッケージの一部をメモリにキャッシュしているかもしれませんし、コードのアップデートによって内部エラーを引き起こす可能性があります。 12 12 13 === 2. Update the Trac Code=== #UpdatetheTracCode13 === 2. Trac のコードを更新する === #UpdatetheTracCode 14 14 15 Get the new version as described in TracInstall, or your operating system specific procedure. 15 TracInstall または、あなたの OS に合った方法で新しいバージョンの Trac を取得してください。 16 16 17 If you already have a 0.11 version of Trac installed via `easy_install`, it might be easiest to also use `easy_install` to upgrade your Trac installation:17 `easy_install` を使って、バージョン 0.11 の Trac をインストールした場合は、 Trac のアップグレードにも `easy_install` を使うのが最も簡単な方法でしょう: 18 18 19 19 {{{ … … 21 21 }}} 22 22 23 If you do a manual (not operating system-specific) upgrade, you should also stop any running Trac servers before the installation. Doing "hot" upgrades is not advised, especially on Windows ([trac:#7265]). 23 手動で (OS 特有でない) アップグレードをするのであれば、インストールを実行する前に起動中の Trac サーバを停止してください。 "ホット" アップグレードは問題を生じることが多いです。特に Windows では出来ないと考えてください ([trac:#7265 本家チケット 7265])。 24 24 25 You may also want to remove the pre-existing Trac code by deleting the `trac` directory from the Python `lib/site-packages` directory, or remove Trac `.egg` files from former versions. 26 The location of the site-packages directory depends on the operating system and the location in which Python was installed. However, the following locations are typical:27 * on Linux: `/usr/lib/python2.X/site-packages`28 * on Windows: `C:\Python2.X\lib\site-packages`29 * on MacOSX: `/Library/Python/2.X/site-packages`25 すでに存在する Trac のコードを削除するには、 Python の `lib/site-packages` ディレクトリから `trac` ディレクトリか、 Trac の .egg の古いバージョンを削除します。 26 site-packages ディレクトリの位置は OS のシステム、および Python のインストールパスにより異なりますが、一般的には以下の位置にあります: 27 * Linux の場合: `/usr/lib/python2.X/site-packages` 28 * Windows の場合: `C:\Python2.X\lib\site-packages` 29 * MacOSX の場合: `/Library/Python/2.X/site-packages` 30 30 31 You may also want to remove the Trac `cgi-bin`, `htdocs`, `templates` and `wiki-default` directories that are commonly found in a directory called `share/trac`. (The exact location depends on your platform.)31 また、 `share/trac` (正確な位置はプラットフォームに依存しますが一般的にはこの位置です。) ディレクトリ内の `cgi-bin`, `htdocs`, `templates`, `wiki-default` といったディレクトリを削除してもかまいません。 (訳注: 0.11 では、これらのディレクトリは `site-packages/trac` の配下に移動しています) 32 32 33 This cleanup is not mandatory, but makes it easier to troubleshoot issues later on, as you won't waste your time looking at code or templates from a previous release that are not being used anymore... As usual, make a backup before actually deleting things. 33 このクリーンアップは必須ではありませんが、あとでトラブルシュートを行う場合の切り分けが容易になります。すでに使われていない前のリリースのコードやテンプレートを見るなどという時間の浪費をしたくないのであれば、削除しておく方が楽です。もちろん、ファイルを削除する前にバックアップを作成する方が良いでしょう。 34 34 35 === 3. Upgrade the Trac Environment=== #UpgradetheTracEnvironment35 === 3. Trac Environment をアップグレードする === #UpgradetheTracEnvironment 36 36 37 Environment upgrades are not necessary for minor version releases unless otherwise noted.37 Environment のアップグレードは、マイナーバージョンアップに特別な注意書きがない限り、不要です。 38 38 39 After restarting, Trac should show the instances which need a manual upgrade via the automated upgrade scripts to ease the pain. These scripts are run via [TracAdmin trac-admin]: 39 アップグレードした Trac がロードされると、アップグレードする必要があるインスタンスが表示されます。アップグレードはオートメーションされたスクリプトを手で実行します。これらのスクリプトでは [TracAdmin trac-admin] を使用します。 40 40 {{{ 41 41 trac-admin /path/to/projenv upgrade 42 42 }}} 43 43 44 This command will do nothing if the environment is already up-to-date. 44 このコマンドはもし TracEnvironment がすでに最新の状態になっているときは、何もしません。 45 45 46 Note that a backup of your database will be performed automatically prior to the upgrade.47 This feature is relatively new for the PostgreSQL or MySQL database backends, so if it fails, you will have to backup the database manually. Then, to perform the actual upgrade, run:46 Note: データベースのバックアップはアップグレード時に自動で行われます。 47 この機能は最近の更新で、データベースバックエンドに PostgreSQL や MySQL を使用している場合にも対応しましたが、失敗してしまう場合は手動でバックアップしてください。その後、バックアップをスキップしてアップグレードを行うために、下記のコマンドを実行してください: 48 48 {{{ 49 49 trac-admin /path/to/projenv upgrade --no-backup 50 50 }}} 51 51 52 === 4. Update the Trac Documentation=== #UpdatetheTracDocumentation52 === 4. Trac ドキュメントを更新する === #UpdatetheTracDocumentation 53 53 54 Every [TracEnvironment Trac environment] includes a copy of the Trac documentation for the installed version. As you probably want to keep the included documentation in sync with the installed version of Trac, [TracAdmin trac-admin] provides a command to upgrade the documentation:54 すべての [TracEnvironment Trac Environment] で、インストールされたバージョンの Trac ドキュメントのコピーを含んでいます。新しくインストールした Trac のドキュメントと同期を取りたいでしょう。 [TracAdmin trac-admin] がドキュメントを更新するコマンドを提供しています: 55 55 {{{ 56 56 trac-admin /path/to/projenv wiki upgrade 57 57 }}} 58 58 59 Note that this procedure will leave your `WikiStart` page intact. 59 このプロシージャはあなたの `WikiStart` ページ (訳注: `InterMapText` も) をまったく変更せず、そのままに残しておきます。 60 60 61 61 62 === 5. Refresh static resources ===62 === 5. 静的リソースをリフレッシュする === #a5.Refreshstaticresources 63 63 64 If you have set up a web server to give out static resources directly (accessed using the `/chrome/` URL) then you will need to refresh them using the same command:64 もし、静的リソースを直接配布できる ( URL `/chrome/` を使用してアクセス) ようにウェブサーバをセットアップしていたら、同じくコマンドを使用してそれらをリフレッシュする必要があります: 65 65 {{{ 66 66 trac-admin /path/to/env deploy /deploy/path 67 67 }}} 68 this will extract static resources and CGI scripts (`trac.wsgi`, etc) from new Trac version and its plugins into `/deploy/path`. 68 このコマンドは、新しい Trac のバージョンとそのプラグインから `/deploy/path` に静的リソースと CGI スクリプト (`trac.wsgi`, など) を抽出します。 69 69 70 Some web browsers (IE, Opera) cache CSS and Javascript files aggressively, so you may need to instruct your users to manually erase the contents of their browser's cache, a forced refreshed (`<F5>`) should be enough. 70 いくつかのウェブブラウザ (IE, Opera) は、 CSS や Javascript ファイルを強引にキャッシュしてしまうので、ユーザにはこれらのブラウザのキャッシュの中身を手動で削除するために強制的に更新すること (`<F5>`) を十分行うように指示したほうがいいかもしれません。 71 71 {{{#!comment 72 72 Remove above note once #9936 is fixed. 73 73 }}} 74 74 75 === 6. Steps specific to a given Trac version ===76 ==== Upgrading from Trac 0.11 to Trac 0.12 ====75 === 6. 特定の Trac バージョンでの特記事項 === #a6.StepsspecifictoagivenTracversion 76 ==== Trac 0.12 から Trac 1.0 にアップグレードする ==== #UpgradingfromTrac0.12toTrac1.0 77 77 78 ===== Python 2.3 no longer supported ===== 79 The minimum supported version of python is now 2.4 78 サブバージョンサポートの Trac コンポーネントはデフォルト状態では有効にならなくなりました。サブバージョンのサポートを有効にするためには、 `tracopt.versioncontrol.svn` コンポーネントを有効にしてください。例えば、 TracIni に以下のように記述してください: 79 {{{ 80 [components] 81 tracopt.versioncontrol.svn.* = enabled 82 }}} 83 明示的にサブバージョンのコンポーネントを無効に設定していない場合は、この対応をとり、 TracIni を適切に変更してください。 80 84 81 ===== SQLite v3.x required ===== 82 SQLite v2.x is no longer supported. If you still use a Trac database of this format, you'll need to convert it to SQLite v3.x first. See [trac:PySqlite#UpgradingSQLitefrom2.xto3.x] for details. 85 今回の自動アップグレードで添付ファイルが格納される場所が変わります。心配性な人は、アップグレードの前に `attachments` ディレクトリのバックアップを取りたいと思うかもしれません(本当に心配性な人は、すでに environment のフルコピーを取っているでしょうね)。 `attachments` ディレクトリに添付ファイル //以外// のファイルが格納されていると、新しいレイアウトへの移行の最後のステップで失敗してしまいます:何かファイルやフォルダが格納されていると、今バージョンから使用しない `attachments` ディレクトリを削除することができません。このエラーは無視してもかまいませんが、environment をクリーンアップするために、ファイル内容を確認し、別の場所へ移動させ、 `attachments` ディレクトリを手動で削除したほうがよいでしょう。添付ファイルは今バージョンから environment 配下の `files/attachments` ディレクトリ内に格納されます。 83 86 84 ===== PySqlite 2 required =====85 PySqlite 1.1.x is no longer supported. Please install 2.5.5 or later if possible (see [#Tracdatabaseupgrade Trac database upgrade] below).86 87 87 ===== Multiple Repository Support ===== 88 The latest version includes support for multiple repositories. If you plan to add more repositories to your Trac instance, please refer to TracRepositoryAdmin#Migration. 88 ==== Trac 0.11 から Trac 0.12 にアップグレードする ==== #UpgradingfromTrac0.11toTrac0.12 89 89 90 This may be of interest to users with only one repository, since there's now a way to avoid the potentially costly resync check at every request. 90 ===== Python 2.3 サポート ===== #Python2.3nolongersupported 91 現在 Python 2.4 以降 をサポートします。 91 92 92 ===== Resynchronize the Trac Environment Against the Source Code Repository ===== 93 ===== SQLite v3.x ===== #SQLitev3.xrequired 94 SQLite v2.x のサポートは終了しました。もしいまだに Trac で SQLite v2.x のデータベースを使用しているようならば、まず最初に SQLite v3.x に変換する必要があります。詳細は [trac:PySqlite#UpgradingSQLitefrom2.xto3.x] を参照して下さい。 93 95 94 Each [TracEnvironment Trac environment] must be resynchronized against the source code repository in order to avoid errors such as "[http://trac.edgewall.org/ticket/6120 No changeset ??? in the repository]" while browsing the source through the Trac interface: 96 ===== [trac:PySqlite PySqlite] 2 ===== #PySqlite2required 97 [trac:PySqlite PySqlite] 1.1.x のサポートは終了しました。可能であれば、バージョン 2.5.5 以降のバージョンをインストールして下さい。 (下記 [#Tracdatabaseupgrade Trac データベースのアップグレード] を参照して下さい) 98 99 ===== 複数のリポジトリのサポート===== #MultipleRepositorySupport 100 最新のバージョンでは複数リポジトリの取り扱いをサポートしています。Trac に複数のリポジトリを追加する予定であるならば、今では複数のリポジトリを扱えるようになっています。詳細については、 [TracRepositoryAdmin#Migration 単一リポジトリからの移行手順] を参照して下さい。 101 102 もし単一のリポジトリでの運用を行なっていたとしてもこの手順は興味深いものとなるかもしれません。なぜなら、この方法によってリクエスト毎に発生する潜在的に負荷の高い再同期のチェックを避けることができるからです。 103 104 ===== Trac Environment とソースコードリポジトリの再同期 ===== #ResynchronizetheTracEnvironmentAgainsttheSourceCodeRepository 105 106 Trac でソースコードをブラウズしているときに "[trac:#6120 リポジトリにチェンジセット ??? が存在しません]" のようなエラーが出る場合は、それぞれの [TracEnvironment Trac environment] のソースコードリポジトリと再同期をする必要があります: 95 107 96 108 {{{ … … 98 110 }}} 99 111 100 ===== Improved repository synchronization =====101 In addition to supporting multiple repositories, there is now a more efficient method for synchronizing Trac and your repositories. 112 ===== 向上したリポジトリの再同期 ===== #Improvedrepositorysynchronization 113 複数のリポジトリをサポートするのに加えて、今では Trac と リポジトリの同期でより効果的な方法があります。 102 114 103 While you can keep the same synchronization as in 0.11 adding the post-commit hook as outlined in TracRepositoryAdmin#Synchronization and TracRepositoryAdmin#ExplicitSync will allow more efficient synchronization and is more or less required for multiple repositories. 115 バージョン 0.11 と同様に post-comit フックを使用した同期方法を続けることもできますが、[TracRepositoryAdmin#Synchronization リポジトリの同期方法] や [TracRepositoryAdmin#ExplicitSync 明示的な同期] に書かれている方法の方が、より効果的な同期を行なうことができ、多かれ少なかれ、複数のリポジトリを扱う際に必須となります。 104 116 105 Note that if you were using the `trac-post-commit-hook`, ''you're strongly advised to upgrade it'' to the new hook documented in the above references, as the old hook will not work with anything else than the default repository and even for this case, it won't trigger the appropriate notifications.117 Note: もし、 `trac-post-commit-hook` を使用していたならば、上記を参照して、新しいフックに ''アップグレードすることを強くお勧めします'' 。なぜなら、古いフックはデフォルトのリポジトリ以外では動きません。そしてこの場合、適切な通知のトリガーとなりません。 106 118 107 ===== Authz permission checking =====108 The authz permission checking has been migrated to a fine-grained permission policy. If you use authz permissions (aka `[trac] authz_file` and `authz_module_name`), you must add `AuthzSourcePolicy` in front of your permission policies in `[trac] permission_policies`. You must also remove `BROWSER_VIEW`, `CHANGESET_VIEW`, `FILE_VIEW` and `LOG_VIEW` from your global permissions (with `trac-admin $ENV permission remove` or the "Permissions" admin panel). 119 ===== Authz のパーミッションチェック ===== #Authzpermissionchecking 120 authz のパーミッションチェックが粒度の細かいパーミッションポリシーとしてマイグレートされました。もし authz パーミッションを使用しているならば、 ( `[trac] authz_file` や `authz_module_name` を参照)、 `[trac] permission_policies` で定義するパーミッションポリシーの先頭に、 `AuthzSourcePolicy` を追加しなければなりません。また、グローバルのパーミッション設定から `BROWSER_VIEW`, `CHANGESET_VIEW`, `FILE_VIEW`, `LOG_VIEW` を削除しなければなりません (`trac-admin $ENV permission remove` コマンドまたは、管理パネルの "権限" から削除されます)。 109 121 110 ==== = Microsecond timestamps =====111 All timestamps in database tables (except the `session` table) have been changed from "seconds since epoch" to "microseconds since epoch" values. This change should be transparent to most users, except for custom reports. If any of your reports use date/time columns in calculations (e.g. to pass them to `datetime()`), you must divide the values retrieved from the database by 1'000'000. Similarly, if a report provides a calculated value to be displayed as a date/time (i.e. with a column named "time", "datetime", "changetime", "date", "created" or "modified"), you must provide a microsecond timestamp, that is, multiply your previous calculation with 1'000'000. 122 ==== マイクロ秒のタイムスタンプ ==== #Microsecondtimestamps 123 データベースのテーブルにある全てのタイムスタンプ (セッションテーブルは除く) は "エポックからの秒数" から "エポックからのマイクロ秒数" へ値を変更しました。この変更はカスタムレポートを除いて、ほとんどのユーザは意識せずにすむはずです。レポートで計算に日付/時刻カラムを使用するような場合 (例えば、`datetime()`に渡す場合)、データベースから取り出した値を 1,000,000 で割る必要があります。同様に、もしレポートで日付/時刻と表示される計算された値 (カラム名が "time", "datetime", "changetime", "date", "created" や "modified") をマイクロ秒のタイムスタンプで用いる必要がある場合には、先の計算を1,000,000倍して下さい。 112 124 113 ==== Upgrading from Trac 0.10 to Trac 0.11 ====114 ===== Site Templates and Styles =====115 The templating engine has changed in 0.11 to Genshi, please look at TracInterfaceCustomization for more information. 125 ==== Trac 0.10 から Trac 0.11 へのアップグレード ==== #UpgradingfromTrac0.10toTrac0.11 126 ===== テンプレート と スタイルシート ===== #SiteTemplatesandStyles 127 テンプレートエンジンが Trac 0.11 から Genshi に変わりました。詳細については、 TracInterfaceCustomization を参照して下さい。 116 128 117 If you are using custom CSS styles or modified templates in the `templates` directory of the TracEnvironment, you will need to convert them to the Genshi way of doing things. To continue to use your style sheet, follow the instructions at TracInterfaceCustomization#SiteAppearance. 129 もし、TracEnvironment の `templates` ディレクトリの中のカスタマイズされた CSS や 修正したテンプレートを使用しているならば、 Genshi のスタイルに変換する必要があります。カスタマイズしたスタイルシートを使い続けるためには、[TracInterfaceCustomization#SiteAppearance サイトの外観] の手順に従ってください。 118 130 119 ===== Trac Macros, Plugins =====120 The Trac macros will need to be adapted, as the old-style wiki-macros are not supported anymore (due to the drop of [trac:ClearSilver] and the HDF); they need to be converted to the new-style macros, see WikiMacros. When they are converted to the new style, they need to be placed into the plugins directory instead and not wiki-macros, which is no longer scanned for macros or plugins. 131 ===== Trac マクロプラグイン ===== #TracMacrosPlugins 132 [trac:ClearSilver] と HDF が使用されなくなったことで、古いスタイルの Wiki マクロ は使用できなくなります。そのため Trac マクロを適応させる必要があるでしょう。新しいスタイルのマクロに変更する必要があれば WikiMacros を参照してください。新しいスタイルにコンバートした後、配置するディレクトリは wiki-macros ではなく、 plugins を使用してください。 wiki-macros ディレクトリからマクロやプラグインを探すことはもうありません。 121 133 122 ===== F or FCGI/WSGI/CGI users =====123 For those who run Trac under the CGI environment, run this command in order to obtain the trac.*gi file:134 ===== FCGI/WSGI/CGI を使用する場合 ===== #ForFCGIWSGICGIusers 135 CGI で Trac を起動している場合、以下のコマンドを実行して trac.*gi ファイルを取得してください: 124 136 {{{ 125 137 trac-admin /path/to/env deploy /deploy/directory/path 126 138 }}} 127 139 128 This will create a deploy directory with the following two subdirectories: `cgi-bin` and `htdocs`. Then update your Apache configuration file `httpd.conf` with this new `trac.cgi` location and `htdocs` location. 140 このコマンドでは、デプロイ用ディレクトリを作成します。デプロイ用ディレクトリには `cgi-bin` と `htdocs` の二つのサブディレクトリが含まれています。 Apache の `httpd.conf` を新しい `trac.cgi` と `htdocs` の場所に更新してください。 129 141 130 ===== Web Admin plugin integrated=====131 If you had the webadmin plugin installed, you can uninstall it as it is part of the Trac code base since 0.11. 142 ===== Web アドミンプラグインのインテグレーション ===== 143 もし、 Web アドミンプラグインをインストールしていたら、 Trac 0.11 以降より、 Trac のコードベースの一部となっているのでアンインストールできます。 132 144 133 === 7. Restart the Web Server=== #RestarttheWebServer145 === 7. Web サーバを再起動する === #RestarttheWebServer 134 146 135 If you are not running [wiki:TracCgi CGI], reload the new Trac code by restarting your web server. 147 [wiki:TracCgi CGI] 以外で起動している場合は、 Web サーバを再起動して、新しい Trac コードをリロードしてください。 136 148 137 == Known Issues ==149 == 既知の問題 == #KnownIssues 138 150 139 Things you should pay attention to, while upgrading. 151 アップグレードの際、以下のことに留意してください。 140 152 141 === CustomizedTemplates153 === カスタマイズされたテンプレート === #CustomizedTemplates 142 154 143 Trac supports customization of its Genshi templates by placing copies of the templates in the `<env>/templates` folder of your [TracEnvironment environment] or in a common location specified in the [[TracIni#GlobalConfiguration| [inherit] templates_dir]] configuration setting. If you choose to do so, be wary that you will need to repeat your changes manually on a copy of the new templates when you upgrade to a new release of Trac (even a minor one), as the templates will likely evolve. So keep a diff around;-)155 Trac は [TracEnvironment Environment] の `<env>/templates` フォルダ内、または [[TracIni#GlobalConfiguration| [inherit] templates_dir]] コンフィグに設定された共通のディレクトリ内にテンプレートのコピーを置くことによって、Genshi テンプレートのカスタマイズをサポートします。もしこの方法を採用している場合、テンプレートはおそらく今後も進化していくので、新しくリリースされた Trac (以前のバージョンでも) にアップグレードする際には、新しいテンプレートのコピーを手動で変更することが繰り返し必要になることに注意してください。diff は取っておいてください ;-) 144 156 145 T he preferred way to perform TracInterfaceCustomization is to write a custom plugin doing an appropriate `ITemplateStreamFilter` transformation, as this is more robust in case of changes: we usually won't modify element `id`s or change CSS `class`es, and if we have to do so, this will be documented in the TracDev/ApiChanges pages.157 TracInterfaceCustomization を行うには、適切な `ITemplateStreamFilter` 変換を行うカスタムプラグインを書く方法が望ましいでしょう。この場合、通常 id の修正や CSS の `class` の変更を行わないため、変更が生じても影響をうけません。もし必要になるのであれば、[trac:TracDev/ApiChanges TracDev/ApiChanges] ページにドキュメントが記載されるでしょう。 146 158 147 === !ZipImportError === 159 === !ZipImportError === #ZipImportError 148 160 149 Due to internal caching of zipped packages, whenever the content of the packages change on disk, the in-memory zip index will no longer match and you'll get irrecoverable !ZipImportError errors. Better anticipate and bring your server down for maintenance before upgrading. 150 See [trac:#7014] for details. 161 zip形式で圧縮されたパッケージの内部キャッシングにより、ディスク上でパッケージの内容が変わるたびに、メモリ内のzip インデックスは一致せず、回復不能な !ZipImportError が出ます。アップグレードをする前にメンテナンスのために予めサーバーを停止してください。 162 詳細については、 [trac:#7014 本家チケット 7014] を参照して下さい。 151 163 152 === Wiki Upgrade ===153 `trac-admin` will not delete or remove default wiki pages that were present in a previous version but are no longer in the new version.164 === Wiki のアップグレード === #WikiUpgrade 165 `trac-admin` は新しいバージョンでは存在しない以前のバージョンの Wiki ページを削除や移動しません。 154 166 155 === Trac database upgrade ===167 === Trac データベースのアップグレード === #Tracdatabaseupgrade 156 168 157 A known issue in some versions of PySqlite (2.5.2-2.5.4) prevents the trac-admin upgrade script from successfully upgrading the database format. It is advised to use either a newer or older version of the sqlite python bindings to avoid this error. For more details see ticket [trac:#9434]. 169 既知の問題として、!PySqlite のいくつかのバージョン (2.5.2-2.5.4) では、 trac-admin upgrade スクリプトを使用してデータベースを更新することができません。このエラーを避けるために、 sqlite の python バインディングのバージョンをより新しいものかより古いバージョンを使用することを推奨します。詳細については、 [trac:#9434 本家チケット 9434] を参照して下さい。 158 170 159 === parent dir ===160 If you use a trac parent env configuration and one of the plugins in one child does not work, none of the children work. 171 === 複数プロジェクトのホストに関して === #parentdir 172 複数のプロジェクトをホストした場合に、配下のプロジェクトのうち一つのプロジェクトで、プラグインの一つが動作していないとき、配下のすべてのプロジェクトではそのプラグインは動作していません。 161 173 162 == Relatedtopics174 == 関連するトピック == #Relatedtopics 163 175 164 === Upgrading Python ===176 === Python のアップグレード === #UpgradingPython 165 177 166 Upgrading Python to a newer version will require reinstallation of Python packages: Trac of course; also [http://pypi.python.org/pypi/setuptools easy_install], if you've been using that. Assuming you're using Subversion, you'll also need to upgrade the Python bindings for svn. 178 Python を新しいバージョンにアップグレードすると Python パッケージの再インストールが必要となります: Trac も例外ではないですし、 [http://pypi.python.org/pypi/setuptools easy_install] も然りです (もし使用しているならばですが)。 Subversion を使用しているならば、 Subversion の Python のバインディングもアップグレードする必要があります。 167 179 168 ==== Windows and Python 2.6 ====180 ==== Windows と Python 2.6 ==== #WindowsandPython2.6 169 181 170 If you've been using !CollabNet's Subversion package, you may need to uninstall that in favor of [http://alagazam.net/ Alagazam], which has the Python bindings readily available (see TracSubversion). The good news is, that works with no tweaking. 182 もしあなたが、 !CollabNet の Subversion のパッケージを使用しているならばアンインストールする必要があるかもしれません。というのも、 [http://alagazam.net/ Alagazam] に気軽に使える Python バインディングがあるからです。 ([trac:TracSubversion TracSubversion] 参照) いいニュースとして、調整なしに動作します。 171 183 172 === Changing Database Backend ===173 ==== SQLite to PostgreSQL ====184 === データベースの変更=== #ChangingDatabaseBackend 185 ==== SQLite から PostgresSQL へ ==== #SQLitetoPostgreSQL 174 186 175 The [http://trac-hacks.org/wiki/SqliteToPgScript sqlite2pg] script on [http://trac-hacks.org trac-hacks.org] has been written to assist in migrating a SQLite database to a PostgreSQL database 187 [http://trac-hacks.org trac-hacks.org] の [http://trac-hacks.org/wiki/SqliteToPgScript sqlite2pg] は SQLite のデータベースを PostgreSQL に移行するためのサポートをするスクリプトです。 176 188 177 === Upgrading from older versions of Trac=== #OlderVersions189 === より古いバージョンからのアップグレード === #OlderVersions 178 190 179 For upgrades from versions older than Trac 0.10, refer first to [trac:wiki:0.10/TracUpgrade#SpecificVersions]. 191 さらに前のバージョンからのアップグレードについては [trac:wiki:0.10/TracUpgrade#SpecificVersions] を最初に参照してください。 180 192 181 193 -----
![(please configure the [header_logo] section in trac.ini)](/python/trac/mypz/chrome/common/trac_logo_mini.png)