YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Distributed Version Control Systems

Distributed Version Control Systems

Fix that bug NOW!Сделайте это вчера!

© your boss

Сидоров Игорь, ООО «СофТраст»

www.iteamlead.net

Page 2: Distributed Version Control Systems

Обзор•Что такое DVCS

•Преимущества

•Ветвление/Слияние

•Недостатки

•Hg vs. Git SVN – это не то, что вам нужно

Page 3: Distributed Version Control Systems

DVCS за 5 минутЦентральный репозиторий

Page 4: Distributed Version Control Systems

DVCS за 5 минутГибкий рабочий процесс

Page 5: Distributed Version Control Systems

DVCS за 5 минутРазвертывание

devprod

Page 6: Distributed Version Control Systems

DVCS за 5 минутИерархия доверия

Page 7: Distributed Version Control Systems

Работаем offline

Page 8: Distributed Version Control Systems

У каждого своя полная копия

Page 9: Distributed Version Control Systems

Это быстро!

Page 10: Distributed Version Control Systems

Ветвление

feature X

bugfix

release

“trunk”

feature branch

bugfix branch

feature X

Page 11: Distributed Version Control Systems

Слияние в SVN Merge before commit

update

run tests; no errors

write code

run tests; no errors

update + solve conflicts

run tests; errors

error in merge?

error in commit?

remote local

No commit to revert to!

Page 12: Distributed Version Control Systems

update + solve conflicts

Слияние в DVCSCommit before merge

update

run tests; no errors

write code

run tests; no errors

make local commit

run tests; errors

error in commit?

remote local

error in merge?

Revert to working

commit and try again

Page 13: Distributed Version Control Systems

Недостатки

•Потеря простоты модели

•Более, чем один путь сделать одно и тоже

•Нельзя взять часть репозитория

•Надо читать доки :)

Page 14: Distributed Version Control Systems

Mercurial vs. Git

Who the FUCK cares?Use what YOU like

Page 15: Distributed Version Control Systems

Спасибо!Вопросы?

Сидоров Игорь, ООО «СофТраст»

www.iteamlead.net


Related Documents