<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jason Gabler</title>
    <description>The latest articles on DEV Community by Jason Gabler (@jasongabler).</description>
    <link>https://dev.to/jasongabler</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F36937%2Fc7e3b609-ba2a-4791-88ac-90d7b1299340.jpg</url>
      <title>DEV Community: Jason Gabler</title>
      <link>https://dev.to/jasongabler</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/jasongabler"/>
    <language>en</language>
    <item>
      <title>Straight Outta VCS</title>
      <dc:creator>Jason Gabler</dc:creator>
      <pubDate>Fri, 02 Oct 2020 18:59:36 +0000</pubDate>
      <link>https://dev.to/jasongabler/straight-outta-vcs-15fd</link>
      <guid>https://dev.to/jasongabler/straight-outta-vcs-15fd</guid>
      <description>&lt;p&gt;I run my production software from production branch, working copies.  I have been told many times that this is a grave sin. Yet, I have been doing this for over six years in my current gig (out of twenty-eight years as a professional), which includes scores of deployments to production and hundreds to stage, without a single problem related to this practice.&lt;/p&gt;

&lt;p&gt;At my most previous job, I was required to export from our VCS (initially svn and then git) to generate the executable production copy. All this seemed to do was to add extra steps to deployment, making more room for mistakes or things to break. It also made hot fixes that required work on the production platform (for example, as the very last resort when the error cannot be replicated anywhere else) frustrating and unnecessarily complex right during the middle of a time when developers or devops need be the least distracted. &lt;/p&gt;

&lt;p&gt;The only argument I've encountered against this practice that was even slightly compelling to me is that I might mistakingly deploy updates from that branch. Well, what if I were to mistakenly do anything? I can do a lunkheaded export from git just as easily as I can do a lunkheaded update from git. From what I can see, rolling back, moving among branches, etc., are far easier to intentionally accomplish with my scheme and yet no more or less as error prone than any other scheme. After all, I do not merge into my production branch until stringent testing and multiple sign-offs have been collected through dev and stage.&lt;/p&gt;

&lt;p&gt;What do you think?&lt;/p&gt;

&lt;p&gt;Allow me to finish by saying that I'm not intending this to be a discussion that intersects this question with the larger topic of deployment strategies, such as using things like Docker or various forms of CI, and so on. We're just talking VCS, keeping it simple and focused.&lt;/p&gt;

&lt;p&gt;Thanks for taking a look.&lt;/p&gt;

</description>
      <category>vcs</category>
      <category>deployment</category>
      <category>git</category>
    </item>
  </channel>
</rss>
