# Пытаюсь разобраться в дискуссиях репозиториев GitHub и discourse\_docker

**URL:** <https://meta.discourse.org/t/trying-to-understand-github-repositories-discourse-and-discourse-docker/154293>\
**Category:** Product Support\
**Created:** [09.Июнь.2020 12:01:43 UTC](https://meta.discourse.org/t/trying-to-understand-github-repositories-discourse-and-discourse-docker/154293 "2020-06-09T12:01:43Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![EricGT](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@EricGT](https://meta.discourse.org/u/EricGT)\
**Post date:** [09.Июнь.2020 12:01:43 UTC](https://meta.discourse.org/t/trying-to-understand-github-repositories-discourse-and-discourse-docker/154293/1 "2020-06-09T12:01:43Z")

</div>

Работая над документацией по стандартным операционным процедурам (SOP) для случая, когда наш сайт размещён самостоятельно, я пытаюсь объяснить [утке](https://en.wikipedia.org/wiki/Rubber_duck_debugging) 🦆 разницу между репозиториями GitHub [discourse](https://github.com/discourse/discourse) и [discourse\_docker](https://github.com/discourse/discourse_docker).

Ниже приведены три фрагмента, [если можно так выразиться](https://dictionary.cambridge.org/us/dictionary/english/if-you-will), подтверждающих это:

* * *

При [установке](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md#install-discourse) Discourse в первый раз используется репозиторий `discourse_docker`.

```plaintext
groot@galaxy:~$ git clone https://github.com/discourse/discourse_docker.git /var/discourse

```

Теперь, читая [посты](https://meta.discourse.org/search?q=tests-passed) здесь, отмечается, что клиенты работают на ветке tests-passed. При проверке репозитория [discourse\_docker](https://github.com/discourse/discourse_docker) ветка `tests-passed` [не найдена](https://github.com/discourse/discourse_docker/tree/tests-passed), тогда как при проверке репозитория [discourse](https://github.com/discourse/discourse) ветка tests-passed [найдена](https://github.com/discourse/discourse/tree/tests-passed).

* * *

Что касается `tests-passed` в репозитории [discourse\_docker](https://github.com/discourse/discourse_docker): `tests-passed` [находится](https://github.com/discourse/discourse_docker/search?q=tests-passed&unscoped_q=tests-passed) в директории [samples](https://github.com/discourse/discourse_docker/tree/master/samples), в файле [standalone.yml](https://github.com/discourse/discourse_docker/blob/master/samples/standalone.yml#L36-L37). В то же время в репозитории [discourse\_docker](https://github.com/discourse/discourse_docker) `tests-passed` не [находится](https://github.com/discourse/discourse/search?q=tests-passed&unscoped_q=tests-passed) в аналогичном файле настроек сайта, например `app.yml`.

* * *

Если запустить `launcher rebuild app` с [активным трассированием bash](https://tecadmin.net/tutorial/bash-scripting/bash-debugging/), например:

```plaintext
groot@galaxy:/var/discourse$ sudo bash -x launcher rebuild app

```

то будет записано:

```plaintext
I, [2020-06-07T23:49:27.550542 #1] INFO -- : > cd /var/www/discourse && git pull
From https://github.com/discourse/discourse

```

* * *

Может кто-нибудь объяснить всё это так, чтобы утка 🦆 поняла.

---

_[View the full topic](https://meta.discourse.org/t/trying-to-understand-github-repositories-discourse-and-discourse-docker/154293)._
