Pipinstall confirmation #5617

Closed
ghost wants to merge 9 commits from pipinstall_confirmation into V3/develop
ghost commented 2022-03-14 07:34:09 +01:00 (Migrated from github.com)

Description of the changes

Adds a simple reaction confirmation to the pipinstall command.

Resolves #5614.

Have the changes in this PR been tested?

Yes

### Description of the changes Adds a simple reaction confirmation to the pipinstall command. Resolves #5614. ### Have the changes in this PR been tested? Yes
Jackenmen (Migrated from github.com) reviewed 2022-03-14 07:34:09 +01:00
ghost commented 2022-03-14 07:36:49 +01:00 (Migrated from github.com)

Apologies for the super messy commits

Apologies for the super messy commits
Drapersniper (Migrated from github.com) reviewed 2022-03-14 10:35:50 +01:00
Drapersniper (Migrated from github.com) commented 2022-03-14 10:35:50 +01:00

You are missing translation support for this string.

Red also has a humanize_list utility function which should be used when showing a list to end-users

You are missing translation support for this string. Red also has a `humanize_list` utility function which should be used when showing a list to end-users
Flame442 commented 2022-03-18 22:31:10 +01:00 (Migrated from github.com)

We are not interested in this change at this time.

As [p]pipinstall is an owner only command, the owner could do similar things using pip in console, which also does not have protections. The kinds of mistakes a quick check like this would catch are typos, which would not break the bot as they would most likely be invalid libs. The only way to actually break the bot with this command would be to change the version of an existing lib that red depends on, however this change would not prevent that as that requires entering specific lib names.

In the future to avoid this, please only work on issues labeled as "Accepted". If the issue is still in "Needs Triage", feel free to say you are interested in working on the issue, but want to know if it's something we are interested in, that way we can let you know prior to you creating the PR.

Regardless, thank you for being interested in supporting the project.

We are not interested in this change at this time. As `[p]pipinstall` is an owner only command, the owner could do similar things using `pip` in console, which also does not have protections. The kinds of mistakes a quick check like this would catch are typos, which would **not** break the bot as they would most likely be invalid libs. The only way to actually break the bot with this command would be to change the version of an existing lib that red depends on, however this change would not prevent that as that requires entering specific lib names. In the future to avoid this, please only work on issues labeled as "Accepted". If the issue is still in "Needs Triage", feel free to say you are *interested* in working on the issue, but want to know if it's something we are interested in, that way we can let you know prior to you creating the PR. Regardless, thank you for being interested in supporting the project.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
Automated PR
Blocked
Blocked By: Damage Control
Blocked By: Dependency
Blocked By: Other PR
Breaking Change
Category: CI
Category: Cogs - Admin
Category: Cogs - Alias
Category: Cogs - Audio
Category: Cogs - Bank
Category: Cogs - Cleanup
Category: Cogs - CustomCommands
Category: Cogs - Dev
Category: Cogs - Downloader
Category: Cogs - Economy
Category: Cogs - Filter
Category: Cogs - General
Category: Cogs - Image
Category: Cogs - Mod
Category: Cogs - Modlog
Category: Cogs - Mutes
Category: Cogs - Permissions
Category: Cogs - Reports
Category: Cogs - Streams
Category: Cogs - Trivia
Category: Cogs - Trivia - Lists
Category: Cogs - Warnings
Category: Core - API - App Commands Package
Category: Core - API - Audio
Category: Core - API - Bank
Category: Core - API - Commands Package
Category: Core - API - Config
Category: Core - API - Other
Category: Core - API - Utils Package
Category: Core - Bot Class
Category: Core - Bot Commands
Category: Core - Command-line Interfaces
Category: Core - Downloader
Category: Core - Help
Category: Core - i18n
Category: Core - Modlog
Category: Core - Other Internals
Category: Core - RPC/ZMQ
Category: Docker
Category: Docs - Changelogs
Category: Docs - For Developers
Category: Docs - Install Guides
Category: Docs - Other
Category: Docs - User Guides
Category: Meta
Category: RPC/ZMQ methods
Category: Vendored Packages
Changelog Entry: Added
Changelog Entry: Pending
Changelog Entry: Skipped
Closed: Duplicate
Closed: External
Closed: Invalid
Closed: User Error
Closed: Won't Fix
Complex Issue
Docs-only
Feature Branch
Good First Issue
Help Wanted
High Priority
Needs Backport To stable-docs
No Activity
No Repro
QA: Bypassed
QA: Changes Requested
QA: Passed
Release Blocker
Status: Accepted
Status: Frozen
Status: In Progress
Status: Needs Discussion
Status: Needs Info
Status: Needs Triage
Status: PRs Welcome
Type: Bug
Type: Dependency Update
Type: Deprecation
Type: Enhancement
Type: Feature
Type: Informational
Type: Merge
Type: Optimisation
Type: Question
Type: Removal
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Mrcoolgamer11/Red-DiscordBot!5617
No description provided.