GitLab Issues

Plasma 5 Applets

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Zren/plasma-applet-gitlabissues

3
Score 71.4%
Description:

Kubuntu/KDE Neon Requires: sudo apt install qml-module-qtquick-localstorage
If you already added the widget before installing the package, restart Plasma to reload the widget.

Displays a list of recent GitLab issues and merge requests for a specific (or multiple) repos, or groups.

* Display first page of issues from a GitLab repo/group.
* Can display Open, Closed, or All Issues + Merge Requests.
* Can sort by Created or Updated.
* Lists number of comments like the webpage.
* Uses GitHub's Octicons.
* Can hide the background when used as a desktop widget.
* Can hide the heading.
* Can changed the panel icon.
* The list is cached locally, so restarting plasmashell constantly (eg: plasma developers) is not a problem.
Last changelog:

v2 - June 12 2020 27 days ago

* Add support for listing a group's issues and merge_requests. Use `https://invent.kde.org/groups/plasma`. Note that you need the extra `groups/` in front of the group name.

10

mirkogennari

27 days ago

10 10 the best

Report

10
MOD

ngraham

28 days ago

This is fantastic! It would be even better if you could feed it a group to subscribe to everything in that whole group, rather than having to give it individual repos.

Report

C

Zren

27 days ago

Turned out to be easier to add than I thought. Feature is in v2.

* https://github.com/Zren/plasma-applet-gitlabissues/commit/81247bdb7f61c0ab08471c8ba260ede5d8318abb
* https://github.com/Zren/plasma-applet-gitlabissues/issues/1

Report

10
MOD

ngraham

27 days ago

Fantastic! The best keeps getting better.

Report

C

Zren

28 days ago

Nevermind, it's way easier than that as there is:

* https://invent.kde.org/groups/plasma/-/issues
* https://docs.gitlab.com/ee/api/issues.html#list-group-issues
* https://docs.gitlab.com/ee/api/merge_requests.html#list-group-merge-requests

As for parsing groups in the config? I guess we can assume /frameworks is a group? Though that might get confused if I add support for /user.

We could force the user to use one of these urls as they start with /groups/

* https://invent.kde.org/groups/plasma (Redirects to https://invent.kde.org/plasma)
* https://invent.kde.org/groups/plasma/-/issues
* https://invent.kde.org/groups/plasma/-/merge_requests

Report

C

Zren

28 days ago

Hmmm.

* https://docs.gitlab.com/ee/api/groups.html
* https://invent.kde.org/api/v4/groups/frameworks
* https://invent.kde.org/api/v4/groups/frameworks/projects

Hmm, I won't use /groups/frameworks/projects as it is paginated by 20 projects (the next url is in the HTTP header). It looks like a simple list is in /groups/frameworks which I can use to build the issues url.

* https://invent.kde.org/api/v4/groups/frameworks
* (x82 projects) https://invent.kde.org/api/v4/projects/frameworks%2Fplasma-framework/issues
* (x82 projects) https://invent.kde.org/api/v4/projects/frameworks%2Fplasma-framework/merge_requests

So it would make 165 requests just for frameworks. I'll have to look into if there's a rate limit for
the public API. I may need to add the ability to add a user generated API token.

Report

10
MOD

ngraham

28 days ago

10 10 the best

Report

10

baltolkien

1 month ago

10 10 the best

Report

v2 - June 12 2020 27 days ago

* Add support for listing a group's issues and merge_requests. Use `https://invent.kde.org/groups/plasma`. Note that you need the extra `groups/` in front of the group name.

v1 - May 7 2020 27 days ago

* Modify widget to fetch issues and merge_requests.
* Support multiple GitLab domains.
* Can sort by created or updated, including sort direction (ascending and descending).
* Add gitlab-icon from their press webpage. Modified the symbolic icon to support KDE color scheme.
* Added icon selector in the config to switch between colored gitlab icon, symbolic, or custom icon.
* Forked from GitHubIssues v4

12345678910
3
product-maker mirkogennari Jun 12 2020 10 the best
10 the best
product-maker ngraham Jun 11 2020 10 the best
10 the best
product-maker baltolkien May 22 2020 10 the best
10 the best
product-maker Base: 4 x 5.0 Ratings
Mirko-Gennari
Jun 22 2020
mirkogennari
Jun 12 2020
baltolkien
May 22 2020
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
1 Affiliate
Details
license
GPLv2 or later
version
2
updated Jun 12 2020
added May 07 2020
downloads 24h
1
mediaviews 24h 0
pageviews 24h 6