News for hackers. Stuff that matters.
Re:Never ask who is using staging again - Introducing Diverg... by andrewhavens on Wednesday October 17, 2012 @04:40PM (#4666322)
Wow, this is pretty awesome. We run into this issue all the time. Mainly using staging for an external demo, but needing to deploy production updates before the branch on staging is ready to go live. Great work LayerVault!
Re:Never ask who is using staging again - Introducing Diverg... by joshuacc on Wednesday October 17, 2012 @02:35PM (#4665839)
This looks amazing. We've got a few QA servers, but still run into the same problem.
Re:Never ask who is using staging again - Introducing Diverg... by timothyjcoulter on Wednesday October 17, 2012 @01:58PM (#4665685)
Wow, I want this at work.
Re:Never ask who is using staging again - Introducing Diverg... by allang on Wednesday October 17, 2012 @02:04PM (#4665714)
I'd imagine that it's a QA engineer's dream. Imagine never having to worry about spinning up some brach to test. That's kinda cool.
Re:Never ask who is using staging again - Introducing Diverg... by snatcher on Wednesday October 17, 2012 @07:57PM (#4666947)
I definitely have to try it!

How do you handle migrations? What if there is a migration in the feature-1 branch which breaks other branches?

Re:Never ask who is using staging again - Introducing Diverg... by Xylakant on Thursday October 18, 2012 @11:25AM (#4669192)
what happens with changes that have impact on the datastore such as adding migrations? Do those get executed when the appropriate branch gets checked out? What happens when two branches create conflicting changes in the datastore?
Re:Never ask who is using staging again - Introducing Diverg... by kellysutton on Thursday October 18, 2012 @05:47PM (#4671281)
At LayerVault, each migration always happens on its own branch separate from the feature. We've been operating like that since day 1, and it hasn't been an issue yet.
Re:Never ask who is using staging again - Introducing Diverg... by peeja on Saturday October 20, 2012 @01:44PM (#4677668)
That's really interesting. Have you or someone else written up that workflow?
Re:Never ask who is using staging again - Introducing Diverg... by linjunpop on Thursday October 18, 2012 @11:40PM (#4672183)
Does it support subdomains?

aaa.staging1.example.com api.staging2.example.com