git at an enterprise

28
\ Git at an Enterprise Git vs Subversion and Enterprise Solutions

Upload: sergey-titov-phd

Post on 12-Aug-2015

51 views

Category:

Software


3 download

TRANSCRIPT

Page 1: Git at an Enterprise

\

Git at an Enterprise Git vs Subversion

and Enterprise Solutions

Page 2: Git at an Enterprise

Git vs Subversion

Page 3: Git at an Enterprise

DISTRIBUTED VS CENTRALIZED

Git is distributed, SVN is not• Designed from the ground up to be fully distributed

• Git has multiple redundant repositories, not one

• You never lose code even if the server explodes

• Developers can work offline

• very important for distributed teams

• Developers work much faster (no latency)

Page 4: Git at an Enterprise

BRANCHING AND WORKFLOW

Branches are first-class concepts in Git

• in SVN branches are based on folders structure

• Git branches are simpler and less resource

heavy than Subversion’s

• Git branches carry their entire history

• Git supports any type of workflow not only

Centralized one

• Git is much more suited for proper Versioning

and Release Process

Page 5: Git at an Enterprise

GIT USABILITY

• High productively without network connection

• Most operations could be done offline • Perform a diff;

• View file history;

• Commit changes;

• Merge branches;

• Obtain any other revision of a file;

• Switch branches.

• Makes most operations much faster since no network is involved

• Allows participation in projects without requiring permissions from project authorities, and

thus arguably better fosters culture of meritocracy instead of requiring “committer” status

• Allows private work, so users can use their revision control system even for early drafts

they do not want to publish

• Avoids relying on a single physical machine as a single point of failure.

• Still permits centralized control of the “release version” of the project

Page 6: Git at an Enterprise

OTHER CONSIDERATIONS

• Git stores content as metadata, SVN stores just files

• Git's repos are much smaller than Subversions

• for example, Mozilla code is 30x smaller in Git

• Developers often have to use Git anyway to work with open-source

libraries

• Automatic line ending conversion (CRLF or LF)

• Git’s content integrity is better than SVN’s as it is based on based

SHA-1 checksums

• Used and loved by millions of developers

• developers’ satisfaction is important for productivity

• Fantastic enterprise grade solutions based on Git (see below)

Page 7: Git at an Enterprise

VERDICT

Git is highly recommended

Page 8: Git at an Enterprise

Enterprise Solutions Github and Gitlab

Page 9: Git at an Enterprise

GitHub github.com on premises and on steroids

Page 10: Git at an Enterprise

POWERFUL WORKFLOW

Branching and merging

• pull-requests

• discussion

• code changes preview

• tests result status

Page 11: Git at an Enterprise

CODE REVIEW

Page 12: Git at an Enterprise

SEARCH

Page 13: Git at an Enterprise

ISSUE MANAGEMENT

Page 14: Git at an Enterprise

WIKI

Page 15: Git at an Enterprise

INTEGRATIONS

Page 16: Git at an Enterprise

ENTERPRISE FEATURES

Page 17: Git at an Enterprise

USED BY

Page 18: Git at an Enterprise

PRICING AND DEPLOYMENT OPTIONS

Hosted (Github Enterprise) • starts at $2,500 per 10-user seat pack per year.

• 5-10% discounts based on number of seats purchased.

• includes maintenance, upgrades, and technical support at no extra cost.

SaaS (github.com) • Based on the number of private repositories:

Page 19: Git at an Enterprise

GitLab Enterprise grade open-source system

Page 20: Git at an Enterprise

POWERFUL BRANCHING AND MERGING

Page 21: Git at an Enterprise

ISSUE MANAGEMENT

Page 22: Git at an Enterprise

ACTIVITY STREAM

Page 23: Git at an Enterprise

WIKI

Page 24: Git at an Enterprise

ENTERPRISE FEATURES

Git Hooks LDAP Group Sync

Branded Login Page

• LDAP group sync

• audit logs and multiple roles

• deeper AuthN and AuthZ integration

• fine-grained workflow management

• runs on your servers

• extra server management options

Page 25: Git at an Enterprise

USED BY

Page 26: Git at an Enterprise

PRICING AND DEPLOYMENT OPTIONS

Hosted (GitLab Enterprise)

SaaS (gitlab.com) • Free

• unlimited private and public repositories

• unlimited private collaborators

• Premium • same + next business day support

• $9.90 per user, per year in multiples of 20 users

Page 27: Git at an Enterprise

RESOURCES

• http://blog.teamtreehouse.com/why-you-should-switch-

from-subversion-to-git

• http://www.codeforest.net/git-vs-svn

• https://github.com

• https://about.gitlab.com

Page 28: Git at an Enterprise

Thank you!