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

Ask for confirmation when path passed to addpath seems incorrect #6330

Conversation

Jackenmen
Copy link
Member

Description of the changes

This is one of the most common issues encountered by beginner cog creators trying to use [p]addpath, let's try to nudge them in the right direction!

Suggestions on the message's content welcome, the distance between the question and the buttons doesn't sit right with me but I wasn't sure how to address this. Would it make sense to repeat the question?

Have the changes in this PR been tested?

Yes

@Jackenmen Jackenmen added the Type: Enhancement Something meant to enhance existing Red features. label Mar 27, 2024
@Jackenmen Jackenmen added this to the 3.5.8 milestone Mar 27, 2024
@github-actions github-actions bot added Category: Docs - For Developers This is related to developer (cog creator) documentation. Category: Core - Other Internals This is related to core internals that don't have a dedicated label. labels Mar 27, 2024
@yamikaitou
Copy link
Contributor

What about adding on to this to make sure the path isn't within the Data or Install paths?

@Jackenmen
Copy link
Member Author

What about adding on to this to make sure the path isn't within the Data or Install paths?

Good idea, I disallowed anything under data and core paths completely (the install path is part of the data path).

@Flame442 Flame442 self-assigned this Mar 27, 2024
@Flame442 Flame442 merged commit 2ae1eb9 into Cog-Creators:V3/develop Mar 27, 2024
17 checks passed
@red-githubbot red-githubbot bot added the Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. label Mar 27, 2024
@Jackenmen Jackenmen deleted the ask_for_confirmation_on_potentially_incorrect_addpath branch March 27, 2024 05:10
@Jackenmen Jackenmen modified the milestones: 3.5.9, 3.5.8 Mar 30, 2024
@Jackenmen Jackenmen added Changelog Entry: Added Changelog entry for this PR has already been added to changelog PR. and removed Changelog Entry: Pending Changelog entry for this PR hasn't been added by repo maintainers yet. labels Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core - Other Internals This is related to core internals that don't have a dedicated label. Category: Docs - For Developers This is related to developer (cog creator) documentation. Changelog Entry: Added Changelog entry for this PR has already been added to changelog PR. Type: Enhancement Something meant to enhance existing Red features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants