You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Invoking downloader._repo_add(name, url) on an existing repo clears Installer's data on that repo, causing it to lose track of all installed cogs for purposes of updates. See here.
The text was updated successfully, but these errors were encountered:
So as I understand it - I should use list_cogs to check if the cog is available. and if so - install it with install or if not - use _repo_add as before
Perhaps. Personally, I think that it would be best to invoke the appropriate methods directly instead of going through ctx.invoke. But as long as it checks that it isn't overwriting anything, any approach that works is better than what it does now.
Invoking
downloader._repo_add(name, url)
on an existing repo clears Installer's data on that repo, causing it to lose track of all installed cogs for purposes of updates. See here.The text was updated successfully, but these errors were encountered: