[SCM] ci-tooling packaging branch, master, updated. 140faea23dfb80980fb6187cad3820833debca1f
Harald Sitter
apachelogger-guest at moszumanska.debian.org
Fri Jan 15 10:12:55 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/ci-tooling.git;a=commitdiff;h=140faea
The following commit has been merged in the master branch:
commit 140faea23dfb80980fb6187cad3820833debca1f
Author: Harald Sitter <sitter at kde.org>
Date: Fri Jan 15 11:12:45 2016 +0100
remove the bloody ssh ls usage and the untested repos all nonsense
it is unused and badly designed and wont work for anyone ever anyway
'ls /' <- root? wtf, just wtf...
---
lib/projects.rb | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/lib/projects.rb b/lib/projects.rb
index faa4791..906c56b 100644
--- a/lib/projects.rb
+++ b/lib/projects.rb
@@ -280,14 +280,7 @@ class ProjectFactory
end
end
# Ultimate fallback if special type handling failed to produce repos.
- if repos.empty?
- if custom_ci['repos'] == ['all']
- repos = `ssh #{custom_ci['git_host']} ls /`.chop!.gsub!('.git', '')
- repos = repos.split(' ')
- else
- repos = custom_ci['repos']
- end
- end
+ repos = custom_ci['repos'] if repos.empty?
fail if repos.empty? # Shouldn't be empty here. Must be something wrong
# Create actual Project instances.
repos.each do |repo|
--
ci-tooling packaging
More information about the pkg-kde-commits
mailing list