{"id":468254,"date":"2025-07-22T21:00:10","date_gmt":"2025-07-22T21:00:10","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=468254"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=468254","title":{"rendered":"<span>\u0417\u0430\u0447\u0435\u043c \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u043c\u0438 (\u0441\u043f\u043e\u0439\u043b\u0435\u0440: \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u0432\u0435\u043b\u043e\u0441\u0438\u043f\u0435\u0434)<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u043f\u043b\u0430\u0433\u0438\u043d\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0436\u0438\u0432\u0443\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 \u0447\u0443\u0436\u0438\u0445 \u043f\u0430\u043f\u043e\u043a<\/h3>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u043c,\u00a0\u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440,\u00a0\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u043e\u0447\u043d\u043e \u043e\u0442\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435:<\/p>\n<p><strong>\u042f\u0434\u0440\u043e<\/strong>\u00a0(<code>\/core<\/code>) \u0441 \u0441\u043e\u0442\u043d\u044f\u043c\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435:<\/p>\n<pre><code>\/core \u251c\u2500\u2500 \/config \u2502   \u251c\u2500\u2500 app.yaml \u2502   \u2514\u2500\u2500 routes\/ \u251c\u2500\u2500 \/src \u2502   \u251c\u2500\u2500 \/utils \u2502   \u2502   \u251c\u2500\u2500 logger.py \u2502   \u2502   \u2514\u2500\u2500 network\/ \u2502   \u2514\u2500\u2500 main.py \u2514\u2500\u2500 \/templates     \u251c\u2500\u2500 base.html     \u2514\u2500\u2500 \/admin<\/code><\/pre>\n<p><strong>\u041f\u043b\u0430\u0433\u0438\u043d<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043a\u0438\u0434\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0438 \u0444\u0430\u0439\u043b\u044b\u00a0<strong>\u043f\u0440\u044f\u043c\u043e \u0432 \u043f\u043e\u0434\u043f\u0430\u043f\u043a\u0438 \u044f\u0434\u0440\u0430<\/strong>:<\/p>\n<pre><code>\/plugin \u251c\u2500\u2500 \/config\/routes\/new_handlers.yaml  # \u043b\u0435\u0437\u0435\u0442 \u0432 \/core\/config\/routes\/ \u251c\u2500\u2500 \/src\/utils\/logger.py              # \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u044f\u0434\u0435\u0440\u043d\u044b\u0439 logger \u2514\u2500\u2500 \/templates\/admin\/dashboard.html   # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u044b<\/code><\/pre>\n<ul>\n<li>\n<p><strong>\u041a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u043e\u0447\u0435\u0447\u043d\u043e \u043c\u0435\u043d\u044f\u044e\u0442 \u0444\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<code>core\/src\/utils\/network\/<\/code><a href=\"http:\/\/http.py\" rel=\"noopener noreferrer nofollow\"><code>http.py<\/code><\/a>).<\/p>\n<\/li>\n<\/ul>\n<h3>\u0427\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a?<\/h3>\n<ol>\n<li>\n<p><strong>\u0420\u0443\u0447\u043d\u043e\u0439 \u043c\u0435\u0440\u0434\u0436<\/strong>:<\/p>\n<ul>\n<li>\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0435\u00a0<code>new_handlers.yaml<\/code>\u00a0\u2192 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432\u00a0<code>.gitignore<\/code>\u00a0\u044f\u0434\u0440\u0430 \u2192\u00a0<code>git status<\/code>\u00a0\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0443\u0447\u0443 &#171;\u043b\u0438\u0448\u043d\u0438\u0445&#187; \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u044f\u0434\u0440\u043e? \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e\u00a0<strong>\u0432\u0440\u0443\u0447\u043d\u0443\u044e<\/strong>\u00a0\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c, \u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043b\u0438 \u0432\u0430\u0448\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0432\u0430\u0436\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u0413\u0438\u0433\u0430\u043d\u0442\u0441\u043a\u0438\u0435\u00a0<\/strong><code><strong>.gitignore<\/strong><\/code><strong> <\/strong>\u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u043f\u043e \u0441\u0443\u0442\u0438 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430<br \/>IDE \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442\u044c \u0438\u0437-\u0437\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u0431\u043e\u0440\u043a\u0430 \u0447\u0435\u0440\u0435\u0437\u00a0<\/strong><code><strong>make<\/strong><\/code>:<\/p>\n<ul>\n<li>\n<p>\u0420\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f &#171;\u043d\u0430 \u043b\u0435\u0442\u0443&#187;, \u043d\u043e:<\/p>\n<ul>\n<li>\n<p>IDE \u043d\u0435 \u0432\u0438\u0434\u0438\u0442 \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 plugin\/src\/utils\/<a href=\"http:\/\/logger.py\" rel=\"noopener noreferrer nofollow\">logger.py<\/a> \u0438 core\/src\/utils\/<a href=\"http:\/\/logger.py\" rel=\"noopener noreferrer nofollow\">logger.py<\/a><\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0435 \u0441\u043b\u0435\u0442\u0430\u044e\u0442 \u0434\u0435\u0431\u0430\u0433-\u0431\u0440\u0435\u0439\u043a\u043f\u043e\u0438\u043d\u0442\u044b \u0438\u043b\u0438 \u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u043a\u043e\u0434,<\/p>\n<\/li>\n<li>\n<p>\u0424\u0438\u043a\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f\u00a0<strong>\u0432 \u0442\u0440\u0451\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b<\/strong>\u00a0\u2014 15+ \u043c\u0438\u043d\u0443\u0442 \u043d\u0430 \u0440\u0443\u0447\u043d\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0448\u0438\u0431\u043a\u0438<\/strong>\u00a0\u2014 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438, \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f<\/strong>\u00a0\u2014 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043a\u0430\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u0444\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430.<\/p>\n<\/li>\n<\/ul>\n<h4>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f (\u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d\u0438 \u043d\u0435 \u043f\u043e\u0434\u043e\u0448\u043b\u0438)<\/h4>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>git-submodules<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438 \u0444\u0430\u0439\u043b\u043e\u0432<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>rsync<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u0435\u0442 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 \u043a origin-\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u043c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 make<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0425\u0440\u0443\u043f\u043a\u043e\u0441\u0442\u044c<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><br \/>\u0415\u0441\u043b\u0438 \u0432\u00a0<code>git-submodules<\/code>\u00a0\u043f\u043b\u0430\u0433\u0438\u043d \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043b\u00a0<code>core\/src\/utils\/<\/code><a href=\"http:\/\/logger.py\" rel=\"noopener noreferrer nofollow\"><code>logger.py<\/code><\/a>,\u00a0\u0442\u043e:<\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u044f\u0434\u0440\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u00a0<strong>\u043f\u043e\u0442\u0435\u0440\u044f\u044e\u0442\u0441\u044f<\/strong>,<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 &#171;\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u043f\u043b\u0430\u0433\u0438\u043d&#187;.<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 dmp<\/h3>\n<h4>1. \u0422\u0440\u0435\u043a\u0438\u043d\u0433 \u0444\u0430\u0439\u043b\u043e\u0432<\/h4>\n<p>dmp \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0432\u00a0<code>.dmp\/config<\/code><\/p>\n<pre><code>{   \"remotes\": {     \"core\": \"\/dev\/core\",     \"plugin\": \"\/dev\/plugin1\",     \"plugin_2\": \"\/dev\/plugin2\"   },   \"file_owners\": {     \"src\/core\/exampleFile.py\": \"core\",     \"src\/core\/exampleFile2.py\": \"plugin\",     \"src\/core\/exampleFile3.py\": \"plugin_2\",     ...<\/code><\/pre>\n<h4>2. \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432<\/h4>\n<ul>\n<li>\n<p><strong>\u0412\u0440\u0443\u0447\u043d\u0443\u044e<\/strong>: <code>dmp track add [file] [remote]<\/code>\u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c \u0444\u0430\u0439\u043b\u0430 \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 (\u0441 \u043a\u0430\u043a\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0435\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f)<\/p>\n<\/li>\n<li>\n<p><strong>\u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435(\u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438)<\/strong>:\u00a0<code>dmp pull plugin [file]<\/code>\u00a0\u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0438\u0437 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432 git.<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f<\/strong>: <code>dmp status<\/code> \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0438 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432.<br \/><code>dmp check-new<\/code> \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0435 \u0430\u0441\u043e\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0445 \u043d\u0438 \u0441 \u043e\u0434\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0435\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432(\u043f\u043b\u0430\u0433\u0438\u043d\u044b \u044f\u0434\u0440\u043e).<\/p>\n<\/li>\n<\/ul>\n<h4>3. \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 IDE<\/h4>\n<ul>\n<li>\n<p>\u0421\u0438\u043c\u043b\u0438\u043d\u043a\u0438\u00a0<strong>\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f<\/strong>\u00a0\u2192 PyCharm\/VSCode \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0432\u0438\u0434\u044f\u0442 \u043a\u043b\u0430\u0441\u0441\u044b.<\/p>\n<\/li>\n<li>\n<p><code>.dmpignore<\/code>\u00a0\u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b (\u0430\u043d\u0430\u043b\u043e\u0433\u00a0<code>.gitignore<\/code>).<\/p>\n<\/li>\n<\/ul>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0440: \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0439 workflow<\/h3>\n<pre><code># 1. \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f dmp init \/prod cd \/prod  # 2. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 dmp remote add core ~\/git\/core  dmp remote add plugin ~\/git\/plugin   # 3. \u0421\u043a\u0430\u043d\u0438\u0440\u0443\u0435\u043c \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0434\u0438\u0440\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438  dmp track add-all core dmp track add-all plugin  # 3. \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u0432 \u0440\u0430\u043e\u0447\u0443\u044e \u0434\u0438\u0440\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e dmp pull core dmp pull plugin # \u0432\u044b\u0432\u0435\u0434\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 (\u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f)  # 4. \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u0432 \u0440\u0430\u043e\u0447\u0443\u044e \u0434\u0438\u0440\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e(\u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438) \u0444\u0430\u0439\u043b\u044b \u043f\u043b\u0430\u043d\u0438\u043d\u0430 \u043f\u0435\u0440\u0435\u043f\u0438\u0448\u0443\u0442 \u0444\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430 dmp pull plugin --force   # 5. \u041f\u0440\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u0430 vim \/prod\/src\/utils\/logger.py  # 6. \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u043e\u0442 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432\u043d\u0443\u0442\u0440\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0438\u043b\u0438 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 dmp status [plugin]  # 7. \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0441 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u043c dmp push plugin <\/code><\/pre>\n<h3>\u0424\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u044f<\/h3>\n<p>\u042d\u0442\u043e\u00a0<strong>\u043a\u043e\u0441\u0442\u044b\u043b\u044c<\/strong>,\u00a0\u043d\u043e:<\/p>\n<ul>\n<li>\n<p>\u0420\u0435\u0448\u0430\u0435\u0442\u00a0<strong>\u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443<\/strong>\u00a0\u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u043a\u0438 workflow,<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0440\u0430\u0432 \u0432 CI\/CD,<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u0412\u043e\u043f\u0440\u043e\u0441 \u043a \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438:<\/strong><br \/>\u041a\u0430\u043a \u0432\u044b \u0440\u0435\u0448\u0430\u0435\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432?<\/p>\n<p>\ud83d\udd17\u00a0<strong>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442<\/strong>:\u00a0<a href=\"https:\/\/github.com\/SidorkinAlex\/dmp\" rel=\"noopener noreferrer nofollow\">github.com\/SidorkinAlex\/dmp<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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:\/\/habr.com\/ru\/articles\/930076\/\"> https:\/\/habr.com\/ru\/articles\/930076\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<h3>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430: \u043f\u043b\u0430\u0433\u0438\u043d\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0436\u0438\u0432\u0443\u0442 \u0432\u043d\u0443\u0442\u0440\u0438 \u0447\u0443\u0436\u0438\u0445 \u043f\u0430\u043f\u043e\u043a<\/h3>\n<p>\u041f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043a\u043e\u0434 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u043f\u0440\u0438\u0435\u0442\u0430\u0440\u043d\u044b\u043c,\u00a0\u0434\u043b\u044f \u043d\u0430\u0433\u043b\u044f\u0434\u043d\u043e\u0441\u0442\u0438 \u044f \u0431\u0443\u0434\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0438\u043d\u0442\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043f\u0440\u0438\u043c\u0435\u0440,\u00a0\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0442\u043e\u0447\u043d\u043e \u043e\u0442\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u0443\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b.<\/p>\n<p>\u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435:<\/p>\n<p><strong>\u042f\u0434\u0440\u043e<\/strong>\u00a0(<code>\/core<\/code>) \u0441 \u0441\u043e\u0442\u043d\u044f\u043c\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435:<\/p>\n<pre><code>\/core \u251c\u2500\u2500 \/config \u2502   \u251c\u2500\u2500 app.yaml \u2502   \u2514\u2500\u2500 routes\/ \u251c\u2500\u2500 \/src \u2502   \u251c\u2500\u2500 \/utils \u2502   \u2502   \u251c\u2500\u2500 logger.py \u2502   \u2502   \u2514\u2500\u2500 network\/ \u2502   \u2514\u2500\u2500 main.py \u2514\u2500\u2500 \/templates     \u251c\u2500\u2500 base.html     \u2514\u2500\u2500 \/admin<\/code><\/pre>\n<p><strong>\u041f\u043b\u0430\u0433\u0438\u043d<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0441\u043a\u0438\u0434\u044b\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0438 \u0444\u0430\u0439\u043b\u044b\u00a0<strong>\u043f\u0440\u044f\u043c\u043e \u0432 \u043f\u043e\u0434\u043f\u0430\u043f\u043a\u0438 \u044f\u0434\u0440\u0430<\/strong>:<\/p>\n<pre><code>\/plugin \u251c\u2500\u2500 \/config\/routes\/new_handlers.yaml  # \u043b\u0435\u0437\u0435\u0442 \u0432 \/core\/config\/routes\/ \u251c\u2500\u2500 \/src\/utils\/logger.py              # \u043f\u0435\u0440\u0435\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442 \u044f\u0434\u0435\u0440\u043d\u044b\u0439 logger \u2514\u2500\u2500 \/templates\/admin\/dashboard.html   # \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0448\u0430\u0431\u043b\u043e\u043d\u044b<\/code><\/pre>\n<ul>\n<li>\n<p><strong>\u041a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u043e\u0447\u0435\u0447\u043d\u043e \u043c\u0435\u043d\u044f\u044e\u0442 \u0444\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<code>core\/src\/utils\/network\/<\/code><a href=\"http:\/\/http.py\" rel=\"noopener noreferrer nofollow\"><code>http.py<\/code><\/a>).<\/p>\n<\/li>\n<\/ul>\n<h3>\u0427\u0442\u043e \u043f\u043e\u0448\u043b\u043e \u043d\u0435 \u0442\u0430\u043a?<\/h3>\n<ol>\n<li>\n<p><strong>\u0420\u0443\u0447\u043d\u043e\u0439 \u043c\u0435\u0440\u0434\u0436<\/strong>:<\/p>\n<ul>\n<li>\n<p>\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0435\u00a0<code>new_handlers.yaml<\/code>\u00a0\u2192 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0433\u043e \u0432\u00a0<code>.gitignore<\/code>\u00a0\u044f\u0434\u0440\u0430 \u2192\u00a0<code>git status<\/code>\u00a0\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u043a\u0443\u0447\u0443 &#171;\u043b\u0438\u0448\u043d\u0438\u0445&#187; \u0444\u0430\u0439\u043b\u043e\u0432.<\/p>\n<\/li>\n<li>\n<p>\u041e\u0431\u043d\u043e\u0432\u0438\u043b\u0438 \u044f\u0434\u0440\u043e? \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0443\u0436\u043d\u043e\u00a0<strong>\u0432\u0440\u0443\u0447\u043d\u0443\u044e<\/strong>\u00a0\u043f\u0440\u043e\u0432\u0435\u0440\u044f\u0442\u044c, \u043d\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043b\u0438 \u043b\u0438 \u0432\u0430\u0448\u0438 \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0432\u0430\u0436\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<li>\n<p><strong>\u0413\u0438\u0433\u0430\u043d\u0442\u0441\u043a\u0438\u0435\u00a0<\/strong><code><strong>.gitignore<\/strong><\/code><strong> <\/strong>\u0434\u043b\u044f \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u043f\u043e \u0441\u0443\u0442\u0438 \u0432\u0441\u0435 \u0444\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430<br \/>IDE \u043d\u0430\u0447\u0438\u043d\u0430\u0435\u0442 \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442\u044c \u0438\u0437-\u0437\u0430 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e\u0433\u043e \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u0431\u043e\u0440\u043a\u0430 \u0447\u0435\u0440\u0435\u0437\u00a0<\/strong><code><strong>make<\/strong><\/code>:<\/p>\n<ul>\n<li>\n<p>\u0420\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f &#171;\u043d\u0430 \u043b\u0435\u0442\u0443&#187;, \u043d\u043e:<\/p>\n<ul>\n<li>\n<p>IDE \u043d\u0435 \u0432\u0438\u0434\u0438\u0442 \u0441\u0432\u044f\u0437\u0438 \u043c\u0435\u0436\u0434\u0443 plugin\/src\/utils\/<a href=\"http:\/\/logger.py\" rel=\"noopener noreferrer nofollow\">logger.py<\/a> \u0438 core\/src\/utils\/<a href=\"http:\/\/logger.py\" rel=\"noopener noreferrer nofollow\">logger.py<\/a><\/p>\n<\/li>\n<li>\n<p>\u041f\u0440\u0438 \u043f\u0435\u0440\u0435\u0441\u0431\u043e\u0440\u043a\u0435 \u0441\u043b\u0435\u0442\u0430\u044e\u0442 \u0434\u0435\u0431\u0430\u0433-\u0431\u0440\u0435\u0439\u043a\u043f\u043e\u0438\u043d\u0442\u044b \u0438\u043b\u0438 \u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043e\u0442\u043b\u0430\u0434\u043e\u0447\u043d\u044b\u0439 \u043a\u043e\u0434,<\/p>\n<\/li>\n<li>\n<p>\u0424\u0438\u043a\u0441\u0438\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f\u00a0<strong>\u0432 \u0442\u0440\u0451\u0445 \u0440\u0430\u0437\u043d\u044b\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445<\/strong>.<\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<p><strong>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b:<\/strong><\/p>\n<ul>\n<li>\n<p><strong>\u0412\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0437\u0430\u0442\u0440\u0430\u0442\u044b<\/strong>\u00a0\u2014 15+ \u043c\u0438\u043d\u0443\u0442 \u043d\u0430 \u0440\u0443\u0447\u043d\u043e\u0435 \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0448\u0438\u0431\u043a\u0438<\/strong>\u00a0\u2014 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438, \u043f\u043e\u0442\u0435\u0440\u044f\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b<\/p>\n<\/li>\n<li>\n<p><strong>\u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044f<\/strong>\u00a0\u2014 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u043a\u0430\u043a\u0438\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u0444\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430.<\/p>\n<\/li>\n<\/ul>\n<h4>\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f (\u0438 \u043f\u043e\u0447\u0435\u043c\u0443 \u043e\u043d\u0438 \u043d\u0435 \u043f\u043e\u0434\u043e\u0448\u043b\u0438)<\/h4>\n<div>\n<div class=\"table\">\n<table>\n<tbody>\n<tr>\n<th>\n<p align=\"left\">\u0418\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442<\/p>\n<\/th>\n<th>\n<p align=\"left\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430<\/p>\n<\/th>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>git-submodules<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0421\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u044b \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0438 \u0444\u0430\u0439\u043b\u043e\u0432<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>rsync<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u041d\u0435\u0442 \u043f\u0440\u0438\u0432\u044f\u0437\u043a\u0438 \u043a origin-\u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u043c<\/p>\n<\/td>\n<\/tr>\n<tr>\n<td>\n<p align=\"left\"><strong>\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 make<\/strong><\/p>\n<\/td>\n<td>\n<p align=\"left\">\u0425\u0440\u0443\u043f\u043a\u043e\u0441\u0442\u044c<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<p><strong>\u041f\u0440\u0438\u043c\u0435\u0440:<\/strong><br \/>\u0415\u0441\u043b\u0438 \u0432\u00a0<code>git-submodules<\/code>\u00a0\u043f\u043b\u0430\u0433\u0438\u043d \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0438\u0441\u0430\u043b\u00a0<code>core\/src\/utils\/<\/code><a href=\"http:\/\/logger.py\" rel=\"noopener noreferrer nofollow\"><code>logger.py<\/code><\/a>,\u00a0\u0442\u043e:<\/p>\n<ul>\n<li>\n<p>\u041f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u044f\u0434\u0440\u0430 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u00a0<strong>\u043f\u043e\u0442\u0435\u0440\u044f\u044e\u0442\u0441\u044f<\/strong>,<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 &#171;\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0444\u0430\u0439\u043b \u0432 \u043f\u043b\u0430\u0433\u0438\u043d&#187;.<\/p>\n<\/li>\n<\/ul>\n<h3>\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 dmp<\/h3>\n<h4>1. \u0422\u0440\u0435\u043a\u0438\u043d\u0433 \u0444\u0430\u0439\u043b\u043e\u0432<\/h4>\n<p>dmp \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u0435 \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0432\u00a0<code>.dmp\/config<\/code><\/p>\n<pre><code>{   \"remotes\": {     \"core\": \"\/dev\/core\",     \"plugin\": \"\/dev\/plugin1\",     \"plugin_2\": \"\/dev\/plugin2\"   },   \"file_owners\": {     \"src\/core\/exampleFile.py\": \"core\",     \"src\/core\/exampleFile2.py\": \"plugin\",     \"src\/core\/exampleFile3.py\": \"plugin_2\",     ...<\/code><\/pre>\n<h4>2. \u0420\u0430\u0437\u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432<\/h4>\n<ul>\n<li>\n<p><strong>\u0412\u0440\u0443\u0447\u043d\u0443\u044e<\/strong>: <code>dmp track add [file] [remote]<\/code>\u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043a\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u043b\u0430\u0434\u0435\u043b\u044c\u0446\u0435\u043c \u0444\u0430\u0439\u043b\u0430 \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 (\u0441 \u043a\u0430\u043a\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0435\u0439 \u0431\u0443\u0434\u0435\u0442 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0440\u0430\u0431\u043e\u0447\u0430\u044f \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f)<\/p>\n<\/li>\n<li>\n<p><strong>\u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435(\u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438)<\/strong>:\u00a0<code>dmp pull plugin [file]<\/code>\u00a0\u043f\u043e\u0434\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u0442 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \u0438\u0437 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0432 git.<\/p>\n<\/li>\n<li>\n<p><strong>\u041e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u043d\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f<\/strong>: <code>dmp status<\/code> \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0438 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044f\u0445 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432.<br \/><code>dmp check-new<\/code> \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043d\u0435 \u0430\u0441\u043e\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u044b\u0445 \u043d\u0438 \u0441 \u043e\u0434\u043d\u043e\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0435\u0439 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u0432(\u043f\u043b\u0430\u0433\u0438\u043d\u044b \u044f\u0434\u0440\u043e).<\/p>\n<\/li>\n<\/ul>\n<h4>3. \u0420\u0430\u0431\u043e\u0442\u0430 \u0441 IDE<\/h4>\n<ul>\n<li>\n<p>\u0421\u0438\u043c\u043b\u0438\u043d\u043a\u0438\u00a0<strong>\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f<\/strong>\u00a0\u2192 PyCharm\/VSCode \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e \u0432\u0438\u0434\u044f\u0442 \u043a\u043b\u0430\u0441\u0441\u044b.<\/p>\n<\/li>\n<li>\n<p><code>.dmpignore<\/code>\u00a0\u0438\u0441\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b (\u0430\u043d\u0430\u043b\u043e\u0433\u00a0<code>.gitignore<\/code>).<\/p>\n<\/li>\n<\/ul>\n<h3>\u041f\u0440\u0438\u043c\u0435\u0440: \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0439 workflow<\/h3>\n<pre><code># 1. \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f dmp init \/prod cd \/prod  # 2. \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 dmp remote add core ~\/git\/core  dmp remote add plugin ~\/git\/plugin   # 3. \u0421\u043a\u0430\u043d\u0438\u0440\u0443\u0435\u043c \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c\u044b\u0435 \u0434\u0438\u0440\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438  dmp track add-all core dmp track add-all plugin  # 3. \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u0432 \u0440\u0430\u043e\u0447\u0443\u044e \u0434\u0438\u0440\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e dmp pull core dmp pull plugin # \u0432\u044b\u0432\u0435\u0434\u0438 \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043d\u0444\u043b\u0438\u043a\u0442\u043e\u0432 (\u0444\u0430\u0439\u043b\u043e\u0432 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f)  # 4. \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0444\u0430\u0439\u043b\u044b \u0432 \u0440\u0430\u043e\u0447\u0443\u044e \u0434\u0438\u0440\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e(\u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438) \u0444\u0430\u0439\u043b\u044b \u043f\u043b\u0430\u043d\u0438\u043d\u0430 \u043f\u0435\u0440\u0435\u043f\u0438\u0448\u0443\u0442 \u0444\u0430\u0439\u043b\u044b \u044f\u0434\u0440\u0430 dmp pull plugin --force   # 5. \u041f\u0440\u0430\u0432\u0438\u043c \u0444\u0430\u0439\u043b\u044b \u043f\u043b\u0430\u0433\u0438\u043d\u0430 vim \/prod\/src\/utils\/logger.py  # 6. \u0412\u044b\u0432\u043e\u0434\u0438\u0442 \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u0430\u0439\u043b\u043e\u0432 \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f \u043e\u0442 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432\u043d\u0443\u0442\u0440\u0438 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u0439 \u0438\u043b\u0438 \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 dmp status [plugin]  # 7. \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u0434\u0438\u0440\u0435\u043a\u0442\u043e\u0440\u0438\u044e \u0441 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0435\u043c dmp push plugin <\/code><\/pre>\n<h3>\u0424\u0438\u043b\u043e\u0441\u043e\u0444\u0438\u044f<\/h3>\n<p>\u042d\u0442\u043e\u00a0<strong>\u043a\u043e\u0441\u0442\u044b\u043b\u044c<\/strong>,\u00a0\u043d\u043e:<\/p>\n<ul>\n<li>\n<p>\u0420\u0435\u0448\u0430\u0435\u0442\u00a0<strong>\u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u0443\u044e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443<\/strong>\u00a0\u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u0434\u0435\u043b\u043a\u0438 workflow,<\/p>\n<\/li>\n<li>\n<p>\u041d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0440\u0430\u0432 \u0432 CI\/CD,<\/p>\n<\/li>\n<li>\n<p>\u041f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0440\u0430\u0437\u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u043d\u0430 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438.<\/p>\n<\/li>\n<\/ul>\n<p><strong>\u0412\u043e\u043f\u0440\u043e\u0441 \u043a \u0430\u0443\u0434\u0438\u0442\u043e\u0440\u0438\u0438:<\/strong><br \/>\u041a\u0430\u043a \u0432\u044b \u0440\u0435\u0448\u0430\u0435\u0442\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u0432?<\/p>\n<p>\ud83d\udd17\u00a0<strong>\u0421\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043f\u0440\u043e\u0435\u043a\u0442<\/strong>:\u00a0<a href=\"https:\/\/github.com\/SidorkinAlex\/dmp\" rel=\"noopener noreferrer nofollow\">github.com\/SidorkinAlex\/dmp<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \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:\/\/habr.com\/ru\/articles\/930076\/\"> https:\/\/habr.com\/ru\/articles\/930076\/<\/a><br \/><\/br><\/br><\/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-468254","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/468254","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=468254"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/468254\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=468254"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=468254"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=468254"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}