Ubuntu Packaging Guide

Browsing Chinese (Traditional) translation

Don't show this notice anymore
Before translating, be sure to go through Ubuntu Translators instructions and Chinese (Traditional) guidelines.
110 of 782 results
1.
autopkgtest: Automatic testing for packages
autopkgtest: 套件自動測試
Translated and reviewed by Howard Chan on 2013-03-24
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:3
2.
The `DEP 8 specification`_ defines how automatic testing can very easily be integrated into packages. To integrate a test into a package, all you need to do is:
`DEP 8 規格`_ 介定了自動測試如何非常容易融入套件中。要把測試融入一個套件,您需要做的是:
Translated by Z.X.Lyn on 2013-04-10
Reviewed by Z.X.Lyn on 2013-04-21
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:5
3.
add the following to the Source section in ``debian/control``::
把下列文字加入 ``debian/control`` 裏的原始碼分類中:
Translated by Z.X.Lyn on 2013-04-10
Reviewed by Z.X.Lyn on 2013-04-21
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:9
4.
add a file called ``debian/tests/control`` which specifies the requirements for the testbed,
把一個叫做 ``debian/tests/control`` 的檔案加進以指定測試平臺的要求,
Translated and reviewed by Z.X.Lyn on 2013-04-21
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:13
5.
add the tests in ``debian/tests/``.
把測試加進 ``debian/tests/`` 裏。
Translated by Z.X.Lyn on 2013-04-10
Reviewed by Z.X.Lyn on 2013-04-21
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:15
6.
Testbed requirements
測試温床要求
Translated and reviewed by Howard Chan on 2013-03-24
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:19
7.
In ``debian/tests/control`` you specify what to expect from the testbed. So for example you list all the required packages for the tests, if the testbed gets broken during the build or if ``root`` permissions are required. The `DEP 8 specification`_ lists all available options.
在 ``debian/tests/control`` 裏您指定從測試平臺裏預計甚麼。例如您列明測試要求的所有套件,測試平臺會不會在建構中被破壞或需不需要使用 ``root`` 權限。`DEP 8 規格`_ 列出所有能提供的選擇。
Translated and reviewed by Z.X.Lyn on 2013-04-21
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:21
8.
Below we are having a look at the ``glib2.0`` source package. In a very simple case the file would look like this::
下面我們會看一看 ``glib2.0`` 原始碼套件。在一個非常简單的例子中該檔案會是這樣子:
Translated by Z.X.Lyn on 2013-04-10
Reviewed by Z.X.Lyn on 2013-04-21
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:26
9.
For the test in ``debian/tests/build`` this would ensure that the packages ``libglib2.0-dev`` and ``build-essential`` are installed.
爲了 ``debian/tests/build`` 中的測試,這會確保套件 ``libglib2.0-dev`` 及 ``build-essential`` 會被安装。
Translated and reviewed by Z.X.Lyn on 2013-04-21
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:32
10.
You can use ``@`` in the ``Depends`` line to indicate that you want all the packages installed which are built by the source package in question.
您可以在 ``Depends`` 行裏使用 ``@`` 来指明所有此套件依赖的需要构建的套件。
Translated by Z.X.Lyn on 2013-04-10
Reviewed by Z.X.Lyn on 2013-04-21
Located in ../ubuntu-packaging-guide/auto-pkg-test.rst:35
110 of 782 results

This translation is managed by Ubuntu Traditional Chinese (Taiwan) Translators, assigned by Ubuntu Translators.

You are not logged in. Please log in to work on translations.

Contributors to this translation: Cheng-Chia Tseng, Daniel Holbach, Howard Chan, Z.X.Lyn.