
Di State Of DevOps 2018 dari DORA, kami melihat Perusahaan Berkinerja Tinggi menggunakan Pengembangan Berbasis Batang. Mari kita cari tahu mengapa tepatnya, apa kelebihan dan kekurangan model ini.
Halo! Nama saya Andrey. Saya seorang konsultan DevOps. Saya bekerja di Express 42 dan menjadi host podcast DevOps Deflope. Dan hari ini saya akan berbicara tentang Pengembangan Berbasis Batang.
Ini adalah hal yang sangat rumit. Saya tidak yakin apakah saya bisa menjelaskan semua konsep dan ide di baliknya dalam 10 menit.

? : , :
- 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, , - .
Saya ingat bahwa saya ingin melakukan survei. Angkat tangan Anda, yang telah mendengar tentang Trunk sampai saat ini. Lumayan, hampir sepertiganya. Dan siapa yang menggunakannya dalam proyek mereka? 4 orang.
Kami berada di perusahaan yang sama.
Ah, Anda berada di perusahaan yang sama, oke. Luar biasa.