<?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: Thomas</title>
    <description>The latest articles on DEV Community by Thomas (@dsystem).</description>
    <link>https://dev.to/dsystem</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%2F256771%2Fe0ff22b8-fe7b-4061-bfaa-1c2edeeb8959.jpeg</url>
      <title>DEV Community: Thomas</title>
      <link>https://dev.to/dsystem</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dsystem"/>
    <language>en</language>
    <item>
      <title>Rspec: too many failing tests → `--fail-fast`</title>
      <dc:creator>Thomas</dc:creator>
      <pubDate>Fri, 17 Jul 2020 03:13:09 +0000</pubDate>
      <link>https://dev.to/dsystem/rspec-too-many-failing-tests-fail-fast-1dom</link>
      <guid>https://dev.to/dsystem/rspec-too-many-failing-tests-fail-fast-1dom</guid>
      <description>&lt;p&gt;A simple solution is to fix them one by one and stop Rspec.&lt;/p&gt;

&lt;p&gt;Of course there's an option for that: &lt;code&gt;rspec --fail-fast&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You can use the configuration file:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight ruby"&gt;&lt;code&gt;&lt;span class="no"&gt;RSpec&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;configure&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;|&lt;/span&gt;
  &lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;fail_fast&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="kp"&gt;true&lt;/span&gt;
&lt;span class="k"&gt;end&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



</description>
      <category>ruby</category>
      <category>testing</category>
      <category>rails</category>
    </item>
    <item>
      <title>Mono-repo: merge 2 git repositories</title>
      <dc:creator>Thomas</dc:creator>
      <pubDate>Mon, 06 Jul 2020 07:38:26 +0000</pubDate>
      <link>https://dev.to/dsystem/mono-repo-merge-2-git-repositories-3bkp</link>
      <guid>https://dev.to/dsystem/mono-repo-merge-2-git-repositories-3bkp</guid>
      <description>&lt;p&gt;First to avoid conflicts, move all files (including dotfiles) into a subfolder and commit.&lt;/p&gt;

&lt;p&gt;Then merge the 2 repositories with the example script below (from: &lt;a href="https://stackoverflow.com/a/10548919/856151"&gt;https://stackoverflow.com/a/10548919/856151&lt;/a&gt;).&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;cd &lt;/span&gt;path/to/project-b
git remote add project-a path/to/project-a
git fetch project-a &lt;span class="nt"&gt;--tags&lt;/span&gt;
git merge &lt;span class="nt"&gt;--allow-unrelated-histories&lt;/span&gt; project-a/master &lt;span class="c"&gt;# or whichever branch you want to merge&lt;/span&gt;
git remote remove project-a
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;



&lt;p&gt;&lt;code&gt;--allow-unrelated-histories&lt;/code&gt; is the "keyword" since Git 2.9.&lt;/p&gt;

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