
In State Of DevOps 2018 von DORA sehen wir leistungsstarke Unternehmen, die Trunk Based Development verwenden. Lassen Sie uns herausfinden, warum genau, welche Vor- und Nachteile dieses Modell hat.
Hallo! Ich heiĂe Andrey. Ich bin ein DevOps-Berater. Ich arbeite bei Express 42 und moderiere den DevOps Deflope-Podcast. Und heute werde ich ĂŒber Trunk Based Development sprechen.
Das ist eine sehr komplizierte Sache. Ich bin mir nicht sicher, ob ich in 10 Minuten alle dahinter stehenden Konzepte und Ideen erklÀren kann.

? : , :
- State Of DevOps, , Trunk Based Development.
- Accelerate, , .
- Google , Trunk. 25 000 .
- Martin Fowler , .
, .

- . , , . Trunk Based Development .

Trunk Based Development?
:
- . , ( ), . , Trunk . , , , .
- Feature Flags Branch By Abstraction. .
- Continuous Code Review.
- , , . â release ready , .

. ?
Feature Flags. .
Feature Flags? , , , . Feature Flags. , , . A/B , .

- ?
- , .
- A/B .
- .
, . ? pull request. , . . , . . Trunk , Feature Flags .

. . . .
? , .
, , « » « ». , - -. , , .
Trunk ?
- pull request . , , . . pull request, .
- pull request. . . pull request. . pull requests , . Feature Flags, .
- . . , . . pull requestâ .
- prod Feature Flags , .
- pull requestâ .
, , . pull requests . . , Trunk .

?
- . continuous integration , , . , . . , .
- . , . , .
- . , , - , , , . . pull request , . 5 , , .
, , Continuous Review.

- ? , , pull request. - . , , . . . .
- pull requests , . review . . . pull request , - , - , .
- trunkbaseddevelopment.com , 10 pull request, . . 10 , . , .
- pull request , , - . - .

- review . , . , . . , 10 , .
- . , review , . , , .
- . pull request . , prode .

- . Trunk. , Git Flow GitHub Flow, , , Trunk Based Development . , .
- -, , . , - , .
- Feature Flags . , , . âŠ, Ansible- . ., .
- Branch By Abstraction , .
, , . SOLIDâ. SOLID, , , . SOLID : « , -». , , .

, , , ?
:
- . , , prode, .
- . , - , . .
- Continuous review, .
- .
:
- https://www.youtube.com/watch?v=Iq0Nm_cc0wo.
- https://speakerdeck.com/devopsmoscow/pochiemu-trunk-based-development-luchshaia-modiel-vietvlieniia.
- http://express42.com ( Express 42, . , , , . .).
- https://devopsdeflope.ru ( DevOps Deflope, ).
- https://t.me/aladmit_world ( Telegram- ).
- https://t.me/devops_deflope ( , , ).

! , , , . . Git Flow . Git Flow , Trunk Based? ?
. Trunk Based Development . Branch By Abstraction, Short-Lived Branches. -, . - â . . , . .
, pull request . TeamLead, Branch. pull request, ? ?
-. , . , pull requests TeamLead â , , .
. . -?
. , . - , review, . . , . .
! ! ? , ?
. . SOLID, , . , , - . .
Feature Flags? overhead , ?
, , , prod .
overhead? , .
. . ? , ?
, , .
, . . .
, «if », . Also â . , . - overhead, if, , .
! . Trunk Based Development .
.
, . SVN. Trunk. pull request, Trunk. . . : « Git Flow, Trunk Based â - ». , Git. SVN, Git. Git. . Trunk Based Development . . , Trunk, , ? . . Short-Lived Branches , Branch By Abstraction, ?
â ?
, â - - .
. Branch By Abstraction, Commit By Abstraction ?
.
- , -.
Trunk - , .
. trunkbaseddevelopment.com, , , . , . , .
! ! (Branch By Abstraction feature branch). , . 4- ? - , .
. , , . -. , , Fowler, , , abstraction layer layer . Trunk Based Development, . , â . - . . . , , - .
Code Review. , junior- , Code Review 10 PR . , . ? juniors ?
?
junior , . . , , - pull request. , pull request 10 , . . 10 , , . ?
junior . 10 â . , . , Junior . , . .
? . . , 50 150 , ? , . - , - , . , , . , - Feature Flags, , ? . , .
. , , .
, .
. , . , . , . ? , . pull request , , . , . , , - -. , - pull request, , - .
Ich erinnerte mich, dass ich eine Umfrage machen wollte. Heben Sie Ihre Hand, die bis zu diesem Punkt von Trunk gehört haben. Nicht schlecht, fast ein Drittel. Und wer nutzt es in seinen Projekten? 4 Leute.
Wir sind in der gleichen Firma.
Ah, du bist in der gleichen Firma, okay. Ausgezeichnet.