• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openSUSE / agama / 8268840686
25%
master: 72%

Build:
Build:
LAST BUILD BRANCH: storage-volume-keywords
DEFAULT BRANCH: master
Ran 13 Mar 2024 05:23PM UTC
Jobs 2
Files 397
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 Mar 2024 05:16PM UTC coverage: 74.398% (-0.3%) from 74.717%
8268840686

push

github

web-flow
Expose the manager service through the HTTP/JSON API (#1089)

Trello:
https://trello.com/c/Ff8n3NVZ/3563-5-expose-the-manager-api-over-http

This PR exposes most of the Manager API[^1] through the interface. It
includes:

* `api/manager/probe`: starts the probing.
* `api/manager/install`: starts the installation.
* `api/manager/finish`: executes the post-install tasks.
* `api/manager/status`: expose the manager status`

```rust
{
  "phase": "Config",
  "busy": [
    "org.opensuse.Agama.Storage1"
  ]
}
```

Additionally, it emits two events: `BusyServicesChanged` and
`InstallationPhaseChanged`.

[^1]: The part of the D-Bus API used by the web UI.

## To do

- [x] Before proceeding, we need to merge #1080.
- [ ] ~~Add a mechanism to get the logs~~ (postponed).
- [x] Add a `CanInstall` boolean to the manager status.

26 of 105 new or added lines in 4 files covered. (24.76%)

10932 of 14694 relevant lines covered (74.4%)

12.83 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
29.17
1.89% rust/agama-server/src/web.rs
13
12.2
12.2% rust/agama-lib/src/manager.rs
14
46.15
rust/agama-server/src/web/common.rs
50
19.35
rust/agama-server/src/manager/web.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 8268840686.1 13 Mar 2024 05:23PM UTC 81
42.8
GitHub Action Run
1 service 8169459432.1 06 Mar 2024 09:05AM UTC 316
85.22
GitHub Action Run
Source Files on build 8268840686
  • Tree
  • List 397
  • Changed 21
  • Source Changed 4
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #8268840686
  • 3a6ce337 on github
  • Prev Build on architecture_2024 (#8264240175)
  • Next Build on architecture_2024 (#8292516399)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc