Top Banner
บริษัท สยามํานาญกิจ จํากัด และเพื่อนพ้องน้องพี
40

Working with branch

Jan 22, 2018

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Page 2: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Cargo Cult Software engineeringhttps://en.wikipedia.org/wiki/Cargo_cult_programming

Page 3: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Google Culture

Page 4: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Google Culture

Page 5: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Google Culture

Page 6: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

<<<<<<<<<<< aaaaaaaaa ============ bbbbbbbbb aaaaaaaaa >>>>>>>>>>>

Page 7: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Risk management

is

project management for adults !!

Page 8: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Loss of productivity

Page 9: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Loss of confidence

Page 10: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Branching

is

a technique for managing risk

Page 11: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Branching

Page 12: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Merging

Page 13: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Branching Strategies

Page 14: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Merging Strategies !!

Page 15: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Integration/development branch

1 2 3 4

Page 16: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Integration/development branch

1 2 3 4

1 2 3 4

1 2 3 4

Team A

Team B

Team C

Page 17: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

1 2 3 4

1 2 3 4

1 2 3 4

Team A

Team B

Team C

Page 18: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Integration/development branch

1 2 3 4

Page 19: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Release branch

4 5 6 7

A B

8

stable

Page 20: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Branching from label

4 5 6 7

A B

8

stable

XV 1 . 0 Y

V 1 . 1

Page 21: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Feature/task/private branch

4 5 6 7 8

more stable

A B C

more change

Page 22: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Shelving

4 5 6 7

A

8

Page 23: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Integration pain !!

4 5 6 7 8

A B C

A B

Page 24: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Cherry pick

4 5 6 7

A B

8

C

Page 25: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

No branch (feature toggle)

1 A 2 1 B 3 1 C

Page 26: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

No branch (feature toggle)

1 A 2 1 B 3 1 C

Always ready to ship

Page 27: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Gatekeeper workflows

2 3 4 5GK

A B

X Y ZUp1

PuiC

Page 28: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Forking and Pull request

Page 29: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Page 30: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Continuous Integration

Page 31: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Continuous Integrationis a mindset, not a tool

Page 32: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Tooling gives people the opportunity to avoid taking

to each other

Page 33: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Manual or Automation ?

Page 34: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Branching can be used to manage risk.

Page 35: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

BUT there are more productive ways.

Page 36: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Choose ?

Page 37: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Code change and Policy ?

Page 38: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

What is your current problem ?

Page 39: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี

Page 40: Working with branch

บริษัท สยามํานาญกิจ จํากัด และเพ่ือนพ้องน้องพ่ี