From da97c29237f1bee8f46aa0523db19cf7becc7bdf Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre <dbalexandre@gmail.com> Date: Mon, 27 Mar 2017 21:01:03 -0300 Subject: [PATCH 1/2] Fetch repositories with --quiet option by default This will allow us to prevent deadlocks when dealing with extremely long outputs from `git fetch`. All the pipes (stdin, stdout, and stderr) have limited buffers, and when one fills up, everything is going to stop. --- lib/gitlab_projects.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/gitlab_projects.rb b/lib/gitlab_projects.rb index 505b49e..eec8a2b 100644 --- a/lib/gitlab_projects.rb +++ b/lib/gitlab_projects.rb @@ -207,6 +207,7 @@ class GitlabProjects cmd = %W(git --git-dir=#{full_path} fetch #{@name}) cmd << '--prune' cmd << '--force' if forced + cmd << '--quiet' cmd << tags_option pid = Process.spawn(*cmd) -- GitLab From 579fcfaf074459e7bda5a755ba6173c57713a15d Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre <dbalexandre@gmail.com> Date: Mon, 27 Mar 2017 21:01:09 -0300 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index e098a72..8622707 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +v5.0.1 + - Fetch repositories with `--quiet` option by default + v5.0.0 - Remove support for git-annex -- GitLab