Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keep calm and use Gitlab!

Keep calm and use Gitlab!

If you don't, you should...

Reputation VIP

April 09, 2015
Tweet

More Decks by Reputation VIP

Other Decks in Programming

Transcript

  1. Summary Introducing GitLab How to install ? First connection Users

    & groups SSH keys Projects Merge Request & Code Review More cool stuff
  2. Introducing GitLab Software repository manager Similar to GitHub, but :

    The repos can be stored on the owner’s server The repos can be stored on gitlab.com 2 editions : Community (free) and Enterprise (not free !) Used by over 100 000 organizations (NASA, …)
  3. How to install ? 2 ways : manual installation or

    “one click” installation “One click” installation with : Omnibus  Download Omnibus package on https://about.gitlab.com/downloads/  Follow given installation process (Easy !)
  4. First Connection Use browser to connect server Login with default

    credentials  Username : root  Password : 5iveL!fe
  5. Users & groups GitLab provides Users/Groups hierarchy One group may

    contains several users One user may belongs to several groups User has role (such as “admin”, “developer” …) Specifics rights can be given to each role Access to projects can be restricted by groups and/or users
  6. SSH Keys Access to repositories can be managed in 2

    ways : HTTPS authentication (not cool) SSH authentication (really cool !)
  7. Projects Eases management with :  Git logs (push, …)

     Statistics (branches, tags, commits, …)  File review with history & blame system  “Network” overview of branching system  Issues tracker  Merge requests  Wiki
  8. Merge Request & Code Review GitLab eases merging by Merge

    Request  Merge Request can be commented (That’s called Code Review)  The “diff” view shows differences between old and new version of files  Comments can be posted on each line of the diff, helping code improvement  The merge can be processed by a single click on the “accept merge” button
  9. More cool stuff Gitlab provides API (see the doc) Some

    cool guys created API layers for PHP, Java & co