Content-Length: 305508 | pFad | https://github.com/starship/starship/issues/4543

42 feat(bug-report): ask for confirmation before opening issue by davidkna · Pull Request #4543 · starship/starship · GitHub
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

feat(bug-report): ask for confirmation before opening issue #4543

Merged
merged 2 commits into from
Nov 25, 2022

Conversation

davidkna
Copy link
Member

Description

Privacy concerns have been voiced about the privacy tool (#3757). To avoid any data from being exposed unintentionally, ask for confirmation before forwarding issue reports to GitHub.
Unlike #3794, this PR avoids complexity by simply asking for confirmation instead of allowing edits of generated reports.

Motivation and Context

Closes #3757
Closes #3794

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@davidkna davidkna force-pushed the bug-report-confirmation branch 2 times, most recently from 040652b to 096ad65 Compare October 29, 2022 14:13
@davidkna davidkna force-pushed the bug-report-confirmation branch from 096ad65 to c1cc046 Compare November 22, 2022 19:15
Copy link
Member

@andytom andytom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have left some suggestions but no blockers

src/bug_report.rs Outdated Show resolved Hide resolved
src/bug_report.rs Outdated Show resolved Hide resolved
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
@andytom andytom merged commit 8bb9038 into starship:master Nov 25, 2022
@davidkna davidkna deleted the bug-report-confirmation branch November 25, 2022 17:10
@jakwings
Copy link

this PR avoids complexity by simply asking for confirmation instead of allowing edits of generated reports.

Well, I will keep using my local patch that removes this subcommand.

if input.trim().to_lowercase() == "y" {

At least the confirmation should expect an uppercase Y or YES. Why do you make it easier to begin the auto-submit process?

You can avoid a little bit more complexity by saving the (long) report to a temporary file and link to the bug tracker.

Indyandie pushed a commit to Indyandie/starship that referenced this pull request Jul 26, 2023
…#4543)

* feat(bug-report): ask for confirmation before opening issue

* Apply suggestions from code review

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>

Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Privacy concerns about automatic starship bug-report
3 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/starship/starship/issues/4543

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy