blob: a44db79479e455447e6a84eb7dc8bc5d52fb6f4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Sourcehut Builds Noctalia Plugin
A plugin for noctalia v5 that displays your last few sourcehut builds.
It will display icons for recent running, failed or successful jobs
(with a configurable window.)
## Plugin
| Field | Value |
| --- | --- |
| ID | `rbdr/sourcehut-builds` |
| Plugin API | 30 |
| Entries | Bar widget: `bar`, panel: `panel`, service: `poller` |
## Usage
Configure your sourcehut API token in the plugin configuration, then add the
bar widget.
You can toggle, open or close the panel by targeting `rbdr/sourcehut-builds:panel`
```sh
noctalia msg panel-toggle rbdr/sourcehut-builds:panel
```
And you can open the settings by using the plugin id.
```sh
noctalia msg settings-open-plugin rbdr/sourcehut-builds
```
| Action | Effect |
| --- | --- |
| Left click (bar glyph) | Open/close the panel |
| Left click on a build label | Open the build in the browser |
| Left click on a glyph for a task | Open the build in the browser, scroll the task into view |
## Settings
| Setting | What it does |
| --- | --- |
| Sourcehut API token| The token to use to connect to the sourcehut API |
| Build Count | The number of builds to show |
| Cutoff for recent builds | The number of seconds to consider "recent" for the glyph displays |
## Install
Checkout this repo somewhere in your computer, then add it as a plugin source
in noctalia settings, then enable the plugin.
## No LLM Usage
This project has not used LLMs in any stage of its development and does not
accept contributions where LLMs have been used in any point: whether it's
planning, debugging, testing, implementing or anything else.
|