php - can you make my life easier working this way? (large code base and patching issue) -
so working on large code base, more 3000 files, more 1 million lines of code , more 500+ tables.
though not issue. issue here is, when new feature required, work on locally on machine , when time comes update/patch our live production:
- i ssh our prod server
- i navigate directory, , open file patch
- i copy , paste??? omg
anyway, here take, please suggest if guys have alternatives or more comfortable of doing this
first, migrate git. (we're in svn)
everytime make release, branch out in our git repo, , clone new copy in our prod server (right branch in svn, , svn export, copy target dir
when patching server new feature, can go target repo/release, , git pull?? or should go git patch?
this how envision more simpler life.
would guys come easier this?
i think on right track. did similar.
i have 2 branches.
master -> holds latest in dev production -> holds latest in production
when need make change prod, branch production branch, make changes , merge in production branch. gives me option work on multiple features @ same time.
then log on box , git pull
.
of course bigger problem here php there no such thing package there java (war packages). :( sure pain.
i wish more can't think of else make life easier.
Comments
Post a Comment