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

openSUSE / agama / 7712586799
72%

Build:
DEFAULT BRANCH: master
Ran 30 Jan 2024 02:23PM UTC
Jobs 3
Files 655
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

30 Jan 2024 02:21PM UTC coverage: 74.233% (+0.02%) from 74.216%
7712586799

push

github

web-flow
Expose partitions on D-Bus (#1016)

## Problem

The Agama storage service currently exports a tree of devices on D-Bus.
Such a tree only contains objects for the candidate devices for the
installation. But the information about their partitions is missing.
Partitions are need for serveral reasons, for example, to indicate how
to find space in the selected devices.

## Solution

Make the tree of devices to include objects for the partitions. The
partition object implements the *org.opensuse.Agama.Storage1.Block*
interface.

~~~
# busctl --address unix:path=/run/agama/bus tree
org.opensuse.Agama.Storage1
└─/org
  └─/org/opensuse
    └─/org/opensuse/Agama
      └─/org/opensuse/Agama/Storage1
        ├─/org/opensuse/Agama/Storage1/Proposal
        └─/org/opensuse/Agama/Storage1/system
          ├─/org/opensuse/Agama/Storage1/system/68
          ├─/org/opensuse/Agama/Storage1/system/69
          ├─/org/opensuse/Agama/Storage1/system/70
          ├─/org/opensuse/Agama/Storage1/system/71
          ├─/org/opensuse/Agama/Storage1/system/77
          ├─/org/opensuse/Agama/Storage1/system/79
          ├─/org/opensuse/Agama/Storage1/system/80
          ├─/org/opensuse/Agama/Storage1/system/82
          ├─/org/opensuse/Agama/Storage1/system/83
          └─/org/opensuse/Agama/Storage1/system/85

# busctl --address unix:path=/run/agama/bus introspect
org.opensuse.Agama.Storage1 /org/opensuse/Agama/Storage1/system/68
org.opensuse.Agama.Storage1.PartitionTable
NAME TYPE SIGNATURE RESULT/VALUE FLAGS
.Partitions property ao 1 "/org/opensuse/Agama/Storage1/system/…
emits-change
.Type property s "gpt" emits-change

# busctl --address unix:path=/run/agama/bus get-property
org.opensuse.Agama.Storage1 /org/opensuse/Agama/Storage1/system/68
org.opensuse.Agama.Storage1.PartitionTable Partitions
ao 1 "/org/opensuse/Agama/Storage1/system/77"

# busctl --address unix:path=/run/agama/bus introspect
org.opensuse.Agama.Storage1 /org/op... (continued)

1410 of 2184 branches covered (0.0%)

Branch coverage included in aggregate %.

16146 of 21466 relevant lines covered (75.22%)

22.65 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 service 7712586799.1 30 Jan 2024 02:23PM UTC 304
84.89
GitHub Action Run
1 rust 7698775463.1 29 Jan 2024 03:57PM UTC 64
41.76
GitHub Action Run
1 web 7710098081.1 30 Jan 2024 11:03AM UTC 287
73.13
GitHub Action Run
Source Files on build 7712586799
  • Tree
  • List 655
  • Changed 21
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #7712586799
  • ae5f6dac on github
  • Prev Build on master (#7710098081)
  • Next Build on master (#7743091656)
  • 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