Version 2.13.0

Changelog
=========

Fixed
~~~~~

- Parsing of integer arguments on the CLI have been fixed

  Specifically, this concerns the following edge cases where:

  - `-n <count>` was truncated due to conversion to long integers

  - `-i <id>` caused an arithmetic overflow due to converting a
    negative integer to an unsigned integer

  This only occured when the user provided such illegal values and
  thus caused the bug.

  Reported-by: Sulev-Madis Silber

- A crash that occured when trying to print a non-existant Bugzilla
  attachment has been fixed

  Reported-by: Sulev-Madis Silber

- The manual page `gcli-status(1)` has been fixed and was updated to reflect
  the current behaviour

- A crash when creating a repo on GitHub without specifying a
  description has been fixed.

  Reported-by: Sandro Santilli

- Modifying labels attached to issues and pull requests on Gitea
  has been fixed

  Previously this silently failed.

  Reported-by: Michael Niedermayer

Added
~~~~~

- The `attachments` subcommand gained support for creating Bugzilla
  attachments as well as marking them as obsolete

- A new manual page `gcli-attachments(1)` has been added documenting
  the options of this subcommand. The `gcli(1)` manual page has
  been updated and references the new manual page as well.

- It is now possible to search for repositories via the `gcli repos`
  subcommand. Search keywords are taken as is after the subcommand:

        gcli repos foo bar baz

  This would search for `foo bar baz`.

  Suggested by: Dmitry Atamanov <https://github.com/data-man>

Changed
~~~~~~~

- `gcli labels` now includes inherited labels from the organisation
  for Gitea

- When performing actions on a repository via `gcli repos` it is
  now mandatory to specify both the owner and the repository name
  via `-o` and `-r` respectively.