{"id":285245,"date":"2017-04-20T03:00:18","date_gmt":"2017-04-19T23:00:18","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=285245"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=285245","title":{"rendered":"\u0423\u043d\u0438\u0432\u0435\u0440\u0441\u0430\u043b\u044c\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 VCS\/SCM \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0441 FutoIn CID"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/6cf\/9eb\/dee\/6cf9ebdee6444af8b525a848931b7066.png\" alt=\"use cases\" title=\"use cases\"\/><\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439 \u043a\u0440\u043e\u043c\u0435 Git, \u043d\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 Subversion \u0432\u0441\u0451 \u0435\u0449\u0451 \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d, \u0430 Mercurial \u0438\u043c\u0435\u0435\u0442 \u0441\u0432\u043e\u0438\u0445 \u044f\u0440\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043a\u043e\u0432. <a href=\"https:\/\/rhodecode.com\/insights\/version-control-systems-2016\">\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u043e\u0438\u0441\u043a<\/a> \u0432 \u043f\u043e\u0434\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u0435.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 DevOps&#8217;\u044b \u043d\u0435 \u043c\u043e\u043d\u043e\u043f\u0440\u043e\u0435\u043a\u0442\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0432\u0435\u0441\u044c\u043c\u0430 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443 \u043a\u0430\u0436\u0434\u043e\u0439 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u044e\u0430\u043d\u0441\u044b \u0438 \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u043a\u0440\u044b\u0442\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u0445, \u0432\u044b\u0441\u0442\u0440\u0435\u043b\u0438\u0432\u0430\u044e\u0449\u0438\u0435 \u0432 \u0441\u0430\u043c\u044b\u0439 \u043d\u0435\u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u0412\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e\u043c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 &quot;\u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c\u044e&quot;, \u0430 \u043d\u0435 \u043f\u0451\u0441\u0442\u0440\u044b\u043c \u0431\u0443\u043a\u0435\u0442\u043e\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n<p><a name=\"habracut\"><\/a>  <\/p>\n<h2 id=\"interfeys\">\u0418\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441<\/h2>\n<p>  <\/p>\n<p>\u0412 <a href=\"https:\/\/habrahabr.ru\/post\/325764\/\">\u0441\u0442\u0430\u0442\u044c\u0435<\/a> \u0437\u043d\u0430\u043a\u043e\u043c\u0441\u0442\u0432\u0430 \u0441 <a href=\"https:\/\/github.com\/futoin\/cid-tool\">FutoIn CID<\/a> \u0443\u0436\u0435 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0430\u0441\u044c \u043d\u0435\u044f\u0432\u043d\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 VCS. \u0412 \u0432\u0435\u0440\u0441\u0438\u0438 v0.7 \u0431\u044b\u043b \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d \u044f\u0432\u043d\u044b\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0438 \u043d\u043e\u0432\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0438 \u0441\u043b\u0438\u044f\u043d\u0438\u044f \u0432\u0435\u0442\u043e\u043a:<\/p>\n<p>  <\/p>\n<p>\u0412 \u043e\u0431\u0449\u0435\u043c-\u0442\u043e \u0441\u0430\u043c \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438 \u043d\u0438\u0436\u0435:<\/p>\n<p>  <\/p>\n<pre><code>    cid vcs checkout [&lt;vcs_ref&gt;] [--vcsRepo=&lt;vcs_repo&gt;] [--wcDir=&lt;wc_dir&gt;]     cid vcs commit &lt;commit_msg&gt; [&lt;commit_files&gt;...] [--wcDir=&lt;wc_dir&gt;]     cid vcs merge &lt;vcs_ref&gt; [--no-cleanup] [--wcDir=&lt;wc_dir&gt;]     cid vcs branch &lt;vcs_ref&gt; [--wcDir=&lt;wc_dir&gt;]     cid vcs delete &lt;vcs_ref&gt; [--vcsRepo=&lt;vcs_repo&gt;] [--cacheDir=&lt;cache_dir&gt;] [--wcDir=&lt;wc_dir&gt;]     cid vcs export &lt;vcs_ref&gt; &lt;dst_dir&gt; [--vcsRepo=&lt;vcs_repo&gt;] [--cacheDir=&lt;cache_dir&gt;] [--wcDir=&lt;wc_dir&gt;]     cid vcs tags [&lt;tag_pattern&gt;] [--vcsRepo=&lt;vcs_repo&gt;] [--cacheDir=&lt;cache_dir&gt;] [--wcDir=&lt;wc_dir&gt;]     cid vcs branches [&lt;branch_pattern&gt;] [--vcsRepo=&lt;vcs_repo&gt;] [--cacheDir=&lt;cache_dir&gt;] [--wcDir=&lt;wc_dir&gt;]     cid vcs reset [--wcDir=&lt;wc_dir&gt;]     cid vcs ismerged &lt;vcs_ref&gt; [--wcDir=&lt;wc_dir&gt;]<\/code><\/pre>\n<p>  <\/p>\n<p>\u0415\u0441\u043b\u0438 \u043e\u0442\u0441\u0442\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u043b\u043e\u0437\u0443\u043d\u0433\u043e\u0432 \u043e\u0431 \u0438\u0434\u0435\u0439\u043d\u043e\u043c \u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u0441\u0442\u0432\u0435 \u0434\u0435\u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439, \u0442\u043e \u0432 \u0441\u0443\u0445\u043e\u043c \u043e\u0441\u0442\u0430\u0442\u043a\u0435 \u0432 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043b\u044e\u0431\u043e\u0433\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043e\u0441\u0442\u0430\u0451\u0442\u0441\u044f \u0432\u0441\u0451 \u0442\u0430 \u0436\u0435 \u043a\u043b\u0438\u0435\u043d\u0442-\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0441 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u043b\u044e\u0448\u043a\u0430\u043c\u0438 \u043d\u0430 \u043a\u043b\u0438\u0435\u043d\u0442\u0441\u043a\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435. \u0412\u0442\u043e\u0440\u044b\u043c \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0431\u0435\u0441\u043f\u0440\u043e\u0431\u043b\u0435\u043c\u043d\u0430\u044f &quot;\u044d\u043c\u0443\u043b\u044f\u0446\u0438\u044f&quot; \u043a\u043b\u0438\u0435\u043d\u0442-\u0441\u0435\u0440\u0432\u0435\u0440\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0432 \u0440\u0430\u0441\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0433\u043e. \u042d\u0442\u0438\u043c \u0438 \u043e\u0431\u0443\u0441\u043b\u043e\u0432\u043b\u0435\u043d\u0430 \u043b\u043e\u0433\u0438\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u2014 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u043d\u0435\u044f\u0432\u043d\u0430\u044f \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0430\u0446\u0438\u044e \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c.<\/p>\n<p>  <\/p>\n<p>\u042d\u0442\u043e \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442 \u0442\u0430\u043a\u0443\u044e \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f:<\/p>\n<p>  <\/p>\n<table>\n<thead>\n<tr>\n<th>CID<\/th>\n<th>Git<\/th>\n<th>Mercurial<\/th>\n<th>Subversion<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>cid vcs checkout<\/code><\/td>\n<td><code>git clone\/fetch<\/code> + <code>git checkout<\/code><\/td>\n<td><code>hg pull<\/code> + <code>hg checkout<\/code><\/td>\n<td><code>svn checkout\/switch<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs commit<\/code><\/td>\n<td><code>git commit<\/code> + <code>git push<\/code><\/td>\n<td><code>hg commit<\/code> + <code>hg push<\/code><\/td>\n<td><code>svn commit<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs merge<\/code><\/td>\n<td><code>git merge<\/code> + <code>git push<\/code><\/td>\n<td><code>hg merge<\/code> + <code>hg push<\/code><\/td>\n<td><code>svn merge<\/code> + <code>svn commit<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs branch<\/code><\/td>\n<td><code>git checkout -b<\/code> + <code>git push<\/code><\/td>\n<td><code>hg branch<\/code> + <code>hg push<\/code><\/td>\n<td><code>svn copy<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs delete<\/code><\/td>\n<td><code>git branch -D<\/code> + <code>git push -f --delete<\/code><\/td>\n<td><code>hg checkout<\/code> + <code>hg commit --close-branch<\/code> + <code>hg push<\/code><\/td>\n<td><code>svn remove<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs export<\/code><\/td>\n<td><code>git fetch\/clone --mirror --depth=1<\/code> + <code>git archive | tar<\/code><\/td>\n<td><code>hg archive --type files<\/code> + <code>.hg*<\/code> cleanup<\/td>\n<td><code>svn export<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs tags<\/code><\/td>\n<td><code>git ls-remote<\/code><\/td>\n<td><code>hg tags<\/code><\/td>\n<td><code>svn ls {repo}\/tags<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs branches<\/code><\/td>\n<td><code>git ls-remote<\/code><\/td>\n<td><code>hg branches<\/code><\/td>\n<td><code>svn ls {repo}\/branches<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs reset<\/code><\/td>\n<td><code>git merge --abort<\/code> + <code>git reset --hard<\/code><\/td>\n<td><code>hg update --clean<\/code> + <code>hg purge -I **\/*.orig<\/code><\/td>\n<td><code>svn revert -R .<\/code><\/td>\n<\/tr>\n<tr>\n<td><code>cid vcs ismerged<\/code><\/td>\n<td><code>git branch -r --merged HEAD<\/code><\/td>\n<td><code>hg merge --preview<\/code><\/td>\n<td><code>svn mergeinfo --show-revs eligible<\/code><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>  <\/p>\n<p>\u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u043f\u0440\u0438 \u0432\u0441\u0435\u0439 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u043e\u0441\u0442\u0438. \u0421\u0442\u043e\u0438\u0442 \u043b\u0438\u0448\u044c \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e:<\/p>\n<p>  <\/p>\n<ol>\n<li>SVN \u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u043b\u0438\u044f\u043d\u0438\u0435 \u0431\u0435\u0437 \u044f\u0432\u043d\u044b\u0445 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0439 \u0440\u0435\u0432\u0438\u0437\u0438\u0439 \u2014 &quot;\u0437\u043d\u0430\u0439 \u0447\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0448\u044c&quot;.<\/li>\n<li>\u0412 Hg \u043d\u0435\u0442 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u0432\u0435\u0442\u043e\u043a, \u0430 bookmarks \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u044e\u0442 \u043a\u043e\u0441\u0442\u044b\u043b\u044c.<\/li>\n<li>\u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f, \u0445\u043e\u0442\u044c \u043d\u0430 \u044d\u0442\u0438\u0445 \u0442\u0440\u0451\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0441\u0432\u0435\u0442 \u043a\u043b\u0438\u043d\u043e\u043c \u0438 \u0441\u043e\u0448\u0451\u043b\u0441\u044f, \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u0447\u0435\u0440\u0435\u0437 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432.<\/li>\n<\/ol>\n<p>  <\/p>\n<h2 id=\"nemnogo-primerov\">\u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432<\/h2>\n<p>  <\/p>\n<p>\u0412\u0441\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0431\u0435\u0437 \u043b\u0438\u0448\u043d\u0438\u0445 \u0441\u043b\u043e\u0432: \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u0439, \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434 \u043a\u0430\u043a \u0435\u0441\u0442\u044c \u0438 \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442.<\/p>\n<p>  <\/p>\n<h3 id=\"-podgotovitelnye-raboty\">&gt; \u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b<\/h3>\n<p>  <\/p>\n<p>\u0421\u043d\u043e\u0432\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0447\u0438\u0441\u0442\u044b\u0439 Debian Jessie. \u0421\u0434\u0435\u043b\u0430\u0435\u043c Git \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439, \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b README.txt \u0438 LICENSE, \u0441\u0434\u0435\u043b\u0430\u0435\u043c \u0432\u0442\u043e\u0440\u0443\u044e \u0432\u0435\u0442\u043a\u0443 develop.<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">sudo apt-get install -y python-pip sudo pip install futoin-cid  VCS_REPO_DIR=${HOME}\/repo VCS_REPO=git:${VCS_REPO_DIR}  function prep_cache_dir() {     local repo=$1     local cache_dir=$(echo $repo | sed -e 's,[\/:@],_,g')     [ -d $cache_dir ] &amp;&amp; cid vcs reset --wcDir=$cache_dir 1&gt;&amp;2     echo $cache_dir }  # set -x is too verbose function cid() {     echo '$' cid &quot;$@&quot; 1&gt;&amp;2     $(which cid) &quot;$@&quot; }  rm ${VCS_REPO_DIR} wc $(prep_cache_dir ${VCS_REPO}) -rf cid tool exec git -- init --bare ${VCS_REPO_DIR} cid vcs checkout --vcsRepo=${VCS_REPO} --wcDir=wc  # Commit All echo 'Info' &gt; wc\/README.txt cid vcs commit 'Initial commit' --wcDir=wc  # Commit specific file(s) echo 'License' &gt; wc\/LICENSE cid vcs commit 'Adding license' LICENSE --wcDir=wc  cid vcs branch develop --wcDir=wc<\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/9b0\/1dd\/a78\/9b01dda787b5427483a0d380f9cbb397.png\" alt=\"prepare\" title=\"prepare\"\/><\/p>\n<p>  <\/p>\n<h3 id=\"-job-story-1-kogda-nachinaetsya-rabota-nad-novoy-fichey-trebuetsya-avtomaticheskoe-sozdanie-vetki-chtoby-uporyadochit-naimenovanie\">&gt; Job Story \u21161: \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u0440\u0430\u0431\u043e\u0442\u0430 \u043d\u0430\u0434 \u043d\u043e\u0432\u043e\u0439 \u0444\u0438\u0447\u0435\u0439, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0432\u0435\u0442\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u0443\u043f\u043e\u0440\u044f\u0434\u043e\u0447\u0438\u0442\u044c \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435<\/h3>\n<p>  <\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u043f\u043e\u0434\u0440\u0430\u0437\u0443\u043c\u0435\u0432\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u0435\u0442\u043a\u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u043b\u0438 \u044d\u0442\u043e \u043d\u0435 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u0435\u0442\u0441\u044f, \u0430 \u0432 \u0442\u0440\u0435\u043a\u0435\u0440\u0435 \u043d\u0435\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0441\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u0442\u0440\u0438\u0433\u0433\u0435\u0440.<\/em><\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">function on_feature_start() {     local repo=&quot;$1&quot;     local feature=&quot;$2&quot;     local cache_dir=$(prep_cache_dir $repo)      cid vcs checkout develop --vcsRepo=$repo --wcDir=$cache_dir     cid vcs branch feature-${feature} --wcDir=$cache_dir } function list_branches() {     # Remote case     cid vcs branches --vcsRepo=${VCS_REPO}     # Local case     cid vcs branches --wcDir=wc } on_feature_start &quot;${VCS_REPO}&quot; '123_one' on_feature_start &quot;${VCS_REPO}&quot; '234_two' list_branches<\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/207\/6f0\/9d5\/2076f09d56094ce596f623b2d049e984.png\" alt=\"case #1\" title=\"case #1\"\/><\/p>\n<p>  <\/p>\n<h3 id=\"-job-story-2-kazhduyu-noch-kazhdyy-kommit-trebuetsya-slivat-develop-release-vetku-v-vetku-feature-develop-chtoby-izbezhat-rashozhdeniy-i-obespechit-soblyudenie-processa\">&gt; Job Story \u21162: \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u043e\u0447\u044c (\u043a\u0430\u0436\u0434\u044b\u0439 \u043a\u043e\u043c\u043c\u0438\u0442), \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0441\u043b\u0438\u0432\u0430\u0442\u044c develop (release) \u0432\u0435\u0442\u043a\u0443 \u0432 \u0432\u0435\u0442\u043a\u0443 feature (develop), \u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0440\u0430\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0439 \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0441\u043e\u0431\u043b\u044e\u0434\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430<\/h3>\n<p>  <\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0442\u0430\u043a\u043e\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043f\u0440\u0438\u043d\u044f\u0442\u043e \u0441\u0447\u0438\u0442\u0430\u0442\u044c \u0438\u0434\u0435\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0435\u0440\u043d\u044b\u043c [\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u043c], \u0445\u043e\u0442\u044f rebase \u0434\u0435\u043b\u0430\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u0441\u0442\u0435\u0440\u0438\u043b\u044c\u043d\u0443\u044e \u0438 \u043f\u043e\u043d\u044f\u0442\u043d\u0443\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e.<\/em><\/p>\n<p>  <\/p>\n<p>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430 \u0432\u0435\u0442\u043e\u043a:<\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">cid vcs checkout develop --wcDir=wc echo 'Info 2' &gt; wc\/README.txt cid vcs commit 'Commit 2' --wcDir=wc  cid vcs checkout feature-234_two --wcDir=wc echo 'Info 3' &gt; wc\/README.txt cid vcs commit 'Conflict 3' --wcDir=wc<\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/4d0\/dc0\/1c9\/4d0dc01c94fc4a87b21a88844f3b5cbf.png\" alt=\"case #2 prepare\" title=\"case #2 prepare\"\/><\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">function sync_branches() {     local repo=&quot;$1&quot;     local cache_dir=$(prep_cache_dir $repo)     local logfile=$(realpath $2)      cid vcs checkout develop --vcsRepo=$repo --wcDir=$cache_dir     pushd $cache_dir      # Release -&gt; Develop     echo &gt;$logfile      for b in $(cid vcs branches 'release*'); do         echo -n &quot;Merging $b into develop: &quot; &gt;&gt;$logfile         cid vcs merge $b &amp;&amp; \\             echo 'OK' &gt;&gt;$logfile || \\             echo 'FAIL' &gt;&gt;$logfile     done      # Develop -&gt; Feature     for b in $(cid vcs branches 'feature*'); do         echo -n &quot;Merging develop into $b: &quot; &gt;&gt;$logfile         cid vcs checkout $b &amp;&amp; \\             cid vcs merge develop &amp;&amp; \\                 echo 'OK' &gt;&gt;$logfile || \\                 echo 'FAIL' &gt;&gt;$logfile     done      popd }  sync_branches &quot;${VCS_REPO}&quot; merge.log cat merge.log<\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/cbf\/4b2\/455\/cbf4b2455958452b86aa3c49b0d98ed1.png\" alt=\"case #2\" title=\"case #2\"\/><\/p>\n<p>  <\/p>\n<p><em>\u041e\u0448\u0438\u0431\u043a\u0430 <strong>\u043e\u0436\u0438\u0434\u0430\u0435\u043c\u0430\u044f<\/strong> \u2014 \u043c\u044b \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442, \u0430 \u0432\u043e\u0442 \u043e\u043f\u0435\u0447\u0430\u0442\u043a\u0430 \u0432 \u043d\u0435\u0439 \u2014 \u043d\u0435\u0442. \u0411\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0440\u0435\u043b\u0438\u0437\u0435.<\/em><\/p>\n<p>  <\/p>\n<h3 id=\"-job-story-3-posle-reliza-udalyat-vse-vklyuchyonnye-feature-vetki-chtoby-ne-zasoryat-prostranstvo-imyon\">&gt; Job Story \u21163: \u043f\u043e\u0441\u043b\u0435 \u0440\u0435\u043b\u0438\u0437\u0430, \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0432\u0441\u0435 \u0432\u043a\u043b\u044e\u0447\u0451\u043d\u043d\u044b\u0435 feature \u0432\u0435\u0442\u043a\u0438, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u0441\u043e\u0440\u044f\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0438\u043c\u0451\u043d<\/h3>\n<p>  <\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u0434\u043b\u044f Hg \u0438 SVN \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u0441\u0442\u0440\u0430\u0448\u043d\u043e\u0433\u043e, \u0430 \u0432\u043e\u0442 \u0434\u043b\u044f Git \u0435\u0441\u0442\u044c \u0440\u0438\u0441\u043a \u043f\u043e\u0442\u0435\u0440\u044f\u0442\u044c \u043a\u043e\u043c\u043c\u0438\u0442\u044b \u2014 \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u043c\u0435\u0442\u044c read-only \u0437\u0435\u0440\u043a\u0430\u043b\u043e \u0434\u043b\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u0438.<\/em><\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">function remove_merged() {     local repo=&quot;$1&quot;     local cache_dir=$(prep_cache_dir $repo)     local logfile=$(realpath $2)      cid vcs checkout develop --vcsRepo=$repo --wcDir=$cache_dir     pushd $cache_dir      echo &gt;$logfile      # Removed merged into develop     for b in $(cid vcs branches 'feature*'); do         if ! cid vcs ismerged $b; then             continue         fi          echo -n &quot;Removing $b: &quot; &gt;&gt;$logfile         cid vcs delete $b &amp;&amp; \\             echo 'OK' &gt;&gt;$logfile || \\             echo 'FAIL' &gt;&gt;$logfile     done      popd }  # Merge first branch cid vcs checkout develop --wcDir=wc cid vcs merge feature-123_one --wcDir=wc  # Try cleanup remove_merged &quot;${VCS_REPO}&quot; delete.log cat delete.log<\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/2b1\/899\/1fe\/2b18991fe5114524911cdaf3f6ce64fb.png\" alt=\"case #3\" title=\"case #3\"\/><\/p>\n<p>  <\/p>\n<h3 id=\"-job-story-4-s-zadannoy-periodichnostyu-generirovat-fayly-i-otpravlyat-v-vcs-chtoby-imet-celostnuyu-istoriyu-izmeneniy\">&gt; Job Story \u21164: \u0441 \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0439 \u043f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u043d\u043e\u0441\u0442\u044c\u044e, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b\u044b \u0438 \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0432 VCS, \u0447\u0442\u043e\u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u0443\u044e \u0438\u0441\u0442\u043e\u0440\u0438\u044e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439<\/h3>\n<p>  <\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0440\u044b: \u0430) \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0432 \u043a\u043e\u043c\u043c\u0435\u0440\u0447\u0435\u0441\u043a\u043e\u043c \u0431\u043b\u043e\u0433\u0435 \u0438\u043b\u0438 \u043d\u043e\u0432\u043e\u0441\u0442\u043d\u043e\u043c \u0441\u0430\u0439\u0442\u0435 \u0438\u043c\u0435\u044e\u0442 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0451\u043d\u043d\u0443\u044e \u0446\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u0434\u043b\u044f \u043f\u043e\u0432\u044b\u0448\u0435\u043d\u0438\u044f \u0446\u0435\u043b\u043e\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0438 \u0430\u0440\u0445\u0438\u0432\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u0440\u0430\u0439\u043d\u0435 \u0443\u043c\u0435\u0441\u0442\u043d\u044b\u043c \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f Subversion \u0431) \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u043c\u044b\u0445 <a href=\"https:\/\/github.com\/firehol\/blocklist-ipsets\">\u0447\u0451\u0440\u043d\u044b\u0445 \u0441\u043f\u0438\u0441\u043a\u043e\u0432 \u0430\u0434\u0440\u0435\u0441\u043e\u0432 \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0430\u0442\u0430\u043a<\/a>, \u0431\u0435\u0437 \u0443\u0447\u0430\u0441\u0442\u0438\u044f FutoIn CID.<\/em><\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">function update_file() {     local repo=&quot;$1&quot;     local cache_dir=$(prep_cache_dir $repo)      cid vcs checkout develop --vcsRepo=$repo --wcDir=$cache_dir     pushd $cache_dir      date &gt; Timestamp.txt     cid vcs commit 'Updated timestamp' Timestamp.txt      popd } update_file &quot;${VCS_REPO}&quot;<\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/f73\/432\/4c1\/f734324c194640df9b1b4a9b90484a34.png\" alt=\"case #4\" title=\"case #4\"\/><\/p>\n<p>  <\/p>\n<h3 id=\"-job-story-5-kazhduyu-noch-trebuetsya-obnovlyat-zavisimosti-vo-vseh-proektah-chtoby-vsegda-ispolzovat-aktualnye-versii\">&gt; Job Story \u21165: \u043a\u0430\u0436\u0434\u0443\u044e \u043d\u043e\u0447\u044c, \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u0432\u043e \u0432\u0441\u0435\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u0430\u0445, \u0447\u0442\u043e\u0431\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438<\/h3>\n<p>  <\/p>\n<p><em>\u041f\u0440\u0438\u043c\u0435\u0447\u0430\u043d\u0438\u0435: \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043a\u0443\u0447\u0430 \u0434\u0440\u0443\u0433\u0438\u0445 \u0432\u0430\u0440\u0438\u0430\u0446\u0438\u0439 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0441\u043f\u0438\u0441\u043a\u0430 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432.<\/em><\/p>\n<p>  <\/p>\n<pre><code class=\"bash\">function update_project_deps() {     local repo=&quot;$1&quot;     local cache_dir=$(prep_cache_dir $repo)      cid vcs checkout develop --vcsRepo=$repo --wcDir=$cache_dir     pushd $cache_dir      date &gt; Timestamp.txt      for t in $(cid tool detect); do         case $t in             npm*|composer*|bundler*) cid tool exec $t -- update ;;         esac     done      cid vcs commit 'Updated dependencies'      popd } update_project_deps &quot;${VCS_REPO}&quot;<\/code><\/pre>\n<p>  <\/p>\n<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/737\/855\/0a2\/7378550a289346d991f095a0b003f5b1.png\" alt=\"case #5\" title=\"case #5\"\/><br \/>  <em>\u0412 \u043f\u0440\u0438\u043c\u0435\u0440 \u043d\u0435 \u0431\u044b\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u0444\u0430\u0439\u043b\u044b npm\/composer\/bundler \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u0433\u0440\u043e\u043c\u043e\u0436\u0434\u0430\u0442\u044c.<\/em><\/p>\n<p>  <\/p>\n<h2 id=\"zaklyuchenie\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>  <\/p>\n<p>\u0412 \u0446\u0435\u043b\u043e\u043c FutoIn CID \u043d\u0435 \u043d\u0430\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u044b, \u0430 \u043b\u0438\u0448\u044c \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0435\u0434\u0438\u043d\u044b\u0439 \u043b\u0435\u0433\u043a\u043e\u0432\u0435\u0441\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u043a VCS\/SCM \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0440\u0430 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u0430 \u0430\u0434\u043c\u0438\u043d\u0430, DevOps&#8217;\u0430 \u0438 \u0434\u0430\u0436\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0430 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438.<\/p>\n<p>  <\/p>\n<p>\u0420\u0430\u0437\u0443\u043c\u0435\u0435\u0442\u0441\u044f \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0435\u0449\u0451 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0435 \u0443\u0441\u0442\u0430\u043a\u0430\u043d\u0438\u043b\u0441\u044f, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u041b\u044e\u0431\u044b\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u043f\u043e\u0436\u0435\u043b\u0430\u043d\u0438\u044f <a href=\"https:\/\/github.com\/futoin\/cid-tool\/issues\">\u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0442\u0441\u044f<\/a>.<\/p>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/326928\/\"> https:\/\/habrahabr.ru\/post\/326928\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/6cf\/9eb\/dee\/6cf9ebdee6444af8b525a848931b7066.png\" alt=\"use cases\" title=\"use cases\"\/><\/p>\n<p>  <\/p>\n<p>\u0414\u043b\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043d\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0438\u0441\u0442\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f \u0432\u0435\u0440\u0441\u0438\u0439 \u043a\u0440\u043e\u043c\u0435 Git, \u043d\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 Subversion \u0432\u0441\u0451 \u0435\u0449\u0451 \u0432\u043e\u0441\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043d, \u0430 Mercurial \u0438\u043c\u0435\u0435\u0442 \u0441\u0432\u043e\u0438\u0445 \u044f\u0440\u044b\u0445 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u043a\u043e\u0432. <a href=\"https:\/\/rhodecode.com\/insights\/version-control-systems-2016\">\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u043e\u0438\u0441\u043a<\/a> \u0432 \u043f\u043e\u0434\u043a\u0440\u0435\u043f\u043b\u0435\u043d\u0438\u0435.<\/p>\n<p>  <\/p>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 DevOps&#8217;\u044b \u043d\u0435 \u043c\u043e\u043d\u043e\u043f\u0440\u043e\u0435\u043a\u0442\u043d\u044b\u0445 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u0439 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u044e\u0442\u0441\u044f \u0441 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0443 \u0441 \u0432\u0435\u0441\u044c\u043c\u0430 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u043c\u0438. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0443 \u043a\u0430\u0436\u0434\u043e\u0439 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u0438 \u043d\u044e\u0430\u043d\u0441\u044b \u0438 \u043d\u0435\u0438\u0437\u0431\u0435\u0436\u043d\u043e \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0441\u043a\u0440\u044b\u0442\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0432 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u0445, \u0432\u044b\u0441\u0442\u0440\u0435\u043b\u0438\u0432\u0430\u044e\u0449\u0438\u0435 \u0432 \u0441\u0430\u043c\u044b\u0439 \u043d\u0435\u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0438\u0439 \u043c\u043e\u043c\u0435\u043d\u0442. \u0412\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u044c \u0432 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0443\u0435\u043c\u043e\u043c \u043f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0438 \u0441 \u043c\u0438\u043d\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0439 &quot;\u0433\u0438\u0431\u043a\u043e\u0441\u0442\u044c\u044e&quot;, \u0430 \u043d\u0435 \u043f\u0451\u0441\u0442\u0440\u044b\u043c \u0431\u0443\u043a\u0435\u0442\u043e\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-285245","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/285245","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=285245"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/285245\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=285245"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=285245"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=285245"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}