GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Don't include envvar in error hint when envvar not configured by plannigan · Pull Request #2972 · pallets/click

Conversation

@plannigan

@plannigan plannigan commented Jun 7, 2025

Copy link
Copy Markdown
Contributor

Add a check for if envvar is None before appending to the error hint text.

fixes #2971

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

paveldikov reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@plannigan
Don't include envvar in error hint when envvar not configured
1b0e19f
@paveldikov

paveldikov commented Jul 2, 2025

Copy link
Copy Markdown

I am interested in this PR, and noticed it's still unreviewed. Is there anything that can be done to unblock this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Rowlando13
Rowlando13 deleted the branch pallets:stable July 16, 2025 06:23
@Rowlando13 Rowlando13 closed this Jul 16, 2025
@Rowlando13 Rowlando13 reopened this Jul 16, 2025
@Rowlando13

Rowlando13 commented Jul 22, 2025

Copy link
Copy Markdown
Member

@kdeldycke Would you mind reviewing this?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Rowlando13 Rowlando13 added the help output Help text formatting, layout, and --help rendering label Jul 22, 2025
@Rowlando13
Rowlando13 deleted the branch pallets:stable July 22, 2025 09:42
@Rowlando13 Rowlando13 closed this Jul 22, 2025
@Rowlando13 Rowlando13 reopened this Jul 22, 2025
@kdeldycke

kdeldycke commented Jul 22, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

Hmmm. Envvar would need a bit of refactoring right and left. I can propose something for a bigger minor/major release later. In the meantime, this PR is not wrong, solve a edge-case and adds a unit test delimiting the current behavior. So I'm good to merge it to the 8.2.2 release.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kdeldycke kdeldycke added this to the 8.2.2 milestone Jul 22, 2025
@kdeldycke kdeldycke added the bug label Jul 22, 2025
@kdeldycke
Merge branch 'stable' into error-hint-no-envvar
2c6e0eb
@kdeldycke

kdeldycke commented Jul 22, 2025

Copy link
Copy Markdown
Collaborator

I just fixed the merge conflict. And all tests are passing. This PR is ready to be merged into stable.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Rowlando13
Merge branch 'stable' into error-hint-no-envvar
d1f8651
@Rowlando13
Rowlando13 merged commit 0be2bd3 into pallets:stable Jul 23, 2025
@Rowlando13 Rowlando13 linked an issue Jul 23, 2025 that may be closed by this pull request
Error hint shows env var when one doesn't exist #2971
Closed
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

help output Help text formatting, layout, and --help rendering

Projects

None yet

Milestone

8.2.2

Development

Successfully merging this pull request may close these issues.

Error hint shows env var when one doesn't exist

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@plannigan @paveldikov @Rowlando13 @kdeldycke
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.