From 56746ea91a88d68e5b9aa76b7ccfc20b84eb1448 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Fri, 19 Aug 2016 17:09:04 +0100 Subject: [PATCH] Update LOOT API To commit d1524b83d216efd2744b6575510bb4dbe390c102. --- CMakeLists.txt | 6 +++--- docs/usage.rst | 4 ++-- src/main.cpp | 1 - 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index cd435da..6870f9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,9 +28,9 @@ add_subdirectory(${PYBIND11_EXTRACTED_PATH}) # LOOT API ####################################### -set(LOOT_API_URL "https://bintray.com/wrinklyninja/loot/download_file?file_path=loot-api_0.9.2-30-ge40624c_c%2B%2B-api.7z") -set(LOOT_API_DOWNLOAD_PATH "${EXTERNAL_PROJECTS_PATH}/loot-api_0.9.2-30-ge40624c_c++-api.7z") -set(LOOT_API_EXTRACTED_PATH "${EXTERNAL_PROJECTS_PATH}/loot-api_0.9.2-30-ge40624c_c++-api") +set(LOOT_API_URL "https://bintray.com/wrinklyninja/loot/download_file?file_path=loot-api_0.9.2-47-gd1524b8_c%2B%2B-api.7z") +set(LOOT_API_DOWNLOAD_PATH "${EXTERNAL_PROJECTS_PATH}/loot-api_0.9.2-47-gd1524b8_c++-api.7z") +set(LOOT_API_EXTRACTED_PATH "${EXTERNAL_PROJECTS_PATH}/loot-api_0.9.2-47-gd1524b8_c++-api") if (NOT EXISTS ${LOOT_API_DOWNLOAD_PATH}) file(DOWNLOAD ${LOOT_API_URL} ${LOOT_API_DOWNLOAD_PATH}) diff --git a/docs/usage.rst b/docs/usage.rst index 479c201..9352c94 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -38,12 +38,12 @@ releases, so snapshot builds created from commits between releases may use the last release's version number, and so appear compatible, but contain breaking changes that aren't yet reflected by the version numbering. -The module is currently built against revision `e40624c`_ +The module is currently built against revision `d1524b8`_ of the API, which is post-0.9.2 and pre-0.10.0, but uses the v0.10 metadata syntax (as specified at that revision, in case there are further changes before the v0.10 release). -.. _e40624c: https://github.com/loot/loot/tree/e40624cf7498f69b9393a02572a1eaf31065df44 +.. _d1524b8: https://github.com/loot/loot/tree/d1524b83d216efd2744b6575510bb4dbe390c102 Getting a Plugin's Bash Tag Suggestions *************************************** diff --git a/src/main.cpp b/src/main.cpp index 03601e7..ff1d5d1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -102,7 +102,6 @@ PYBIND11_PLUGIN(loot_api) { .def("load_lists", &DatabaseInterface::LoadLists, "Loads the masterlist and userlist from the paths specified. Wraps :cpp:func:`LoadLists`.") .def("eval_lists", &DatabaseInterface::EvalLists, "Evaluates all conditions and regular expression metadata entries in the loaded metadata lists. Wraps :cpp:func:`EvalLists`.") .def("sort_plugins", &DatabaseInterface::SortPlugins, "Calculates a new load order for all a game's installed plugins and outputs the sorted order. Wraps :cpp:func:`SortPlugins`.") - .def("apply_load_order", &DatabaseInterface::ApplyLoadOrder, "Applies the given load order. Wraps :cpp:func:`ApplyLoadOrder`.") .def("update_masterlist", &DatabaseInterface::UpdateMasterlist, "Updates the given masterlist using the given Git repository details. Wraps :cpp:func:`UpdateMasterlist`.") .def("get_masterlist_revision", &DatabaseInterface::GetMasterlistRevision, "Gets the give masterlist's source control revision. Wraps :cpp:func:`GetMasterlistRevision`.") .def("get_plugin_tags", &DatabaseInterface::GetPluginTags, "Outputs the Bash Tags suggested for addition and removal by the database for the given plugin. Wraps :cpp:func:`GetPluginTags`.")