name:        Media Bug Report
description: Bugs report on commands that handle media, like dumping or retrieving information.
labels: [ "bug", "needs triage", "media" ]
assignees:
  - silaslaspada
body:
  - type: dropdown
    id:   version
    attributes:
      label:       Version
      description: What version of Aaru are you running?
      options:
        - 5.4.x
        - 5.3.x
        - 5.2.0
        - Older
        - 6.0.0-alpha.6
        - 6.0.0-alpha.7
        - 6.0.0-alpha.8
        - 6.0.0-alpha.9
        - 6.0.0-alpha.10
        - 6.0.0-alpha.11
        - 6.0.0-alpha.12
        - 6.0.0-alpha.13
        - 6.0.0-alpha.14
        - 6.0.0-alpha.15
        - 6.0.0-alpha.15.1
        - 6.0.0-alpha.16
        - 6.0.0-alpha.17
        - Development commit
    validations:
      required: true
  - type: input
    id:   commit
    attributes:
      label:       Commit hash
      description: If using a development commit, which one
  - type: checkboxes
    id:   debug
    attributes:
      label:       Tested debug version?
      description: Have you reproduced the problem using the debug version?
      options:
        - label:    "Yes"
          required: true
  - type: checkboxes
    id:   os
    attributes:
      label:       Which operating systems have you used?
      description: You may select more than one.
      options:
        - label: Windows
        - label: Linux
        - label: macOS
        - label: Other
  - type: checkboxes
    id:   bitsize
    attributes:
      label:       What is the architectural bit size you're using?
      description: You may select more than one.
      options:
        - label: 32-bit
        - label: 64-bit
        - label: Unsure or unknown
  - type: checkboxes
    id:   cpu
    attributes:
      label:       What processor are you using?
      description: You may select more than one.
      options:
        - label: An Intel or AMD
        - label: An ARM or Apple Silicon
        - label: Unsure or unknown
  - type: input
    id:   manufacturer
    attributes:
      label: Device manufacturer
    validations:
      required: true
  - type: input
    id:   model
    attributes:
      label: Device model
    validations:
      required: true
  - type: checkboxes
    id:   bus
    attributes:
      label:       Bus the device uses to attach to the computer
      description: Select the physical drive bus as well as the bus you're using if using a cable or card reader
      options:
        - label: Parallel ATA
        - label: Serial ATA
        - label: SCSI (any)
        - label: ATAPI (mark above if parallel or serial)
        - label: USB
        - label: FireWire
        - label: PCMCIA
        - label: SecureDigital
        - label: MultiMediaCard
  - type: input
    id:   usb_manufacturer
    attributes:
      label:       USB cable or card reader manufacturer
      description: Fill if using a USB cable or a USB card reader
  - type: input
    id:   usb_model
    attributes:
      label:       USB cable or card reader model
      description: Fill if using a USB cable or a USB card reader
  - type: checkboxes
    id:   action
    attributes:
      label:       What were you doing when it failed?
      description: Choose all that apply
      options:
        - label: I was dumping media (disk, tape, etc)...
        - label: I was retrieving media (disk, tape, etc) information...
        - label: I was scanning media (disk, tape, etc)...
        - label: I was retrieving device information...
  - type: textarea
    id:   description
    attributes:
      label:       Description
      description: Description of the bug
    validations:
      required: true
  - type: input
    id:   command_line
    attributes:
      label:       Exact command line used
      placeholder: "`Aaru [command] [parameters]`"
    validations:
      required: true
  - type: textarea
    id:   expected
    attributes:
      label:       Expected behavior
      description: What did you expect to happen
    validations:
      required: true
  - type: textarea
    id:   actual
    attributes:
      label:       Actual behavior
      description: What actually happened
    validations:
      required: true
  - type: textarea
    id:   output
    attributes:
      label:       Output of command execution with debug output enabled
      placeholder: Paste the whole output of the executed command when you append '-d' to your command line parameters here
      render:      shell
    validations:
      required: true
  - type: textarea
    id:   details
    attributes:
      label:       Media details
      placeholder: Photo, EAN-13, if possible eBay link
