You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by se...@apache.org on 2020/07/02 13:40:24 UTC
[whimsy] branch master updated: Skip letsencrypt workspace if
certbot present
This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9dcbeae Skip letsencrypt workspace if certbot present
9dcbeae is described below
commit 9dcbeae719e113862bcc17b34850a1ac13c1e432
Author: Sebb <se...@apache.org>
AuthorDate: Thu Jul 2 14:40:14 2020 +0100
Skip letsencrypt workspace if certbot present
---
Rakefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Rakefile b/Rakefile
index b7b2c2a..3516483 100644
--- a/Rakefile
+++ b/Rakefile
@@ -292,6 +292,10 @@ namespace :git do
require 'uri'
base = URI.parse('git://git.apache.org/')
gitrepos.each do |name, description|
+ if name == 'letsencrypt' and not `which certbot`.empty?
+ puts "Skipping git:pull of #{name} because certbot is installed"
+ next
+ end
branch = description['branch']
puts