[3.2.0] Changelog (#3303)

* changelog

* refs
This commit is contained in:
Michael H
2020-01-09 12:59:55 -05:00
committed by GitHub
parent a9d3e271b0
commit d3e8d99bdf
326 changed files with 596 additions and 429 deletions

View File

@@ -1 +0,0 @@
Downloader will now check if Python and bot version match requirements in ``info.json`` during update.

View File

@@ -1 +0,0 @@
Added :func:`redbot.cogs.downloader.installable.InstalledModule` to Downloader's framework docs.

View File

@@ -1 +0,0 @@
User can now pass multiple cog names to ``[p]cog install``.

View File

@@ -1 +0,0 @@
When passing cogs to ``[p]cog update`` command, it will now only update those cogs, not all cogs from the repo these cogs are from.

View File

@@ -1 +0,0 @@
Added ``[p]repo update [repos]`` command that allows you to update repos without updating cogs from them.

View File

@@ -1 +0,0 @@
Added ``[p]cog installversion <repo_name> <revision> <cogs>`` command that allows you to install cogs from specified revision (commit, tag) of given repo. When using this command, the cog will automatically be pinned.

View File

@@ -1 +0,0 @@
Added ``[p]cog pin <cogs>`` and ``[p]cog unpin <cogs>`` for pinning cogs. Cogs that are pinned will not be updated when using update commands.

View File

@@ -1 +0,0 @@
Added ``[p]cog checkforupdates`` command that will tell which cogs can be updated (including pinned cog) without updating them.

View File

@@ -1 +0,0 @@
Added ``[p]cog updateallfromrepos <repos>`` command that will update all cogs from given repos.

View File

@@ -1 +0,0 @@
Added ``[p]cog updatetoversion <repo_name> <revision> [cogs]`` command that updates all cogs or ones of user's choosing to chosen revision of given repo.

View File

@@ -1,4 +0,0 @@
Added :func:`redbot.cogs.downloader.installable.InstalledModule` which is used instead of :func:`redbot.cogs.downloader.installable.Installable` when we refer to installed cog or shared library.
Therefore:
- ``to_json`` and ``from_json`` methods were moved from :func:`redbot.cogs.downloader.installable.Installable` to :func:`redbot.cogs.downloader.installable.InstalledModule`
- return types changed for :func:`redbot.cogs.downloader.converters.InstalledCog.convert`, :func:`redbot.cogs.downloader.downloader.Downloader.installed_cogs`, :func:`redbot.cogs.downloader.repo_manager.Repo.install_cog` to use :func:`redbot.cogs.downloader.installable.InstalledModule`.

View File

@@ -1 +0,0 @@
Made regex for repo names use raw string to stop ``DeprecationWarning`` about invalid escape sequence.

View File

@@ -1 +0,0 @@
Downloader will no longer allow to install cog that is already installed.

View File

@@ -1 +0,0 @@
Added ``pytest-mock`` requirement to ``tests`` extra.

View File

@@ -1 +0,0 @@
Added error messages for failures during installing/reinstalling requirements and copying cogs and shared libraries.

View File

@@ -1 +0,0 @@
Added more Downloader tests for Repo logic and git integration. New git tests use a test repo file that can be generated using new tool at ``tools/edit_testrepo.py``.

View File

@@ -1 +0,0 @@
Repo names can now only contain the characters listed in the help text (A-Z, 0-9, underscores, and hyphens).

View File

@@ -1 +0,0 @@
findcog no longer attempts to find a cog for commands without one.

View File

@@ -1 +0,0 @@
Downloader will no longer allow to install cog with same name as other that is installed.

View File

@@ -1 +0,0 @@
Catch errors if remote repository or branch is deleted, notify user which repository failed and continue updating others.

View File

@@ -1 +0,0 @@
`RepoManager.update_all_repos` replaced by new method `update_repos` which additionally handles failing repositories.

View File

@@ -1 +0,0 @@
Added `Downloader.format_failed_repos` for formatting error message of repos failing to update.

View File

@@ -1 +0,0 @@
Send deprecation warning when using install and update commands if the repos installed/updated cogs are from have shared libraries.

View File

@@ -1 +0,0 @@
Use sanitized url (without HTTP Basic Auth fragments) in `[p]findcog` command.

View File

@@ -1 +0,0 @@
Add `clean_url` property to :class:`redbot.cogs.downloader.repo_manager.Repo` which contains sanitized repo URL (without HTTP Basic Auth).

View File

@@ -1 +0,0 @@
Make :attr:`redbot.cogs.downloader.repo_manager.Repo.clean_url` work with relative urls. This property uses `str` type now.

View File

@@ -1 +0,0 @@
Fixed an error on repo add from empty string values for the `install_msg` info.json field.

View File

@@ -1 +0,0 @@
Disable all git auth prompts when adding/updating repo with Downloader.

View File

@@ -1 +0,0 @@
Ensure consistent output from git commands for purpose of parsing.

View File

@@ -1 +0,0 @@
Added `[p]cog reinstallreqs` command that allows to reinstall cog requirements and shared libraries for all installed cogs.

View File

@@ -1 +0,0 @@
Downloader will no longer show update for a cog if the latest version is disabled through ``info.json`` file.

View File

@@ -1 +0,0 @@
``[p]findcog`` now properly works for cogs with less typical folder structure.

View File

@@ -1 +0,0 @@
``[p]cog uninstall`` now fully unloads cog - bot will not try to load it on next startup.

View File

@@ -1 +0,0 @@
``[p]repo info`` will now show repo's url, branch and authors.

View File

@@ -1 +0,0 @@
``[p]cog info`` will now show cog authors.

View File

@@ -1 +0,0 @@
``[p]findcog`` will now show repo's branch.

View File

@@ -1 +0,0 @@
Fix `UnboundLocalError` in cog update that happened when cogs were already up-to-date.

View File

@@ -1 +0,0 @@
Remove API Reference for Downloader cog.

View File

@@ -1 +0,0 @@
Fix `AttributeError` in ``[p]findcog`` for cogs that weren't installed through Downloader.

View File

@@ -1 +0,0 @@
Fix `NameError` in :func:`redbot.cogs.downloader.downloader.Downloader._filter_incorrect_cogs_by_names()`.

View File

@@ -1 +0,0 @@
Move handling of ``author`` key in ``info.json`` to :func:`redbot.cogs.downloader.json_mixins.RepoJSONMixin`.