Skip to content

Fix use of overly generic DEBUG env. var.#96

Merged
cevich merged 1 commit intocontainers:mainfrom
cevich:fix_debug
Apr 20, 2022
Merged

Fix use of overly generic DEBUG env. var.#96
cevich merged 1 commit intocontainers:mainfrom
cevich:fix_debug

Conversation

@cevich
Copy link
Copy Markdown
Member

@cevich cevich commented Apr 20, 2022

It was an unfortunate mistake to name this variable as such. It was
observed to collide with other non-conforming usages in downstream.
This was esp. leading to some difficult to debug situations, such as
containers/podman#13932 The common
automation library is used far/wide by many environments, which
unfortunately may also rely on a generic $DEBUG. Fix the issue here,
by renaming the variable.

Let this serve as a warning to all downstream, everywhere: Avoid all
use of similar generic variable names, make them context-specific!

Signed-off-by: Chris Evich cevich@redhat.com

cevich added a commit to cevich/automation_images that referenced this pull request Apr 20, 2022
Companion to containers/automation#96

Signed-off-by: Chris Evich <cevich@redhat.com>
It was an unfortunate mistake to name this variable as such.  It was
observed to collide with other non-conforming usages in downstream.
This was esp. leading to some difficult to debug situations, such as
containers/podman#13932  The common
automation library is used far/wide by many environments, which
unfortunately may also rely on a generic `$DEBUG`.  Fix the issue here,
by renaming the variable.

Let this serve as a warning to all downstream, everywhere: ***Avoid all
use of similar generic variable names, make them context-specific!***

Signed-off-by: Chris Evich <cevich@redhat.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 20, 2022

Successfully triggered github-actions/success task to indicate successful run of cirrus-ci_retrospective integration and unit testing from this PR's 0aeebaab8a3302967fc6375e145819352b640c0a.

cevich added a commit to cevich/podman that referenced this pull request Apr 20, 2022
Use of `$DEBUG` is highly likely to clash.  Fortunately this one is in
a very specific/special context, so a rename fix should be perfectly
adequate.

See also containers/automation#96
and containers#13932

Signed-off-by: Chris Evich <cevich@redhat.com>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 20, 2022

Successfully triggered github-actions/success task to indicate successful run of cirrus-ci_retrospective integration and unit testing from this PR's 7dfa5d11e4beb32104d9f118e74fd9aa14a89244.

@cevich cevich merged commit d7bf502 into containers:main Apr 20, 2022
cevich added a commit to cevich/automation_images that referenced this pull request Apr 28, 2022
Companion to containers/automation#96

Signed-off-by: Chris Evich <cevich@redhat.com>
cevich added a commit to cevich/automation_images that referenced this pull request Apr 28, 2022
Companion to containers/automation#96

Signed-off-by: Chris Evich <cevich@redhat.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.

1 participant