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

agama-project / agama / 15416257219
73%

Build:
DEFAULT BRANCH: master
Ran 03 Jun 2025 11:43AM UTC
Jobs 3
Files 534
Run time 367min
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

03 Jun 2025 11:37AM UTC coverage: 88.945% (+26.0%) from 62.995%
15416257219

push

github

web-flow
Send different NM dbus values depending on version (#2356)

## Problem

Agama doesn't detect and handle different NetworkManager versions. I
know that currently this isn't an issue for agama itself, however I
think it may become one in the future. Also for wicked2nm it represents
a problem because when it is run on Leap15, it tries to send values that
are not present due to the old NM version. See
https://github.com/openSUSE/wicked2nm/issues/24

## Solution

Parse NM version via the semver crate and then act accordingly when
populating dbus values. I haven't checked all the values and when they
were introduced, but I checked for Leap15 and also I mentioned in #2189
that `dhcp-send-hostname` is deprecated in favor of
`dhcp-send-hostname-v2`

## Testing

- *Added a new unit test*
- *Tested manually*
- *Tested with wicked2nm*

92 of 132 branches covered (69.7%)

Branch coverage included in aggregate %.

0 of 46 new or added lines in 2 files covered. (0.0%)

16 existing lines in 2 files now uncovered.

11059 of 12405 relevant lines covered (89.15%)

59.75 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
4
100.0
100.0% rust/agama-network/src/nm/client.rs
42
100.0
100.0% rust/agama-network/src/nm/dbus.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
100.0% rust/agama-lib/src/http/base_http_client.rs
15
100.0
100.0% rust/agama-network/src/nm/dbus.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 15416257219.1 03 Jun 2025 11:43AM UTC 118
GitHub Action Run
3 web 15321357834.3 29 May 2025 10:04AM UTC 36
82.3
GitHub Action Run
3 service 15386206965.3 02 Jun 2025 07:21AM UTC 380
89.17
GitHub Action Run
Source Files on build 15416257219
  • Tree
  • List 534
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15416257219
  • 6e6a4f6e on github
  • Prev Build on master (#15386206965)
  • Next Build on master (#15417160490)
  • 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