Skip to content

Commit 6f739fb

Browse files
committed
scraper: fix building the package
One of the depedencies updates has broke the `scraper` build [1]. Until the compatibility is restored (could happen) or scraper is updated (unlikely), just use a previous version of the dependent Go library. [1] J-Swift/thegamesdb-swagger-client-go@06967c2#commitcomment-75241057
1 parent b1aa639 commit 6f739fb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scriptmodules/supplementary/scraper.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ function depends_scraper() {
2323
function sources_scraper() {
2424
local goroot="$(_get_goroot_golang)"
2525
GOPATH="$md_build" GOROOT="$goroot" "$goroot/bin/go" get -u github.com/sselph/scraper
26+
# Use an older version of the TGDB go REST bindings, since the new one is not compatible with scraper
27+
git -C "$md_build/src/github.com/J-Swift/thegamesdb-swagger-client-go/" checkout 43ed8a0b364ed2d8521d0
2628
# manually set repo_dir for packaging info / version checking
2729
__mod_info[$md_id/repo_dir]="$md_build/src/github.com/sselph/scraper"
2830
}

0 commit comments

Comments
 (0)