
GitLab Issues
Source (link to git-repo or to original if based on someone elses unmodified work):
Available as/for:
Description: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.
v2 - June 12 2020
* 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.
Ratings & Comments
8 Comments
10 10 the best
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.
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.
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
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
Fantastic! The best keeps getting better.
10 10 the best
10 10 the best