Pairjour

582 views

Published on

Git hackery + Gitjour + Pair programming

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Pairjour

  1. 1. Pairjour Git + Gitjour + Pair programming Taylor Luk idealian
  2. 2. Pair programming • Pair programming is an agile software development technique in which two programmers work together at one work station. One types in code while the other reviews each line of code as it is typed in. The person typing is called the driver. The person reviewing the code is called the observer (or navigator[1]). The two programmers switch roles frequently.
  3. 3. One way to do this • Driver : john, Navigator: taylor • 30 mins • Driver : Taylor, Navigator: john • 30 mins • ....
  4. 4. setup (cool vs cheap) • Big monitor (30”, 27” imac) • teleport (remote control app for mac) • 2 laptops and work on the same workstation
  5. 5. Example : Hashrocket • Mac mini + 30 inch cinema display • 2 laptops • teleport
  6. 6. Problem • ideally upon switch, driver will take over the big screen or shared workstation • source code management issue • may be • git commit && git push • share file system
  7. 7. git it • git • gitjour Automates DNSSD-powered serving and cloning of git repositories • local network push/pull Upon role switch driver - commit the code in git navigator - pull the code from driver
  8. 8. Say hello to pairjour • git + gitjour + git command line hacks • github.com/idealian/pairjour
  9. 9. How it works • pairjour start [project name] • start git daemon • switch to pairing local branch • pairjour switch • discover potential local git repo • local git commit • pull from pair partner • pairjour finish
  10. 10. How it works - cont.. • start - both user enters • cd myapp • pairjour start myapp • john (driver), taylor (navigate) • john codes for 30mins • switch • pairjour switch
  11. 11. Limitations • Not Ruby 1.9 compat (DNSSD gem) • Discovery mostly instant (but chocks some times ) • pre-alpha code
  12. 12. Questions • discussion • let’s talk • contributor
  13. 13. Thank you • email: taylor.luk@idealian.net • github: speedmax • twitter : @taylor_luk, @idealian • blog : www.taylorluk.com • company: idealian.net

×