From: Ingo Ruhnke Date: Sun, 22 Mar 2015 14:56:16 +0000 (+0100) Subject: Updated addon repository URL and improved debug output on download X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;ds=inline;p=supertux.git Updated addon repository URL and improved debug output on download --- diff --git a/src/addon/addon_manager.cpp b/src/addon/addon_manager.cpp index 43e149012..7266c3e5e 100644 --- a/src/addon/addon_manager.cpp +++ b/src/addon/addon_manager.cpp @@ -84,7 +84,7 @@ AddonManager::AddonManager(const std::string& addon_directory, std::vector& addon_config) : m_downloader(), m_addon_directory(addon_directory), - m_repository_url("http://addons.supertux.googlecode.com/git/index-0_4_0.nfo"), + m_repository_url("https://raw.githubusercontent.com/SuperTuxTeam/addons/master/index-0_4_0.nfo"), m_addon_config(addon_config), m_installed_addons(), m_repository_addons(), diff --git a/src/addon/downloader.cpp b/src/addon/downloader.cpp index 7c51d8404..905dd2b5d 100644 --- a/src/addon/downloader.cpp +++ b/src/addon/downloader.cpp @@ -248,6 +248,7 @@ Downloader::download(const std::string& url) void Downloader::download(const std::string& url, const std::string& filename) { + log_info << "download: " << url << " to " << filename << std::endl; std::unique_ptr fout(PHYSFS_openWrite(filename.c_str()), PHYSFS_close); download(url, my_curl_physfs_write, fout.get()); @@ -363,6 +364,7 @@ Downloader::update() TransferStatusPtr Downloader::request_download(const std::string& url, const std::string& outfile) { + log_info << "request_download: " << url << std::endl; std::unique_ptr transfer(new Transfer(*this, m_next_transfer_id++, url, outfile)); curl_multi_add_handle(m_multi_handle, transfer->get_curl_handle()); m_transfers.push_back(std::move(transfer));