Issue #20013 has been reported by Daniel Pittman. ---------------------------------------- Bug #20013: puppetlabs_spec_helper wastes substantial time and network bandwidth recloning repos every run https://projects.puppetlabs.com/issues/20013
* Author: Daniel Pittman * Status: Unreviewed * Priority: Normal * Assignee: * Category: * Target version: * Affected Puppet version: * Keywords: * Branch: ---------------------------------------- When I use `rake spec` in a module using `puppetlabs_spec_helper` I am greeted, on every single run, with this: <pre> ⚡ rake spec Cloning into 'spec/fixtures/modules/apt'... remote: Counting objects: 949, done. remote: Compressing objects: 100% (440/440), done. remote: Total 949 (delta 555), reused 861 (delta 492) Receiving objects: 100% (949/949), 138.76 KiB, done. Resolving deltas: 100% (555/555), done. HEAD is now at e01bbb6 Merge pull request #112 from richardc/patch-1 Cloning into 'spec/fixtures/modules/mongodb'... remote: Counting objects: 117, done. remote: Compressing objects: 100% (72/72), done. remote: Total 117 (delta 35), reused 103 (delta 28) </pre> For my project, with a half dozen transitive dependencies, that runs to around 1MB of data fetched *every run*. Aside from the network cost, which is substantial and notable if you are, oh, developing somewhere that you pay by the MB for data, this also means waiting longer for the download of content than for the tests to run. That makes the cycle time pretty damn terrible. It would be much better if the code didn't automatically delete those repositories when it was done, or if that isn't practical, to at least use a shallow close one revision deep to ensure that the absolute minimum of content is transferred on each run. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-bugs?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
