[lxc-devel] [linuxcontainers.org/master] Add Japanese distrobuilder pages

lxc-jp on Github lxc-bot at linuxcontainers.org
Fri Oct 25 07:00:31 UTC 2019


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 346 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20191025/c044e1ae/attachment.bin>
-------------- next part --------------
From 029cb41c66d6cc6d87be9549312d6478a5ea5352 Mon Sep 17 00:00:00 2001
From: KATOH Yasufumi <karma at jazz.email.ne.jp>
Date: Fri, 25 Oct 2019 14:56:28 +0900
Subject: [PATCH 1/2] Tweak Japanese try-it

Update for commit 8297994

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
 content/lxd/try-it.ja.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/lxd/try-it.ja.html b/content/lxd/try-it.ja.html
index e545882..b0f2342 100644
--- a/content/lxd/try-it.ja.html
+++ b/content/lxd/try-it.ja.html
@@ -218,8 +218,8 @@ <h3>4. スナップショット <!-- Snapshots --></h3>
               <br />
               スナップショットを作成する前に、コンテナに少し変更を加えてみましょう。例えば、以下のようにアップデートします。
               <pre>lxc exec first -- apt-get update
-lxc exec first -- apt-get dist-upgrade -y
-lxc exec first -- apt-get autoremove --purge -y</pre>
+lxc exec first -- apt-get install sl -y
+lxc exec first -- /usr/games/sl</pre>
             </p>
 
             <p>

From 68ee254cc23d195ebf0cf73dfd9d39953e9fb38b Mon Sep 17 00:00:00 2001
From: KATOH Yasufumi <karma at jazz.email.ne.jp>
Date: Fri, 25 Oct 2019 15:55:49 +0900
Subject: [PATCH 2/2] Add Japanese distrobuilder pages

I will translate the news later.

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>
---
 content/STRUCTURE.ja.json                | 65 ++++++++++++++++++++++++
 content/distrobuilder/contribute.ja.md   | 26 ++++++++++
 content/distrobuilder/downloads.ja.md    | 13 +++++
 content/distrobuilder/introduction.ja.md | 57 +++++++++++++++++++++
 content/index.ja.html                    | 28 +++++++++-
 content/lxd/introduction.ja.md           |  2 +-
 6 files changed, 189 insertions(+), 2 deletions(-)
 create mode 100644 content/distrobuilder/contribute.ja.md
 create mode 100644 content/distrobuilder/downloads.ja.md
 create mode 100644 content/distrobuilder/introduction.ja.md

diff --git a/content/STRUCTURE.ja.json b/content/STRUCTURE.ja.json
index 5779e00..e62e8f1 100644
--- a/content/STRUCTURE.ja.json
+++ b/content/STRUCTURE.ja.json
@@ -237,6 +237,71 @@
 
 
 
+    {"path": "/distrobuilder/",
+     "generator": "alias",
+     "meta": {"target": "/distrobuilder/introduction/"}},
+
+    {"path": "/distrobuilder/introduction/",
+     "title": "distrobuilder - イントロダクション",
+     "menu": ["distrobuilder", "イントロダクション"],
+     "generator": "markdown",
+     "meta": {"input": "distrobuilder/introduction.ja.md"}},
+
+    {"path": "/distrobuilder/news/",
+     "title": "distrobuilder - ニュース",
+     "menu": ["distrobuilder", "ニュース"],
+     "generator": "news",
+     "meta": {"dir": "/content/distrobuilder/news/",
+              "input": "distrobuilder/news.md"}},
+
+    {"path": "/distrobuilder/documentation",
+     "menu": ["distrobuilder", "ドキュメント"],
+     "generator": "link",
+     "meta": {"url": "https://distrobuilder.readthedocs.io/en/latest/"}},
+
+    {"path": "/distrobuilder/contribute/",
+     "title": "distrobuilder - コントリビュート",
+     "menu": ["distrobuilder", "コントリビュート"],
+     "generator": "markdown",
+     "meta": {"input": "distrobuilder/contribute.ja.md"}},
+
+    {"path": "/distrobuilder/downloads/",
+     "title": "distrobuilder - ダウンロード",
+     "menu": ["distrobuilder", "ダウンロード"],
+     "generator": "downloads",
+     "meta": {"dir": "/downloads/distrobuilder",
+              "input": "distrobuilder/downloads.ja.md"}},
+
+    {"path": "/distrobuilder/external-resources/",
+     "menu": ["distrobuilder", "外部リソース"]},
+
+    {"path": "/distrobuilder/forum/",
+     "menu": ["distrobuilder", "フォーラム"],
+     "generator": "link",
+     "meta": {"url": "https://discuss.linuxcontainers.org"}},
+
+    {"path": "/distrobuilder/mailing-lists/",
+     "menu": ["distrobuilder", "メーリングリスト"],
+     "generator": "link",
+     "meta": {"url": "https://lists.linuxcontainers.org"}},
+
+    {"path": "/distrobuilder/irc/",
+     "menu": ["distrobuilder", "IRC"],
+     "generator": "link",
+     "meta": {"url": "https://webchat.freenode.net/?channels=#lxcontainers"}},
+
+    {"path": "/distrobuilder/github/",
+     "menu": ["distrobuilder", "GitHub"],
+     "generator": "link",
+     "meta": {"url": "https://github.com/lxc/distrobuilder"}},
+
+    {"path": "/distrobuilder/travis-ci/",
+     "menu": ["distrobuilder", "Travis CI"],
+     "generator": "link",
+     "meta": {"url": "https://travis-ci.org/lxc/distrobuilder"}},
+
+
+
     {"path": "/cgmanager/introduction/",
      "title": "CGManager - イントロダクション",
      "menu": ["CGManager", "イントロダクション"],
diff --git a/content/distrobuilder/contribute.ja.md b/content/distrobuilder/contribute.ja.md
new file mode 100644
index 0000000..851b48c
--- /dev/null
+++ b/content/distrobuilder/contribute.ja.md
@@ -0,0 +1,26 @@
+# ソースコード <!-- Source code -->
+
+<!--
+The current development version of distrobuilder can be cloned from GitHub with:
+-->
+distrobuilder の現時点の開発バージョンは GitHub からクローンできます:
+
+    git clone git://github.com/lxc/distrobuilder
+
+<!--
+Contributions sent upstream for review must be based on the current git tree
+and not on stable releases, unless the bug only affects a stable release.
+-->
+レビューのためにパッチを送る場合は、バグが stable リリースにのみ影響する場合を除いて、stable リリースでなく現時点の開発バージョンのツリーを元にしてください。
+
+# パッチの提案プロセス <!-- Patch submission process -->
+
+<!--
+Contributions to distrobuilder must be submitted as GitHub pull-requests and we require them to be signed-off.
+-->
+distrobuilder への貢献は GitHub のプルリクエストとして提出しなければいけません。そして、Signed-off-by による署名 (サインオフ) が必要です。
+
+<!--
+More details on contribution guidelines may be found [here](https://github.com/lxc/distrobuilder/blob/master/CONTRIBUTING.md)
+-->
+貢献に関するガイドラインの詳細は [こちら](https://github.com/lxc/distrobuilder/blob/master/CONTRIBUTING.md) にあります。
diff --git a/content/distrobuilder/downloads.ja.md b/content/distrobuilder/downloads.ja.md
new file mode 100644
index 0000000..26e47a0
--- /dev/null
+++ b/content/distrobuilder/downloads.ja.md
@@ -0,0 +1,13 @@
+# 現時点の開発バージョン <!-- Current development version -->
+<!--
+You can clone distrobuilder directly with:
+-->
+次から直接クローンできます:
+
+    git clone https://github.com/lxc/distrobuilder
+
+# リリース版 tarball <!-- Release tarballs -->
+<!--
+Stable release tarballs are available for download below.
+-->
+stable リリース版の tarball は以下から取得できます。
diff --git a/content/distrobuilder/introduction.ja.md b/content/distrobuilder/introduction.ja.md
new file mode 100644
index 0000000..a160161
--- /dev/null
+++ b/content/distrobuilder/introduction.ja.md
@@ -0,0 +1,57 @@
+
+
+# distrobuilder について <!-- What's distrobuilder? -->
+<!--
+`distrobuilder` is an image building tool for LXC and LXD.
+-->
+`distrobuilder` は LXC と LXD 用のイメージを作成するツールです。
+
+<!--
+It's used to build all our official images available on [our image server](https://images.linuxcontainers.org).
+-->
+[私たちのイメージサーバ](https://images.linuxcontainers.org) にある公式イメージすべての作成に使っています。
+
+<!--
+The image defintion is a YAML document which describes the source of the
+image, its package manager, what packages to install/remove for specific
+image variants, os releases and architectures, as well as additional
+files to generate and arbitrary actions to execute as part of the image
+build process.
+-->
+イメージの定義は YAML 文書です。これはイメージのソース、そのイメージで使うパッケージ管理ツール、OS リリースやアーキテクチャなどの特定のイメージの種類でどのパッケージをインストールしたり削除したりするかを記述します。
+また、イメージのビルドプロセス中に生成して追加するファイルや、任意のアクションも記述します。
+
+<!--
+The output is either a plain root filesystem, a LXD image or a LXC image.
+-->
+単純なルートファイルシステム、LXD イメージ、LXC イメージのいずれも出力できます。
+
+<!--
+You can see it at work here: [https://jenkins.linuxcontainers.org/view/Images/](https://jenkins.linuxcontainers.org/view/Images/)
+-->
+次のサイトで動きを見ることができます: [https://jenkins.linuxcontainers.org/view/Images/](https://jenkins.linuxcontainers.org/view/Images/)
+
+# インストール <!-- Installing it -->
+<!--
+Release tarballs can be found in the [Downloads](/distrobuilder/downloads) section.
+-->
+リリース版 tarball は [ダウンロードページ](/distrobuilder/downloads) にあります。
+
+<!--
+The current build can also be installed directly with:
+-->
+最新の状態のビルドを直接次のようにインストールできます:
+
+    go get -v -x github.com/lxc/distrobuilder
+
+# 開発言語、ライセンス、コントリビュート <!-- Language, licensing and contributions -->
+<!--
+distrobuilder is written in Go, it's free software and is developed under the Apache 2 license.
+-->
+distrbuilder は Go で書かれています。フリーソフトウェアであり、Apache 2 ライセンスの元で開発されています。
+
+<!--
+There are no CLA or similar legal agreements required to contribute to distrobuilder,
+however we do require commits be signed-off (following the DCO - Developer Certificate of Ownership).
+-->
+distrobuilder に貢献するのに必要な CLA や同様の法的合意はありません。しかし、コミットを signed-off する必要があります (DCO - Developer Certificate of Ownership に従います)。
diff --git a/content/index.ja.html b/content/index.ja.html
index 7d030df..0acdf04 100644
--- a/content/index.ja.html
+++ b/content/index.ja.html
@@ -118,9 +118,35 @@ <h3>LXCFS</h3>
       <p><a class="p-button" href="/ja/lxcfs/introduction/" role="button">詳しく見る</a></p>
     </div>
   </div>
+  <div class="row u-equal-height">
+    <div class="p-card col-8">
+      <h3>distrobuilder</h3>
+      <p>LXC/LXD 用のイメージ作成ツールです: <!-- Image building tool for LXC/LXD: -->
+        <ul>
+          <li>複雑なイメージの定義をシンプルな YAML で定義します <!-- Complex image definition as a simple YAML document. --></li>
+          <li>複数の出力フォーマットに対応します(chroot, LXD, LXC) <!-- Multiple output formats (chroot, LXD, LXC). --></li>
+          <li>多数のディストリビューションとアーキテクチャに対応します <!-- Support for a lot of distributions and architectures. --></li> 
+        </ul>
+      </p>
+
+      <p>
+	<!--
+	distrobuilder was created as a replacement for the old shell scripts
+        that were shipped as part of LXC to generate images.
+        Its modern design uses pre-built official images whenever available,
+        uses a declarative image definition (YAML) and supports a variety of
+        modifications on the base image.
+	-->
+	distrobuilder は、以前 LXC の一部に含まれていた、古いシェルスクリプトの置き換えとして開発しました。
+	利用できる場合にはあらかじめ構築されている公式イメージを使い、宣言型のイメージ定義(YAML)を採用し、ベースとなるイメージに対する色々な変更をサポートする、現代的な設計です。
+      </p>
+
+      <p><a class="p-button" href="/distrobuilder/introduction/" role="button">Learn more</a></p>
+    </div>
+  </div>
 </div>
 
-<div class="p-strip">
+<div class="p-strip--light">
   <div class="row">
     <div class="col-8">
       <h2>廃止予定のプロジェクト <!-- Deprecated projects --></h2>
diff --git a/content/lxd/introduction.ja.md b/content/lxd/introduction.ja.md
index b8cc2ce..3ed4d40 100644
--- a/content/lxd/introduction.ja.md
+++ b/content/lxd/introduction.ja.md
@@ -123,7 +123,7 @@ with the added features that come from being controllable over the network.
 -->
 LXD は基本的には LXC ツールとディストリビューションテンプレートの仕組みの代わりとなる新しいもので、ネットワーク経由でコントロールできる特長を追加したものです。
 
-# 言語、ラインセンス、コントリビューション <!-- Language, licensing and contributions -->
+# 言語、ライセンス、コントリビューション <!-- Language, licensing and contributions -->
 <!--
 LXD is written in Go, it's free software and is developed under the Apache 2 license.
 -->


More information about the lxc-devel mailing list