[skara] Integrated: forge: improve GitLabRepository::commitWithComment
ehelin at openjdk.java.net
Tue Feb 16 13:36:19 UTC 2021
On Tue, 16 Feb 2021 13:18:57 GMT, Erik Helin <ehelin at openjdk.org> wrote:
> Hi all,
> please review this patch that improves the method `GitLabRepository::commitWithComment`. The problem is that GitLab's search API isn't really up to par (cannot handle square brackets in search query) and the search API is also going in away from GitLab CE in 13.9. This patch implements a simple search, just iterating backwards over the most recent commits, searching for the given title. The results are cached in-memory to speed up future searches.
> - [x] Manual testing on Linux x64 using `git-skara debug commit-comments`
This pull request has now been integrated.
Author: Erik Helin <ehelin at openjdk.org>
Stats: 58 lines in 1 file changed: 30 ins; 8 del; 20 mod
forge: improve GitLabRepository::commitWithComment
More information about the skara-dev