Fixes travis build and adds some new licenses to scanner.

This commit is contained in:
Dominik Picheta 2016-10-31 20:18:30 +01:00
parent 8b9ee7b455
commit 79de16a6ac
2 changed files with 5 additions and 3 deletions

View File

@ -30,6 +30,7 @@ const
"Allegro 4 Giftware", "Allegro 4 Giftware",
"Apache License 2.0", "Apache License 2.0",
"BSD", "BSD",
"BSD2",
"BSD3", "BSD3",
"CC0", "CC0",
"GPL", "GPL",
@ -43,7 +44,8 @@ const
"WTFPL", "WTFPL",
"libpng", "libpng",
"zlib", "zlib",
"ISC" "ISC",
"Unlicense"
] ]
VCS_TYPES = @["git", "hg"] VCS_TYPES = @["git", "hg"]
@ -59,7 +61,7 @@ proc canFetchNimbleRepository(name: string, urlJson: JsonNode): bool =
url = urlJson.str url = urlJson.str
try: try:
discard getContent(url, timeout=5000) discard getContent(url, timeout=10000)
except HttpRequestError, TimeoutError: except HttpRequestError, TimeoutError:
echo "E: ", name, ": unable to fetch repository ", url, " ", echo "E: ", name, ": unable to fetch repository ", url, " ",
getCurrentExceptionMsg() getCurrentExceptionMsg()

View File

@ -5383,7 +5383,7 @@
], ],
"description": "A low level GPIO library for the BeagleBone board family", "description": "A low level GPIO library for the BeagleBone board family",
"license": "MIT", "license": "MIT",
"web": "https://vimeo.com/134834958" "web": "https://github.com/xyz32/boneGPIO"
}, },
{ {
"name": "ui", "name": "ui",