Cog-Creators / Cog-Creators/Red-DiscordBot

Force pushing to a cog repository breaks Downloader's update functionality

Open
#5,811 0 comments 0 reactions 0 assignees View on GitHub
Category: Cogs - Downloader Status: Accepted Type: Enhancement
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

### What component of Red (cog, command, API) would you like to see improvements on?

Downloader

### Describe the enhancement you're suggesting.

When you force push to a repo and then attempt to update that repo or a cog within it, you get an error the first time and then silent failures on future attempts. Instead, Red should look at the original repo link and re-fetch the latest commit on that branch.

### Anything else?

I've mentioned this a few times before in Discord and I think @jack1142 had it planned, but figured I should make a trackable issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.