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

How Gitlab Works

Saito
November 18, 2012

How Gitlab Works

RubyConfChina presentation.

Saito

November 18, 2012
Tweet

More Decks by Saito

Other Decks in Technology

Transcript

  1. issues code snippet ssh & http wall ... code view

    wiki network graph merge request
  2. Can be backend: file => (RW) git => (R) ssh

    => (RW) http => (RW) protocol
  3. Can be backend: file => (RW) git => (R) ssh

    => (RW) http => (RW) protocol x x
  4. Can be backend: file => (RW) git => (R) ssh

    => (RW) http => (RW) protocol x x #=> remote #=> authentication
  5. Git Encoding Strategy: At the core level, git is character

    encoding agnostic. http://www.kernel.org/pub/software/scm/git/docs/v1.5.0.2/git-log.html#_discussion
  6. Git Encoding Strategy: no need #=> blob contents need #=>

    commit message, filename IMHO: #=> hg hybird strategy & svn
  7. Ruby Encoding: detect encoding:the longer the better #=> too short

    #=> good to detect filename blob contents commit message
  8. Ruby Encoding: detect encoding:the longer the better #=> too short

    #=> good to detect #=> not long enough filename blob contents commit message
  9. Ruby Encoding: CSI USC #=> Ruby #=> Java Python Perl

    #=> Character Set Independent #=> Universal Character Set
  10. Ruby Encoding: MRI 1.8: MRI 1.9: defective encoding pros: regexp

    length cons: incompatible character encodings Encoding Class