# SPDX-Version: 3.0
# SPDX-CreationInfo: 2025-05-05; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.live.builder.git
# SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency
# SPDX-FileCopyrightText: 2024-2025; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-FileType: SOURCE
# SPDX-License-Identifier: LicenseRef-CNCL-1.1 OR LicenseRef-CCLA-1.1
# SPDX-LicenseComment: This file is part of the CISS.debian.installer.secure framework.
# SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu
---
name: "Bug Report"
about: "Create a report to help us improve"
title: "[BUG | possible BUG]: "
assignees: "MSW"
body:
  # Instructions for the reporter
  - type: markdown
    attributes:
      value: |
        _Please provide concise information to reproduce the bug; issues lacking detail may be closed._
  # Version information
  - type: input
    id: version
    attributes:
      label: "Version"
      description: "Which version are you running? Use `./ciss_live_builder.sh -v`."
      placeholder: "e.g., Master V8.13.544.2025.12.05"
    validations:
      required: true

  # Known issues check
  - type: textarea
    id: known_issue
    attributes:
      label: "Search for known issues"
      description: "Is this a known problem? Link to related issues or state 'none found'."
      placeholder: "e.g., #1234 or none found"
    validations:
      required: true

  # Reproduction steps
  - type: textarea
    id: reproduction
    attributes:
      label: "Command line"
      description: |
        Which command did you run, and against which target?
        If you prefer not to disclose publicly, use `security@coresecret.eu`.
      placeholder: "e.g., ./ciss_live_builder.sh --debug"
    validations:
      required: true

  # Expected behavior
  - type: textarea
    id: expected
    attributes:
      label: "Expected behavior"
      description: "Describe clearly what you expected to happen."
      placeholder: "e.g., Build completes without errors"
    validations:
      required: true

  # System information
  - type: input
    id: os
    attributes:
      label: "Operating System"
      description: "Retrieve via `awk -F\" '/PRETTY_NAME/ { print $2 }' /etc/os-release`."
      placeholder: "e.g., Debian GNU/Linux 12 (bookworm)"
    validations:
      required: true

  - type: input
    id: platform
    attributes:
      label: "Platform"
      description: "Retrieve via `uname -srm`."
      placeholder: "e.g., Linux 6.12.22+bpo-amd64 x86_64"
    validations:
      required: true

  # Additional context
  - type: textarea
    id: additional_context
    attributes:
      label: "Additional context"
      description: "Any other information about the problem."
      placeholder: "e.g., Logs, screenshots, configuration snippets"
    validations:
      required: false
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml
