DeArmond.net

Thoughts, adventures, projects, and photography by Shawn DeArmond

Drupal Development Workflow with Git

November 12, 2012 - 11:34am -- Shawn

At the 2012 Bay Area Drupal Camp, I presented a session laying out a possible dev-test-live development workflow branching model using Git. This continues on from the session I presented last year, Beginning Git.

This presentation borrowed heavily from two sources: First, an article on a successful Git branching model that describes, among other things, the process for maintaining a useful dev branch, and allowing feature and bug fix branches to always branch off of that one. The second source is a class I helped develop for Chapter Three called Drupal Development Best Practices. Much of this session is covered in that class. Conveniently enough, Chapter Three is offering the class next month.

It's important to note that this is by no means the Only Way to do this. In fact, shortly following my presentation at BADCamp, I had several great discussions from other people who use other strategies. It was so neat to hear what people are doing with their own workflow. One person said that they prefer using tags for the Test and Live code pushes instead of separate branches. That's not a bad idea.

Git is so flexible that you can really make it work for you however you can work best. The most important thing, though, is to spend some time to develop (and document) a standard workflow that your whole team can follow. And then stick with it. SVN was easy: just use Trunk. Git is so exceedingly powerful that it can be ridiculously confusing if you are jumping into a team and don't know the workflow. It's too easy to screw it all up for everybody.

I made a screencast of the presentation, but I'm having trouble embedding it, so you'll have to settle for link to Vimeo for now.

Comments

Submitted by Christopher Dunning on

Hi Shawn,

I watched the screencast of this talk on Vimeo and found it extremely helpful. Thank you so much for making it available.

It seems at the end like you were going to discuss using Backup and Migrate but you ran out of time.

I have experimented a little with the module and it looks great, but I have a question about it and the workflow you describe in the Vimeo video.

If you are using B&M to move the database from live to test to dev, doesn't that also mean you are moving the user tables? I am working on a production site that has a bunch of users, both official contributors and public users. We won't advertise the test site address, but if someone were to find it they would be able to log in, right? How do you deal with this issue? Or if you are testing something that sends emails to all users of a certain type, and the user database is duplicated, you wouldn't have a proper testing environment.

Am I looking for trouble where none is likely to occur? Or is it just a matter of excluding the user tables when you do the backup and migrate? Or does that cause other problems?

Thanks for any help.

And thanks again for the great screencast.

Submitted by Ross00 on

Good contant have about Drupal Development Workflow with Git in this article. I like to know about Drupal Development which look like Wrodpress or Magento. So, it's easy for us to understand it and such articles help to know the different funtionalities of it. Actually, I also try to know about http://masterpapers.net/write-my-essay-for-me-cheap and this will good for me that i came here and got some useful points.

Submitted by CarolineSmith on

Structure a great Drupal website can be a complex and daunting development. There are several manufacturing, project and other possibilities connected with it. When it derives to structure Drupal sites through a team of designers, there's perhaps unknown more significant than creating a productive workflow. I am sure this information is useful for my students who are come to seek <a href="http://www.qualityassignment.co.uk/services/assignment-editing-services/... assignment editing services</a> at education consultancy. I also share this post with my academic team writer and recommend to more people.

Excellent screencast, Thank you!

Are you planing to do a screencast about data migration between different environments you gave as an example (dev/test/live) any time soon?

Submitted by levis on

Drupal advancement is effective among alternate CMS. Drupal most recent form has extremely rich arrangement of elements and functionalists. You can check with Drupal.org most recent Drupal overhauls.

Right hеre is the rіght site for anybody wһo would like to find ᧐ut about this topic.
You гealize a whole lot its almost hard
to argᥙe with you (not that I really will need to…HaHa).
You certainly put a new spin on a topіc which has been written about for years.
Great stuff, just wonderfսl!

Submitted by Harry on

Education is very important for all of us and we all have to get higher education. This post is related to education which is about Drupal Development Workflow with Git. I am very happy to read this post and I will must share it with others.Get Coir Matting from http://coirmattinguk.co.uk/coir-matting.html

Submitted by Abdul-Wadood on

Tips Regarding Gifts Packing contain this post. A lot of amazing ideas which make the process of Gifts packing is great. Packing in a good way is very necessary when we give a gift to anyone. Therefore, a lot of people are worry about such packing because they don't have idea of Packing like discussed in this article. However, I try to know about a site which is http://essaymama.org but here good effort done by the author of this article for us.

Then and Now

Ten a long time back, a lookup for genuine estate would have started
out in the workplace of a local authentic estate agent or by just driving all around town. At
the agent's workplace, you would spend an afternoon flipping by way of web pages of lively property
listings from the regional Many Listing Provider (MLS). Right after choosing homes of curiosity, you would commit
several months touring every assets right up until you found the correct one.
Locating market place information to allow you to assess the inquiring value
would get more time and a ton a lot more driving, and you still might not be equipped
to obtain all of the facts you necessary to get truly at ease with a truthful marketplace benefit.

Today, most residence searches start out on the
Net. A speedy search phrase lookup on Google
by locale will probable get you hundreds of results.
If you location a assets of desire on a genuine
estate net web-site, you can usually see shots on-line and perhaps even take a virtual
tour. You can then check other Web web-sites, this sort of as the local county assessor, to get an notion of the property's
benefit, see what the current proprietor paid out for
the house, check out the true estate taxes, get census details, college info,
and even examine out what retailers are inside walking
length-all with out leaving your dwelling!

While the means on the Internet are effortless and valuable, utilizing them adequately can be a obstacle for
the reason that of the volume of information and facts and the difficulty in verifying its precision. At the time of creating, a lookup of "Denver true estate" returned two,
670,000 Web websites. Even a neighborhood specific research for real estate can conveniently return thousands of World wide web
sites. With so quite a few means on the web how does
an investor efficiently use them without the need of
finding bogged down or winding up with incomplete or
poor facts? Believe that it or not, being familiar with how the enterprise of authentic estate works offline would make it easier to
comprehend on line serious estate information and facts and approaches.

The Company of Serious Estate

Actual estate is usually purchased and bought either through a accredited
true estate agent or specifically by the owner. The huge majority is purchased and bought by means
of authentic estate brokers. (We use "agent" and "broker" to refer to
the identical experienced.) This is because of to their serious estate know-how and working experience and,
at the very least historically, their exclusive
access to a database of active homes for sale.
Access to this database of residence listings presented the most productive
way to research for qualities.

The MLS (and CIE)

The databases of residential, land, and scaled-down profits producing homes
(which include some commercial homes) is frequently
referred to as a various listing company
(MLS). In most circumstances, only homes shown by member real
estate agents can be additional to an MLS. The main intent of an MLS is to empower the
member authentic estate brokers to make presents of compensation to other member brokers if
they come across a consumer for a residence.

This applications did not include enabling the immediate publishing of the MLS information and facts to the public periods alter.
Right now, most MLS info is instantly available to
the public over the Net in numerous different forms.

Magnificent beat ! I wish to apprentice while you amend your web site,
how could i subscribe for a blog website? The account helped me
a acceptable deal. I had been a little bit acquainted of
this your broadcast provided bright clear concept

Submitted by primepapers on

Drupal Development Workflow with Git is now become very easy, effective and safe. Just need to have clear information about Drupal Develpment and Git like this article contain not only information but names of sources also have this article. I think https://getessayreview.wordpress.com/ this website little help to getting some more ideas related to that topic.

The writers working for this company go out of the way to give the perfect solution to students and offer them the premier assignment help facility.

Submitted by Gji on

This is really informative article, and i like the way you have explained

Submitted by kai johnson on

The information you have shared is really interesting. I appreciate the fact that you took the effort and the time to post here. Many people will surely appreciate this

Submitted by ice cream on

Hello, this weekend is nice designed for me, because this time i am reading this impressive informative piece of
writing here at my house.

Submitted by awriter.org on

Loved to read your blog. I would like to suggest you that traffic show most people read blogs on Mondays. So it should encourage blogger to write new write ups over the weekend primarily.
Great post! Interesting information and cute writing style. 

Hello, i read your blog from time to time and i own a similar one, thanks for sharing this article. This article will be very useful and helpful. Read and understand the article and you will get a brilliant idea. I will share this information with my friends and they will certainly love to read this. Very informative, I’ll definitely give these 5 stars

I've been browsing online more than three hours today, yet I never found any interesting article like yours.

It is pretty worth enough for me. In my opinion, if all website
owners and bloggers made good content as you did, the internet
will be much more useful than ever before.

I truly delighted in perusing this post, huge fan. Keep doing awesome me when would you be able to distribute more articles or where would I be able to peruse more on the subject?

I truly appreciate this post. I’ve been looking everywhere for this! Thank goodness I found it on Bing. You’ve made my day! Thank you again! - See more at: MrX4D

Great contant have about Drupal Development Workflow with Git in this article. I jump at the chance to think about Drupal Development which look like Wrodpress or Magento. Structure an awesome Drupal site can be an intricate and overwhelming improvement. There are a few assembling, extend and different potential outcomes associated with it please visit our website.. http://www.groovyessays.com/

Undeniably believe that that you said. Your favourite reason appeared to be on the web the easiest thing to
be aware of. I say to you, I certainly get irked
even as other folks think about concerns that they plainly do not realize about.
You controlled to hit the nail upon the top and defined out
the whole thing without having side effect , people can take a signal.
Will likely be again to get more. Thanks

Pages

Comments

Submitted by Christopher Dunning on

Hi Shawn,

I watched the screencast of this talk on Vimeo and found it extremely helpful. Thank you so much for making it available.

It seems at the end like you were going to discuss using Backup and Migrate but you ran out of time.

I have experimented a little with the module and it looks great, but I have a question about it and the workflow you describe in the Vimeo video.

If you are using B&M to move the database from live to test to dev, doesn't that also mean you are moving the user tables? I am working on a production site that has a bunch of users, both official contributors and public users. We won't advertise the test site address, but if someone were to find it they would be able to log in, right? How do you deal with this issue? Or if you are testing something that sends emails to all users of a certain type, and the user database is duplicated, you wouldn't have a proper testing environment.

Am I looking for trouble where none is likely to occur? Or is it just a matter of excluding the user tables when you do the backup and migrate? Or does that cause other problems?

Thanks for any help.

And thanks again for the great screencast.

Submitted by Ross00 on

Good contant have about Drupal Development Workflow with Git in this article. I like to know about Drupal Development which look like Wrodpress or Magento. So, it's easy for us to understand it and such articles help to know the different funtionalities of it. Actually, I also try to know about http://masterpapers.net/write-my-essay-for-me-cheap and this will good for me that i came here and got some useful points.

Submitted by CarolineSmith on

Structure a great Drupal website can be a complex and daunting development. There are several manufacturing, project and other possibilities connected with it. When it derives to structure Drupal sites through a team of designers, there's perhaps unknown more significant than creating a productive workflow. I am sure this information is useful for my students who are come to seek <a href="http://www.qualityassignment.co.uk/services/assignment-editing-services/... assignment editing services</a> at education consultancy. I also share this post with my academic team writer and recommend to more people.

Excellent screencast, Thank you!

Are you planing to do a screencast about data migration between different environments you gave as an example (dev/test/live) any time soon?

Submitted by levis on

Drupal advancement is effective among alternate CMS. Drupal most recent form has extremely rich arrangement of elements and functionalists. You can check with Drupal.org most recent Drupal overhauls.

Right hеre is the rіght site for anybody wһo would like to find ᧐ut about this topic.
You гealize a whole lot its almost hard
to argᥙe with you (not that I really will need to…HaHa).
You certainly put a new spin on a topіc which has been written about for years.
Great stuff, just wonderfսl!

Submitted by Harry on

Education is very important for all of us and we all have to get higher education. This post is related to education which is about Drupal Development Workflow with Git. I am very happy to read this post and I will must share it with others.Get Coir Matting from http://coirmattinguk.co.uk/coir-matting.html

Submitted by Abdul-Wadood on

Tips Regarding Gifts Packing contain this post. A lot of amazing ideas which make the process of Gifts packing is great. Packing in a good way is very necessary when we give a gift to anyone. Therefore, a lot of people are worry about such packing because they don't have idea of Packing like discussed in this article. However, I try to know about a site which is http://essaymama.org but here good effort done by the author of this article for us.

Then and Now

Ten a long time back, a lookup for genuine estate would have started
out in the workplace of a local authentic estate agent or by just driving all around town. At
the agent's workplace, you would spend an afternoon flipping by way of web pages of lively property
listings from the regional Many Listing Provider (MLS). Right after choosing homes of curiosity, you would commit
several months touring every assets right up until you found the correct one.
Locating market place information to allow you to assess the inquiring value
would get more time and a ton a lot more driving, and you still might not be equipped
to obtain all of the facts you necessary to get truly at ease with a truthful marketplace benefit.

Today, most residence searches start out on the
Net. A speedy search phrase lookup on Google
by locale will probable get you hundreds of results.
If you location a assets of desire on a genuine
estate net web-site, you can usually see shots on-line and perhaps even take a virtual
tour. You can then check other Web web-sites, this sort of as the local county assessor, to get an notion of the property's
benefit, see what the current proprietor paid out for
the house, check out the true estate taxes, get census details, college info,
and even examine out what retailers are inside walking
length-all with out leaving your dwelling!

While the means on the Internet are effortless and valuable, utilizing them adequately can be a obstacle for
the reason that of the volume of information and facts and the difficulty in verifying its precision. At the time of creating, a lookup of "Denver true estate" returned two,
670,000 Web websites. Even a neighborhood specific research for real estate can conveniently return thousands of World wide web
sites. With so quite a few means on the web how does
an investor efficiently use them without the need of
finding bogged down or winding up with incomplete or
poor facts? Believe that it or not, being familiar with how the enterprise of authentic estate works offline would make it easier to
comprehend on line serious estate information and facts and approaches.

The Company of Serious Estate

Actual estate is usually purchased and bought either through a accredited
true estate agent or specifically by the owner. The huge majority is purchased and bought by means
of authentic estate brokers. (We use "agent" and "broker" to refer to
the identical experienced.) This is because of to their serious estate know-how and working experience and,
at the very least historically, their exclusive
access to a database of active homes for sale.
Access to this database of residence listings presented the most productive
way to research for qualities.

The MLS (and CIE)

The databases of residential, land, and scaled-down profits producing homes
(which include some commercial homes) is frequently
referred to as a various listing company
(MLS). In most circumstances, only homes shown by member real
estate agents can be additional to an MLS. The main intent of an MLS is to empower the
member authentic estate brokers to make presents of compensation to other member brokers if
they come across a consumer for a residence.

This applications did not include enabling the immediate publishing of the MLS information and facts to the public periods alter.
Right now, most MLS info is instantly available to
the public over the Net in numerous different forms.

Magnificent beat ! I wish to apprentice while you amend your web site,
how could i subscribe for a blog website? The account helped me
a acceptable deal. I had been a little bit acquainted of
this your broadcast provided bright clear concept

Submitted by primepapers on

Drupal Development Workflow with Git is now become very easy, effective and safe. Just need to have clear information about Drupal Develpment and Git like this article contain not only information but names of sources also have this article. I think https://getessayreview.wordpress.com/ this website little help to getting some more ideas related to that topic.

The writers working for this company go out of the way to give the perfect solution to students and offer them the premier assignment help facility.

Submitted by Gji on

This is really informative article, and i like the way you have explained

Submitted by kai johnson on

The information you have shared is really interesting. I appreciate the fact that you took the effort and the time to post here. Many people will surely appreciate this

Submitted by ice cream on

Hello, this weekend is nice designed for me, because this time i am reading this impressive informative piece of
writing here at my house.

Submitted by awriter.org on

Loved to read your blog. I would like to suggest you that traffic show most people read blogs on Mondays. So it should encourage blogger to write new write ups over the weekend primarily.
Great post! Interesting information and cute writing style. 

Hello, i read your blog from time to time and i own a similar one, thanks for sharing this article. This article will be very useful and helpful. Read and understand the article and you will get a brilliant idea. I will share this information with my friends and they will certainly love to read this. Very informative, I’ll definitely give these 5 stars

I've been browsing online more than three hours today, yet I never found any interesting article like yours.

It is pretty worth enough for me. In my opinion, if all website
owners and bloggers made good content as you did, the internet
will be much more useful than ever before.

I truly delighted in perusing this post, huge fan. Keep doing awesome me when would you be able to distribute more articles or where would I be able to peruse more on the subject?

I truly appreciate this post. I’ve been looking everywhere for this! Thank goodness I found it on Bing. You’ve made my day! Thank you again! - See more at: MrX4D

Great contant have about Drupal Development Workflow with Git in this article. I jump at the chance to think about Drupal Development which look like Wrodpress or Magento. Structure an awesome Drupal site can be an intricate and overwhelming improvement. There are a few assembling, extend and different potential outcomes associated with it please visit our website.. http://www.groovyessays.com/

Undeniably believe that that you said. Your favourite reason appeared to be on the web the easiest thing to
be aware of. I say to you, I certainly get irked
even as other folks think about concerns that they plainly do not realize about.
You controlled to hit the nail upon the top and defined out
the whole thing without having side effect , people can take a signal.
Will likely be again to get more. Thanks

Pages