git workflows for iesp

37
Git workflows for IESP

Upload: elia

Post on 22-Feb-2016

104 views

Category:

Documents


0 download

DESCRIPTION

Git workflows for IESP. Outline. Relationships of repositories Global view Individual developer view Developer work cycle Alternate, refereed model Initial set-up Handling Web2Py updates What else?. Keep it simple. Compared to Android workflow. Android Git Workflow - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Git  workflows for IESP

Git workflows for IESP

Page 2: Git  workflows for IESP

Outline• Relationships of repositories– Global view– Individual developer view

• Developer work cycle• Alternate, refereed model• Initial set-up• Handling Web2Py updates• What else?

Page 3: Git  workflows for IESP

Keep it simple

Compared to Android workflow

Page 5: Git  workflows for IESP

Relationships of repositories

Including repositories for handling Web2Py updates

Page 6: Git  workflows for IESP

web2pyEtc.

web2py web2py web2py

iesp

web2py

iesp

iespetc.

Personal computer

Web2Py distribution site

sis.cs.fsu.edu

iesp.cs.fsu.edu

etc.

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

uncommitted changes

Page 7: Git  workflows for IESP

Individual developer view

Can ignore repositories used to roll in Web2Py updates.

Page 8: Git  workflows for IESP

web2pyEtc.

web2py

iesp

web2py

iesp

iespetc.

Personal computersis.cs.fsu.edu

iesp.cs.fsu.edu

etc.

/home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

Page 9: Git  workflows for IESP

Normal developer workflow

Requires a bit of trust in one another

Page 10: Git  workflows for IESP

web2pyEtc.

web2py

etc.

sis.cs.fsu.edu

iesp.cs.fsu.edu

etc.

/home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

Page 11: Git  workflows for IESP

web2pyEtc.

web2py

web2py

etc.

Personal computersis.cs.fsu.edu

iesp.cs.fsu.edu

etc.

/home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

git clone ssh://[email protected]/home/git/iesp(called from personal computer)

Page 12: Git  workflows for IESP

web2pyEtc.

web2py

web2py

iespetc.

Personal computersis.cs.fsu.edu

iesp.cs.fsu.edu

etc.

/home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

local uncommitted changes

Page 13: Git  workflows for IESP

web2pyEtc.

web2py

web2py

iespetc.

Personal computersis.cs.fsu.edu

iesp.cs.fsu.edu

etc.

/home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

git commit(called from personal computer)

Page 14: Git  workflows for IESP

web2pyEtc.

web2py

iesp

web2py

iespetc.

Personal computersis.cs.fsu.edu

iesp.cs.fsu.edu

etc.

/home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

git push(called from personal computer)

iesp

Page 15: Git  workflows for IESP

web2pyEtc.

web2py

iesp

web2py

iesp

iespetc.

Personal computersis.cs.fsu.edu

iesp.cs.fsu.edu

etc.

/home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

git pull(called from iesp.cs.fsu.edu)

iesp

iesp

iesp

Page 16: Git  workflows for IESP

Initial set-up

Already done

Page 17: Git  workflows for IESP

web2py

Web2Py distribution site

sis.cs.fsu.edu

Page 18: Git  workflows for IESP

web2py

Web2Py distribution site

sis.cs.fsu.edu

/home/git/web2py.zip

download web2py.zip

Page 19: Git  workflows for IESP

web2py web2py

Web2Py distribution site

sis.cs.fsu.edu

/home/git/web2py

unzip web2py.zip

Page 20: Git  workflows for IESP

web2py web2py web2py

Web2Py distribution site

/home/git/web2py /home/git/iesp

git clone web2py iesp

sis.cs.fsu.edu

“origin” link

Page 21: Git  workflows for IESP

web2py

web2py web2py web2py

Web2Py distribution sitesis.cs.fsu.edu

iesp.cs.fsu.edu

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

git clone /home/git/iesp iesp.cs.fsu.edu

Page 22: Git  workflows for IESP

web2py

web2py web2py web2py

Web2Py distribution sitesis.cs.fsu.edu

iesp.cs.fsu.edu

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

git clone /home/git/iesp iesp.cs.fsu.edu

Etc.etc.etc.

local uncommitted changes

Page 23: Git  workflows for IESP

Web2Py updates

Will need to be done periodically by someone

Page 24: Git  workflows for IESP

web2py

web2py web2py web2py

Web2Py distribution site

sis.cs.fsu.edu

iesp.cs.fsu.edu

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

Page 25: Git  workflows for IESP

web2py

web2py web2py web2py

Web2Py distribution site

sis.cs.fsu.edu

iesp.cs.fsu.edu

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edunew release of Web2Py

Page 26: Git  workflows for IESP

web2py

web2py web2py

Web2Py distribution site

sis.cs.fsu.edu

iesp.cs.fsu.edu

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

download, unzip, and copy/tar

web2py

uncommitted changeds

Page 27: Git  workflows for IESP

web2py

web2py web2py web2py

Web2Py distribution site

sis.cs.fsu.edu

iesp.cs.fsu.edu

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

git commit

web2py

Page 28: Git  workflows for IESP

web2py

web2py web2py web2py

Web2Py distribution site

sis.cs.fsu.edu

iesp.cs.fsu.edu

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edu

git pull

web2py web2py web2py

orgit fetchgit rebase

Page 29: Git  workflows for IESP

web2py

web2py web2py web2py

Web2Py distribution site

sis.cs.fsu.edu

iesp.cs.fsu.edu

/home/git/web2py /home/git/iesp

/home/www/vhosts/iesp.cs.fsu.edugit pull

web2py web2py web2py

orgit fetchgit rebase

web2py

Page 30: Git  workflows for IESP

An alternate developer workflow

Introduces a repository gatekeeper

Page 31: Git  workflows for IESP

web2py

iesp

sis.cs.fsu.edu

/home/git/iesp

web2pyiesp

~/iesprepo

git clone /home/git/iesp ~/iesrepo

Developer keeps personal repository on server,readable by other team members.

Page 32: Git  workflows for IESP

web2py

iesp

web2py

iesp

Personal computersis.cs.fsu.edu

/home/git/iesp

web2pyiesp

~/iesprepo

git clone ssh://[email protected]/iesrepo

Page 33: Git  workflows for IESP

web2py

iesp

web2py

iesp

Personal computersis.cs.fsu.edu

/home/git/iesp

web2pyiesp

~/iesprepo

git commit

local changes

Page 34: Git  workflows for IESP

web2py

iesp

web2py

iesp

Personal computersis.cs.fsu.edu

/home/git/iesp

web2pyiesp

~/iesprepo

git push(from personal computer)

Page 35: Git  workflows for IESP

web2py

iesp

web2py

iesp

Personal computer

sis.cs.fsu.edu

/home/git/iesp

web2pyiesp

~/iesprepo

git pull from developer’s repository(by gatekeeper)

web2py

iesp

~gatekeeper/iesp

iesp

Page 36: Git  workflows for IESP

web2py

iesp

web2py

iesp

Personal computer

sis.cs.fsu.edu

/home/git/iesp

web2pyiesp

~/iesprepo

git push to /home/git/iesp(by gatekeeper)

web2py

iesp

~gatekeeper/iesp

iesp

iesp

Page 37: Git  workflows for IESP

Are there use cases have we missed?