Distributed Version Control Systems

Post on 26-Jun-2015

462 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

DESCRIPTION

Презентация начального уровня по распределенным системам контроля версий.

Transcript

Distributed Version Control Systems

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

© your boss

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

www.iteamlead.net

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

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

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

•Недостатки

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

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

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

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

devprod

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

Работаем offline

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

Это быстро!

Ветвление

feature X

bugfix

release

“trunk”

feature branch

bugfix branch

feature X

Слияние в 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!

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

Недостатки

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

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

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

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

Mercurial vs. Git

Who the FUCK cares?Use what YOU like

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

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

www.iteamlead.net

top related