Руководство по Trac / Импорт тикетов из других багтрекеров | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- 98% translated in draft. Almost done, let's finish it!
If you do not want to register an account, you can sign in with OpenID.
Trac Guide / TracImport | Руководство по Trac / Импорт тикетов из других багтрекеров | |
= Importing ticket data = | ||
== Bugzilla == | ||
Ticket data can be imported from Bugzilla using the [http://trac.edgewall.org/browser/trunk/contrib/bugzilla2trac.py bugzilla2trac.py] script, available in the contrib/ directory of the Trac distribution. | Тикеты могут быть импортированы из Bugzilla с использованием скрипта [http://trac.edgewall.org/browser/trunk/contrib/bugzilla2trac.py bugzilla2trac.py], доступного в директории /contrib дистрибутива Trac. | |
{{{ | ||
$ bugzilla2trac.py | ||
bugzilla2trac - Imports a bug database from Bugzilla into Trac. | bugzilla2trac - Импортирует БД ошибок Bugzilla в Trac. | |
Usage: bugzilla2trac.py [options] | ||
Available Options: | ||
--db <MySQL dbname> - Bugzilla's database | ||
--tracenv /path/to/trac/env - full path to Trac db environment | --tracenv /path/to/trac/env - полный путь к директории рабочего окружения Trac | |
-h | --host <MySQL hostname> - Bugzilla's DNS host name | -h | --host <MySQL hostname> - имя DNS-хоста Bugzilla | |
-u | --user <MySQL username> - effective Bugzilla's database user | -u | --user <MySQL username> - имя пользователя базы данных Bugzilla | |
-p | --passwd <MySQL password> - Bugzilla's user password | -p | --passwd <MySQL password> - пароль для пользователя Bugzilla | |
-c | --clean - remove current Trac tickets before importing | -c | --clean - удалить текущие тикеты Trac перед импортированием | |
--help | help - this help info | ||
Additional configuration options can be defined directly in the script. | Дополнительные опции конфигурации могут быть определены непосредственно в скрипте. | |
}}} | ||
Currently, the following data is imported from Bugzilla: | В настоящее время из Bugzilla импортируются следующие данные: | |
* bugs | — А можно так и назвать их ошибками... или баг-репортами, что вернее — Darion | |
* bug activity (field changes) | — Активность бага? %) Возможно имеется ввиду история изменений баг-репорта. — Darion — Может быть, "активность возникновения бага? (зависимость от изменения полей)" — phantomsmcat — должно быть что-то типа "истории изменений" — chocky — "История изменений" - это да. Важно чтобы было ясно, что история изменений относится к багу/тикету. — Darion | |
* bug attachments | ||
* user names and passwords (put into a htpasswd file) | * имена пользователей и пароли (помещаются в файл htpasswd) | |
The script provides a number of features to ease the conversion, such as: | Скрипт предоставляет некоторые возможности для облегчения конвертирования, такие как: | |
* PRODUCT_KEYWORDS: Trac doesn't have the concept of products, so the script provides the ability to attach a ticket keyword instead. | * PRODUCT_KEYWORDS: В Trac нет понятия продукта, но вместо этого скрипт предоставляет возможность прикреплять к тикету ключевое слово | — Дополнить, чтобы было яснее по смыслу. — Darion |
* IGNORE_COMMENTS: Don't import Bugzilla comments that match a certain regexp. | * IGNORE_COMMENTS: Не импортировать комментарии Bugzilla, подходящие под указанное регулярное выражение | |
* STATUS_KEYWORDS: Attach ticket keywords for the Bugzilla statuses not available in Trac. By default, the 'VERIFIED' and 'RELEASED' Bugzilla statuses are translated into Trac keywords. | * STATUS_KEYWORDS: В Trac нет возможности приложения ключевых слов тикета к статусам Bugzilla. По умолчанию статусы Bugzilla 'VERIFIED' и 'RELEASED' переводятся в ключевые слова Trac. | |
For more details on the available options, see the configuration section at the top of the script. | Подробнее о доступных опциях см. секцию конфигурации в начале скрипта. | |
== Sourceforge == | ||
Ticket data can be imported from Sourceforge using the [http://trac.edgewall.org/browser/trunk/contrib/sourceforge2trac.py sourceforge2trac.py] script, available in the contrib/ directory of the Trac distribution. | Тикеты могут быть импортированы из Sourceforge с использованием скрипта [http://trac.edgewall.org/browser/trunk/contrib/sourceforge2trac.py sourceforge2trac.py] доступного в директории /contrib Trac. | |
== Mantis == | ||
NB! The mantis2trac script now lives at http://trac-hacks.org/wiki/MantisImportScript . You can always get the latest version from http://trac-hacks.org/changeset/latest/mantisimportscript?old_path=/&filename=mantisimportscript&format=zip | NB! Скрипт mantis2trac сейчас располагается на http://trac-hacks.org/wiki/MantisImportScript. Вы можете всегда получить последнюю версию с http://trac-hacks.org/changeset/latest/mantisimportscript?old_path=/&filename=mantisimportscript&format=zip |

— Здесь и ниже - вывод скрипта. Лучше перевести. — Darion