name: Bug report
description: Create a report to help us improve
body:
- type: markdown
  attributes:
    value: |+
      Did you check that there are no similar bug reports or pull requests?

      If your panic happens in the child_sigsegv_handler function, look at the backtrace to determine whether it is similar to another issue. When in doubt, open a new one and it will be closed as a duplicate if needed.

      If it's a packaging bug (including sysv or systemd services bugs) please open an issue on [vinylcache/pkg-vinyl-cache](https://code.vinyl-cache.org/vinyl-cache/pkg-vinyl-cache) instead.

      If it's a feature request, please start a thread on the [vinyl-misc](https://vinyl-cache.org/support/index.html#mailing-lists) list instead.

- type: textarea
  attributes:
    label: Expected Behavior
    description: |+
      If you're describing a bug, tell us what should happen.
      If you're suggesting a change/improvement, tell us how it should work.
  validations:
    required: true
- type: textarea
  attributes:
    label: Current Behavior
    description: |+
      If describing a bug, tell us what happens instead of the expected behavior.
      If suggesting a change/improvement, explain the difference from current behavior.
  validations:
    required: true
- type: textarea
  attributes:
    label: Possible Solution
    description: |+
      Not obligatory, but suggest a fix/reason for the bug, or ideas how to implement the addition or change
- type: textarea
  attributes:
    label: Steps to Reproduce (for bugs)
    description: |+
      Provide a link to a live example, or an unambiguous set of steps to reproduce this bug. Include code to reproduce, if relevant.
    placeholder: |+
      1.
      2.
      3.
      4.
- type: textarea
  attributes:
    label: Context
    description: |+
      How has this issue affected you? What are you trying to accomplish?
      Providing context helps us come up with a solution that is most useful in the real world.
  validations:
    required: true
- type: input
  attributes:
    label: Vinyl Cache version
    description: |+
      The version can be obtained by "vinyld -V".
    placeholder: "vinyld (vinyl-cache-trunk revision 82fff61ce98a282c721d2026c7649403bc1d18eb)"
- type: input
  attributes:
    placeholder: Ubuntu22.04
    label: Operating system
- type: input
  attributes:
    label: Source of binary packages used (if any)
    placeholder: https://code.vinyl-cache.org/
