Skip to content

Commit 75c8e90

Browse files
Release 2.9.0
2 parents f8f7bcf + 688cbe7 commit 75c8e90

87 files changed

Lines changed: 2698 additions & 630 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@
4848
/m4/ltversion.m4
4949
/m4/lt~obsolete.m4
5050
/libgcli.pc
51-
/build
51+
build/**

Changelog.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,72 @@
22

33
This changelog does not follow semantic versioning.
44

5+
## 2.9.0 (26-Aug-2025)
6+
7+
### Added
8+
9+
- A `-S` / `--assignee` option has been added to the issues subcommand.
10+
This flag allows you to search for issues that are assigned to
11+
the given user. See the `gcli-issues(1)` manual page for more
12+
details.
13+
14+
- An experimental `discussions` action was added to the pulls
15+
subcommand. It prints reviews and their comments in a threaded
16+
view. See the `gcli-pulls(1)` manual page for more details.
17+
18+
- The online version of the gcli tutorial is now compiled into a
19+
manual page `gcli-tutorial(1)` which is installed by default. It
20+
is included pre-generated in the release tarball but can be rebuilt
21+
by setting the newly added `--enable-maintainer` option of the
22+
configure script.
23+
24+
- Two actions `approve` and `unapprove` have been added to the
25+
`pulls` subcommand. These allow giving approval or rejecting a
26+
pull request, offering to enter a commant about why a given PR
27+
was approved or rejected. Because this reuses code from the
28+
reviews subsystem this currently only works on GitHub and Gitlab,
29+
however support for Gitea will be added in the next release.
30+
31+
### Fixed
32+
33+
- A bug in the autodetection of remotes and forge types from
34+
configured git remotes has been fixed.
35+
36+
In cases where the git remote was pointing at an ssh-URL with a
37+
scheme but without a port the remote was not properly detected
38+
and lead to an incorrectly recognised owner/repo combination.
39+
40+
- A confusion about the automerge feature has been fixed causing
41+
pull requests with automerge to not work on Github forges. Note
42+
that this does not fix the general bug on Github which doesn't
43+
correctly report whether a pull request has been marked as
44+
auto-merge.
45+
46+
- Running the pulls checkout action as the last action used to
47+
result in an error 'not enough arguments'.
48+
49+
### Changed
50+
51+
- Compiler output file extensions are now guessed by the configure script
52+
53+
This is done for Windows compatibility. People have reported that
54+
it is now possible again to build gcli on MSYS2.
55+
56+
If the guessed extensions are wrong, one may override the guessed
57+
extensions using the environment variables `EXEEXT`, `OBJEXT`,
58+
`LIBEXT`, `EXEEXT_FOR_BUILD`, `OBJEXT_FOR_BUILD` and `LIBEXT_FOR_BUILD`.
59+
60+
- When a pull/merge request or issue submission has failed, gcli
61+
will now store the entered message in `$PWD/gcli_message`. When
62+
the `pulls|issue create` subcommand is later re-run and this file
63+
is found, gcli will ask you whether you wish to recall its contents
64+
for the new message.
65+
66+
Suggested-by: Bence Ferdinandy <bence@ferdinandy.com>
67+
68+
- The pdjson dependency is now unbundled by default. In case it
69+
is not found via pkg-config the vendored copy is used instead.
70+
571
## 2.8.0 (25-May-2025)
672

773
### Added

HACKING.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ A few caveats are:
2727
- GNU Make (gmake)
2828

2929
Some of these make implementations are very buggy (most notably GNU make)
30+
3031
- Getting target dependencies just right is not easy
3132

3233
For that reason I highly suggest testing with all three make implementations.
@@ -68,6 +69,10 @@ To run the test suite:
6869
Note that running the test suite requires ATF and Kyua. More details
6970
can be found below.
7071

72+
To run the compiler's built-in static code analyser:
73+
74+
$ make analyse
75+
7176
If you wish to change the compiler to be used you can set these in the
7277
environment:
7378

@@ -88,7 +93,7 @@ directory for a build with no optimisations and full debug info.
8893

8994
I suggest you use it for development purposes:
9095

91-
$ ../configure --debug
96+
$ ../configure --debug --enable-maintainer
9297

9398
You can proceed as usual with make.
9499

@@ -149,6 +154,15 @@ e.g. to compile from FreeBSD amd64 to a armv7l Linux system:
149154
When you now run make the compilers will be chosen appropriately.
150155
The test suite will not work when cross-compiling.
151156

157+
If needed you may have to set the values of
158+
159+
- `EXEEXT`
160+
- `OBJEXT`
161+
- `LIBEXT`
162+
163+
This is the case on undetected Windows systems.
164+
It should be possible to build gcli under cygwin this way.
165+
152166
## Tests
153167

154168
The test suite depends on [Kyua](https://github.com/jmmv/kyua) and

0 commit comments

Comments
 (0)