Closed teamon closed 10 years ago
:+1: this IS our workflow
:+1:
So... dev
is just staging
, but only for merges and deploys?
So dev
is not needed. It does not reflect any environment. If you have more stages like e.g. demo
you will have also branch demo
etc.
Ah, wait. master
branch is now a dev
branch, yes?
So I see one case when dev
branch can be temporally introduced - when you need - for any specific reason - freeze the master branch, but do not want to stop devs working.
Still - we should discuss do we need merge into master, or just rebase is ok? I'm still not sure :confused:
master
is not dev
. You do not commit directly to master
.
I'm ok with rebase, but you have to be very careful with it.
Workflow:
push --force
Still... you need others devs work, and you can get it only from master (never ever pull from staging). So master is kind of dev :)
Other devs work can live only in other (or the same as yours) feature branch.
Ok, I got it.
staging
- do not fear to delete this branch, push
with --force
. No one ever is allowed to merge from this branch, this is only for deployment on stagingmaster
and then delete the feature branches from both remote (gh) and local repos.Is it correct? @Ostrzy @teamon
Exactly what was said
:shipit: @teamon
I know @sheerun and @jcieslar have some different opinion on this subject - I'm waiting for them
@sheerun @jcieslar ?
Please take in account that we have somehow agreed for the next
branch with ready rebased feature branches that are not yet pushed to production
I'll make presentation next time.
On Fri, Oct 25, 2013 at 1:09 AM, Tymon Tobolski notifications@github.comwrote:
@sheerun https://github.com/sheerun @jcieslarhttps://github.com/jcieslar?
Please take in account that we have somehow agreed for the next branch with ready rebased feature branches that are not yet pushed to production
— Reply to this email directly or view it on GitHubhttps://github.com/monterail/guidelines/issues/174#issuecomment-27041119 .
Please define "next time"
The time we agreed to make presentations.
On Fri, Oct 25, 2013 at 1:07 PM, Tymon Tobolski notifications@github.comwrote:
Please define "next time"
— Reply to this email directly or view it on GitHubhttps://github.com/monterail/guidelines/issues/174#issuecomment-27082174 .
When it's plenty of feature branches next
is good idea but finaly we don't need to have dev branch.
Actually it depends on deployment frequency. Imho it should be always used. For example you don't want to merge staging to master. And always there are some already tested features (next), tested features (staging) and pending testing (feature branches).
On Fri, Oct 25, 2013 at 6:50 PM, Jakub Cieslar notifications@github.comwrote:
When it's plenty of feature branches next is good idea but finaly we don't need to have dev branch.
— Reply to this email directly or view it on GitHubhttps://github.com/monterail/guidelines/issues/174#issuecomment-27107984 .
@monterail Do we agree on everything from my git presentation?
https://docs.google.com/presentation/d/1dLXV0KU1c-mLx74aijhkO8tJnsBPci_t_DsZUrVZTrM/edit?usp=sharing
Yes.
Closing in favour of https://github.com/monterail/guidelines/issues/197
staging
- do not fear to delete this branch, push with--force
. No one ever is allowed to pull this branch, this is only for deployment on stagingdev
/develop
branch is useless, delete it asap