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

agama-project / agama / 13699602539

Build:
Build:
LAST BUILD BRANCH: dasd-dbus-api-v2
DEFAULT BRANCH: master
Ran 06 Mar 2025 01:28PM UTC
Jobs 2
Files 788
Run time 73min
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

06 Mar 2025 01:17PM UTC coverage: 72.497% (-0.2%) from 72.74%
13699602539

push

github

web-flow
feat: add support for some YaST-like URLs (#2118)

## Problem

Agama [Transfer's
API](https://github.com/agama-project/agama/blob/master/rust/agama-lib/src/utils/transfer.rs)
does not understand [YaST-specific
URLs](https://github.com/yast/yast-installation/blob/master/doc/url.md).

It is impossible to handle URLs like `usb://OEMDRV/autoinst.xml`,
`device:///autoinst.xml`, etc.

> [!NOTE]
> It might not cover 100% of the old API cases, but we are working
towards that.

## Solution

This PR aims to add partial support for these URLs. The following
schemes are supported: `device:`, `usb:`, `label:`, `HD:`, `DVD:` and
`cd:`. Support for well-known URLs (e.g., `file:`, `http:`, `https:`,
`ftp:`, `nfs:`, etc.) is still implemented using CURL.

> [!WARNING]
> `agama download` now requires specifying a DESTINATION file (instead
of writing to stdout). Agama uses stdout to tell where it is searching.

## Testing

- Added a new unit test
- Tested manually

37 of 156 new or added lines in 8 files covered. (23.72%)

1 existing line in 1 file now uncovered.

20015 of 27608 relevant lines covered (72.5%)

42.48 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
52.88
0.0% rust/agama-lib/src/scripts/model.rs
2
0.0
0.0% rust/agama-cli/src/profile.rs
7
0.0
0.0% rust/agama-lib/src/utils/transfer.rs
8
0.0
0.0% rust/agama-cli/src/lib.rs
9
0.0
rust/agama-lib/src/utils/transfer/handlers/generic.rs
15
0.0
rust/agama-lib/src/utils/transfer/file_finder.rs
36
50.68
rust/agama-lib/src/utils/transfer/file_systems.rs
41
0.0
rust/agama-lib/src/utils/transfer/handlers/yast.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-cli/src/lib.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
2 rust 13699602539.2 06 Mar 2025 01:28PM UTC 134
24.94
GitHub Action Run
2 service 13680801738.2 05 Mar 2025 04:36PM UTC 654
89.16
GitHub Action Run
Source Files on build 13699602539
  • Tree
  • List 788
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #13699602539
  • 9b86fd21 on github
  • Prev Build on after-release-beta2 (#13680801738)
  • Next Build on after-release-beta2 (#13722340327)
  • 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