Руководство по Trac / Конфигурационный файл Trac

Edgewall Software, “Trac Guide / The Trac Configuration File ”, public translation into Russian from English More about this translation.

See also 18 similar translations

Translate into another language.

Participants

Darion437 points
chocky256 points
suvit159 points
And others...
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next
1 2 3 4

Trac Guide / The Trac Configuration File

Руководство по Trac / Конфигурационный файл Trac

History of edits (Latest: Darion 3 years, 1 month ago) §

= The Trac Configuration File =

= Конфигурационный файл Trac =

History of edits (Latest: Darion 3 years, 1 month ago) §

''[Note To Editors] Please discuss documentation changes in the [#Discussion] section. Even better, send us documentation patches against the ''code'' (i.e. where the configuration entries are documented), either on Trac-dev or on new tickets. ''

''[Комментарий редакторам] Пожалуйста, опишите изменения в документации в секции [#Discussion]. А еще лучше, пришлите нам патчи к документации относительно ''кода'' (т.е. где задокументированы записи конфигурации) в Trac-dev или новых тикетах''.

History of edits (Latest: chocky 3 years ago) §

— Бред %) Вообще наверное это совсем необязательно включать в перевод. Darion

— Я тоже думаю, что не надо включать. Это как переводить статью и комментарии юзеров к ней тоже переводить. chocky

[[TracGuideToc]]

[[TracGuideToc]]

History of edits (Latest: Darion 3 years, 1 month ago) §

Trac configuration is done by editing the '''`trac.ini`''' config file, located in `<projectenv>/conf/trac.ini`. Changes to the configuration are usually reflected immediately, though changes to the `[components]` or `[logging]` sections will require restarting the web server. You may also need to restart the web server after creating a global configuration file when none was previously present.

Конфигурирование Trac заканчивается редактированием конфигурационного файла '''`trac.ini`''' (`<projectenv>/conf/trac.ini`). Изменения в конфигурации обычно отражаются на рабочем окружении немедленно, впрочем при изменении секций `[components]` или `[logging]` необходимо перезагружать веб-сервер. Также нужно будет перезагрузить веб-сервер после создания первого глобального конфигурационного файла.

History of edits (Latest: chocky 3 years ago) §

— Последнее предложение кривое, перефразировать Darion

The `trac.ini` configuration file should be writable by the web server, as Trac currently relies on the possibility to trigger a complete environment reload to flush its caches.

Файл `trac.ini` должен быть доступным для записи веб-серверу, так как Trac в настоящее время основывается на возможности начать полную перезагрузку среды для сброса кэшей.

History of edits (Latest: chocky 3 years ago) §

— зависит-опирается-полагается-основывается - нужное подчеркнуть chocky

== Global Configuration ==

== Глобальная конфигурация ==

History of edits (Latest: Darion 3 years, 1 month ago) §

In versions prior to 0.11, the global configuration was by default located in `$prefix/share/trac/conf/trac.ini` or sometimes /etc/trac/trac.ini depending on the distribution. If you're upgrading, you may want to specify that file to inherit from.

В версиях до 0.11, глобальная конфигурация по умолчанию располагалась в `$prefix/share/trac/conf/trac.ini` или иногда в /etc/trac/trac.ini в зависимости от дистрибутива. Если у вас версия 0.11, можно определить этот файл для наследования.

History of edits (Latest: chocky 3 years ago) §

— Как лучше перевести distribution? Darion

— имхо, дистрибутив - самое то chocky

Literally, when you're upgrading to 0.11, you have to add an `inherit`-section to your project's `trac.ini` file. Additionally you have to move your customized templates and common images from `$prefix/share/trac/...` to the new location.

Точнее, если вы обновляетесь до версии 0.11, вам нужно добавить секцию `inherit` в файл `trac.ini` проекта. Кроме того нужно переместить ваши шаблоны и общие картинки из `$prefix/share/trac/...` в новое место.

History of edits (Latest: ziderzee 3 years, 1 month ago) §

— Вообще-то 0.11 пока последняя Darion

И вообще пока не совсем понял о чем речь, потому за адекватность перевода отвечать трудно Darion

Global options will be merged with the environment-specific options, where local options override global options. The options file is specified as follows:

Глобальные опции могут быть совмещены с опциями, специфическими для рабочего окружения, причем локальные опции будут перезаписывать глобальные. Файл опций определяется следующим образом:

History of edits (Latest: Darion 3 years, 1 month ago) §

{{{

{{{

History of edits (Latest: Darion 3 years, 1 month ago) §

[inherit]

[inherit]

History of edits (Latest: Darion 3 years, 1 month ago) §

file = /usr/share/trac/conf/trac.ini

file = /usr/share/trac/conf/trac.ini

History of edits (Latest: Darion 3 years, 1 month ago) §

}}}

}}}

History of edits (Latest: Darion 3 years, 1 month ago) §

Note that you can also specify a global option file when creating a new project, by adding the option

Заметьте, вы можете также определить файл глобальных опций когда создаете новый проект, добавлением опции

History of edits (Latest: Darion 3 years, 1 month ago) §

`--inherit=/path/to/global/options` to [TracAdmin trac-admin]'s `initenv` command.

`--inherit=/path/to/global/options` к команде `initenv`[TracAdmin trac-admin].

History of edits (Latest: Darion 3 years, 1 month ago) §

If you would not do this but nevertheless intend to use a global option file with your new environment,

Если вы не хотите этого делать, но тем не менее планируете использовать файл глобальных опций в новой среде,

History of edits (Latest: chocky 3 years ago) §

you would have to go through the newly generated conf/trac.ini file and delete the entries that would

вам придется пройтись по свежесгенерированному файлу conf/trac.ini и удалить все записи, которые

History of edits (Latest: chocky 3 years ago) §
Pages: ← previous Ctrl next
1 2 3 4