Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Downloader] Repair repo function #3979

Open
2 of 3 tasks
laggron42 opened this issue Jun 16, 2020 · 1 comment
Open
2 of 3 tasks

[Downloader] Repair repo function #3979

laggron42 opened this issue Jun 16, 2020 · 1 comment
Labels
Category: Cogs - Downloader This is related to the Downloader cog. Status: Frozen We might make plans for this later. Type: Feature New feature or request.

Comments

@laggron42
Copy link
Contributor

Feature request

Select the type of feature you are requesting:

  • Cog
  • Command
  • API functionality

Describe your requested feature

I discussed a bit in #coding about a command in Downloader to repair broken repos. This may be related to the nukes recently dropped in my repo.

I'd gladly work on it, but I feel like we need to discuss about what it exactly does before I start coding. There are some questions that needs to be discussed, such as:

  • Should the repair function simply remove and readd the repo? It could run other commands, there are plenty of commands made for repair (such as reset, prune, fsck, gc or reflog), not sure if it could be useful
  • Should it attempt to repair cogs? If I take the example of my recently broken repo, people had to remove and readd the repo, then uninstall and install the codmw cog, other cogs were fine. How could the bot detect what cogs are broken and should be reinstalled?
@laggron42 laggron42 added the Type: Feature New feature or request. label Jun 16, 2020
@github-actions github-actions bot added the Status: Needs Triage This has not been labeled or discussed for handling yet. label Jun 16, 2020
@Jackenmen
Copy link
Member

I'm freezing this for now as currently I do plan to support non-matching histories and if everything works out, this would not be needed.

@Jackenmen Jackenmen added Category: Cogs - Downloader This is related to the Downloader cog. Status: Frozen We might make plans for this later. and removed Status: Needs Triage This has not been labeled or discussed for handling yet. labels Jun 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Cogs - Downloader This is related to the Downloader cog. Status: Frozen We might make plans for this later. Type: Feature New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants