Skip to content

Update Buildah issue template to new version and support podman build #6099

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

Merged

Conversation

ninja-quokka
Copy link
Collaborator

What type of PR is this?

/kind other

What this PR does / why we need it:

This patch updates the Buildah issue template to the latest format supported by Github and moves more inline with the Podman issue template

The previous issue template handled both Buildah and podman build reports in one template, this patch splits into two to be easier to understand.

Special notes for your reviewer:

If you like the split issue template for Buildah and podman build, maybe a label would be nice to add to the template like labels: ["kind/bug", "triage-needed", "kind/buildah"] or labels: ["kind/bug", "triage-needed", "kind/podman-build"]

Does this PR introduce a user-facing change?

None

Copy link
Member

@nalind nalind left a comment

Choose a reason for hiding this comment

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

Got a duplicate field in one of the forms, and a couple of questions.

id: storage_conf
attributes:
label: cat /etc/containers/storage.conf output
description: Please copy and paste cat /etc/containers/storage.conf output.
Copy link
Member

Choose a reason for hiding this comment

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

On systems where this file isn't present, we'd want to see /usr/share/containers/storage.conf.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've updated to ask the user to provide the relevant config file and provided the link to https://github.com/containers/storage/blob/main/docs/containers-storage.conf.5.md#files

Let me know what you think

@ninja-quokka ninja-quokka force-pushed the update_issue_template branch from 5c329be to eee2b2b Compare April 2, 2025 05:02
Copy link
Collaborator Author

@ninja-quokka ninja-quokka left a comment

Choose a reason for hiding this comment

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

Thank you for the thorough review @nalind !

id: storage_conf
attributes:
label: cat /etc/containers/storage.conf output
description: Please copy and paste cat /etc/containers/storage.conf output.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've updated to ask the user to provide the relevant config file and provided the link to https://github.com/containers/storage/blob/main/docs/containers-storage.conf.5.md#files

Let me know what you think

@nalind
Copy link
Member

nalind commented Apr 2, 2025

Linking to https://github.com/containers/storage/blob/main/docs/containers-storage.conf.5.md#files looks reasonable. The lack of markup or formatting around the /etc/projects and /etc/projid files looks weird in there, but that's not something we can fix in this repository.

Copy link
Member

@nalind nalind left a comment

Choose a reason for hiding this comment

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

LGTM with a couple of spelling changes. Thanks!

Copy link
Contributor

openshift-ci bot commented Apr 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nalind, ninja-quokka

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Apr 2, 2025
@ninja-quokka ninja-quokka force-pushed the update_issue_template branch from eee2b2b to 359270c Compare April 2, 2025 15:17
@ninja-quokka
Copy link
Collaborator Author

LGTM with a couple of spelling changes. Thanks!

Done thanks!

- name: Ask a question
url: https://github.com/containers/buildah/discussions/new
about: Ask a question about Buildah
- name: If your Podman issue is not related to podman build, please report it here
Copy link
Member

Choose a reason for hiding this comment

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

I think the not should be dropped here, or perhaps I'm just having a brain-fart.

Suggested change
- name: If your Podman issue is not related to podman build, please report it here
- name: If your Podman issue is related to podman build, please report it here

Copy link
Member

Choose a reason for hiding this comment

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

We want non-podman build issues to be filed directly in the podman repository.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think you current suggestion is incorrect. I want this to read as, "if your issue is a general Podman issue, not related to podman build, then open it in the Podman repo" - If you think the current text is confusing could you please suggest an alternative? Thank you!

Copy link
Member

Choose a reason for hiding this comment

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

I think your example in your last comment makes sense. How's about:

If your issue is a general Podman issue unrelated to podman build, please open an issue in the Podman repository. If the issue is with the podman build command, please report it here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks Tom, Done!

Copy link
Member

@TomSweeneyRedHat TomSweeneyRedHat left a comment

Choose a reason for hiding this comment

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

Just a few scattered nits, otherwise LGTM.
Thanks @ninja-quokka !

@ninja-quokka ninja-quokka force-pushed the update_issue_template branch from 359270c to 6c8a28c Compare April 3, 2025 01:54
@ninja-quokka
Copy link
Collaborator Author

Just a few scattered nits, otherwise LGTM. Thanks @ninja-quokka !

Thanks for the review @TomSweeneyRedHat, fixed all and left reply on one!

@ninja-quokka
Copy link
Collaborator Author

CI failing on:

# Error: internal error: unable to copy from source {{{quay.io libpod/testdigest_v2s1} sha256:816563225d7baae4782653efc9410579341754fe32cbe20f7600b39fc37d8ec7} %!s(bool=false)}: reading blob sha256:079b08e1aa775c91968e14da9e28db2bcb221bb829130534383802b52d11739d: fetching blob: received unexpected HTTP status: 502 Bad Gateway

@ninja-quokka
Copy link
Collaborator Author

/packit test

@ninja-quokka ninja-quokka force-pushed the update_issue_template branch from 6c8a28c to 17bb743 Compare April 6, 2025 23:52
@TomSweeneyRedHat
Copy link
Member

LGTM
but it needs an update @ninja-quokka

@rhatdan
Copy link
Member

rhatdan commented Apr 17, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Apr 17, 2025
@openshift-merge-bot openshift-merge-bot bot merged commit 3a42498 into containers:main Apr 17, 2025
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants