Files
docs/public/template-sync-strategy/assets/reference_glossary.md.DLD-b2Ke.js
S.Gromov 1a14df9366 feat: добавить документацию Template Sync Strategy
- добавлены каноны и VitePress-сайт стратегии обновления шаблонов

- подключена карточка документации на главной странице

- добавлены сборочные скрипты, Caddy-маршрут и Docker-сборка

- добавлена git-иконка для карточки и сгенерированы публичные артефакты
2026-05-13 23:23:31 +03:00

2 lines
5.3 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{_ as a,o as t,c as r,ae as s}from"./chunks/framework.B1nRs-GM.js";const m=JSON.parse('{"title":"Глоссарий","description":"Термины, которые используются в Template Sync Strategy.","frontmatter":{"title":"Глоссарий","description":"Термины, которые используются в Template Sync Strategy."},"headers":[],"relativePath":"reference/glossary.md","filePath":"reference/glossary.md"}'),i={name:"reference/glossary.md"};function o(l,e,p,n,d,h){return t(),r("div",null,[...e[0]||(e[0]=[s('<div style="display:none;" hidden="true" aria-hidden="true">Are you an LLM? You can read better optimized documentation at /template-sync-strategy/reference/glossary.md for this page in Markdown format</div><h1 id="глоссарии" tabindex="-1">Глоссарий <a class="header-anchor" href="#глоссарии" aria-label="Permalink to &quot;Глоссарий&quot;"></a></h1><h2 id="template-repo" tabindex="-1">Template repo <a class="header-anchor" href="#template-repo" aria-label="Permalink to &quot;Template repo&quot;"></a></h2><p>Репозиторий шаблона. В нём живёт общая техническая база: CI/CD, Dockerfile, зависимости, линтер, сборка, структура и документация.</p><h2 id="app-repo" tabindex="-1">App repo <a class="header-anchor" href="#app-repo" aria-label="Permalink to &quot;App repo&quot;"></a></h2><p>Репозиторий приложения. В нём живёт продуктовый код и локальные настройки конкретного приложения.</p><h2 id="templates" tabindex="-1">templates <a class="header-anchor" href="#templates" aria-label="Permalink to &quot;templates&quot;"></a></h2><p>Git remote внутри репозитория приложения, который указывает на репозиторий шаблона.</p><p>Пример:</p><div class="language-bash vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">bash</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">git</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> remote</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> add</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> templates</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &lt;</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">template-repo-ur</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">l</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">&gt;</span></span></code></pre></div><h2 id="templates-master" tabindex="-1">templates/master <a class="header-anchor" href="#templates-master" aria-label="Permalink to &quot;templates/master&quot;"></a></h2><p>Ветка <code>master</code> из репозитория шаблона, доступная в приложении через remote <code>templates</code>.</p><h2 id="template" tabindex="-1">template <a class="header-anchor" href="#template" aria-label="Permalink to &quot;template&quot;"></a></h2><p>Ветка внутри репозитория приложения, которая должна быть чистым слепком <code>templates/master</code>.</p><h2 id="master" tabindex="-1">master <a class="header-anchor" href="#master" aria-label="Permalink to &quot;master&quot;"></a></h2><p>Основная ветка приложения. Содержит шаблонную базу плюс продуктовый слой.</p><h2 id="sync" tabindex="-1">sync/* <a class="header-anchor" href="#sync" aria-label="Permalink to &quot;sync/*&quot;"></a></h2><p>Временные ветки для обновления приложения от шаблона. Создаются от <code>origin/master</code>, получают merge из <code>origin/template</code>, проходят review и затем вливаются в <code>master</code>.</p><h2 id="fast-forward" tabindex="-1">Fast-forward <a class="header-anchor" href="#fast-forward" aria-label="Permalink to &quot;Fast-forward&quot;"></a></h2><p>Обновление ветки без merge-коммита, когда текущая ветка может быть просто передвинута вперёд по истории.</p><h2 id="merge-commit" tabindex="-1">Merge commit <a class="header-anchor" href="#merge-commit" aria-label="Permalink to &quot;Merge commit&quot;"></a></h2><p>Коммит слияния, который сохраняет связь двух историй. Допустим для <code>sync/* -&gt; master</code>.</p><h2 id="squash" tabindex="-1">Squash <a class="header-anchor" href="#squash" aria-label="Permalink to &quot;Squash&quot;"></a></h2><p>Способ merge, при котором все изменения source branch превращаются в один новый коммит. Для sync-PR/MR запрещён, потому что может разрушить полезную связь истории <code>master</code> с историей <code>template</code>.</p>',24)])])}const u=a(i,[["render",o]]);export{m as __pageData,u as default};