# github.com/discourse/discourse のベストブランチは何ですか？

**URL:** https://meta.discourse.org/t/what-is-the-best-branch-of-github-com-discourse-discourse/158656
**Category:** Feature
**Created:** [2020 年 7 月 24 日午前 2:42 UTC](https://meta.discourse.org/t/what-is-the-best-branch-of-github-com-discourse-discourse/158656 "2020-07-24T02:42:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![xiasummer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/xiasummer/32/82790_2.png) [@xiasummer](https://meta.discourse.org/u/xiasummer)
#### Post date: [2020 年 7 月 24 日午前 2:42 UTC](https://meta.discourse.org/t/what-is-the-best-branch-of-github-com-discourse-discourse/158656/1 "2020-07-24T02:42:40Z")

</div>

最近、デフォルトブランチの「test\_passed」でいくつかの問題に遭遇したため、stableバージョンに切り替えました。しかし、いくつかの素晴らしい機能がなくなっていることに気づきました（まあ、それほどひどいことではありませんが、Discourseのブランチについてもっと知りたいです）。

以下がアクティブなブランチです：

 ![image](https://global.discourse-cdn.com/meta/original/3X/7/2/72f478049a7edd3b8eee6b66765a121b933629de.png)

何か提案があれば教えてください。例えば：

1. **あなたのフォーラムが非常に攻撃的で、新しい機能を試したい場合** 、xxxブランチを選択できます。

2. **あなたのフォーラムが常に安定した状態を厳密に維持し、あなたが非常に保守的でバグを避けたい場合** 、xxxブランチを選択できます。

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [2020 年 7 月 24 日午前 3:01 UTC](https://meta.discourse.org/t/what-is-the-best-branch-of-github-com-discourse-discourse/158656/2 "2020-07-24T03:01:52Z")

</div>

どちらの場合でも、tests\_passed は通常問題ありません。ステージング環境を用意し、アップグレード適用前にリリースをテストすることで、アップグレード時の問題を回避できます。

上記で説明された問題は、Discourse の特定のブランチというよりも、ご自身のリリースプロセスに関連するものです。

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2020 年 7 月 24 日午前 3:07 UTC](https://meta.discourse.org/t/what-is-the-best-branch-of-github-com-discourse-discourse/158656/3 "2020-07-24T03:07:29Z")

</div>

テスト通過版を実行し、[ベータリリース](https://meta.discourse.org/tag/release-notes) が利用可能になった時点で更新することをお勧めします。これにより、必要に応じて更新する柔軟性が得られます。

安定版は、カスタマイズが非常に大規模な場合（当方がホストするサイトの99%はこのカテゴリに該当しません）など、限られたケース以外では推奨されません。安定版のリリース間隔は数ヶ月に及ぶことがあり、重大なバグやセキュリティ関連のバグのみをバックポートするため、安定版に軽微なバグが含まれている場合、そのバグに長く付き合う必要があるかもしれません。

さらに詳しい関連議論は以下のページをご覧ください：

> [@Stable Release Channel](https://meta.discourse.org/t/stable-release-channel/155037/5):
>
> Security fixes are generally backported, yes. Critical (like, show stopping, unable to use Discourse) bugs are backported too. But many less critical bugs may not be. Backporting itself comes with risk, unintentional regressions can always occur, it forces users on stable to update, etc. Our general recommendation is that sites follow the tests-passed branch (as is default), and update when a new release (beta) is out. There are certain cases where stable may be recommended, for example a site …

およびこちら：

> [@Which branch of Discourse is used internally?](https://meta.discourse.org/t/which-branch-of-discourse-is-used-internally/75181/2?u=awesomerobot):
>
> Our customers follow tests-passed, but unlike Meta/try do not update automatically as soon as we commit. We update customers regularly, but not on a specific schedule. We deploy customers “as needed”. For example, if we got significant reports about a bug, or the bug is just really bad, we’ll generally deploy sites as soon as we know the bug is fixed. We’ll also do a deploy after we finish a new feature. Sometimes we’ll do a deploy due to a plugin update, which also causes Discourse to be updat…
