From 79de16a6acfb56dd1ab951bde9a6c21cfefd5bb1 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Mon, 31 Oct 2016 20:18:30 +0100 Subject: Fixes travis build and adds some new licenses to scanner. --- package_scanner.nim | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'package_scanner.nim') diff --git a/package_scanner.nim b/package_scanner.nim index e66417f..7d16e0b 100644 --- a/package_scanner.nim +++ b/package_scanner.nim @@ -30,6 +30,7 @@ const "Allegro 4 Giftware", "Apache License 2.0", "BSD", + "BSD2", "BSD3", "CC0", "GPL", @@ -43,7 +44,8 @@ const "WTFPL", "libpng", "zlib", - "ISC" + "ISC", + "Unlicense" ] VCS_TYPES = @["git", "hg"] @@ -59,7 +61,7 @@ proc canFetchNimbleRepository(name: string, urlJson: JsonNode): bool = url = urlJson.str try: - discard getContent(url, timeout=5000) + discard getContent(url, timeout=10000) except HttpRequestError, TimeoutError: echo "E: ", name, ": unable to fetch repository ", url, " ", getCurrentExceptionMsg() -- cgit v1.2.3