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

agama-project / agama / 15737822052
74%

Build:
DEFAULT BRANCH: master
Ran 18 Jun 2025 04:05PM UTC
Jobs 3
Files 1035
Run time 2min
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

18 Jun 2025 04:01PM UTC coverage: 64.876% (+0.003%) from 64.873%
15737822052

push

github

web-flow
Disable local installation repositories (bsc#1243064) (#2491)

## Problem

- When using a local installation repository (e.g. Full DVD) then this
repository is removed from the system
- It should behave like in SLE15 which keeps the installation
repository, just disables it. After enabling it manually it can be used
for installing additional packages.

## Solution

- Disable local repositories instead of removing them

## Notes

- Because we keep the Full installation repository in the system it
should have some meaningful name and alias. And because the packages are
fixed the autorefresh should be disabled.
- This required extending the API to allow specifying required data.

## DVD

- For DVDs during installation the device name is included in the URL to
ensure the correct repository is used.
- In theory there might be multiple DVD drives in the system and the
other drive might contain a different version of the product or a
completely different product. This ensures libzypp uses the correct
drive.
- After installation the device is removed from URL, this allows
inserting the installation medium into a different drive without a
failure. Libzypp verifies that the correct medium is inserted by
checking the `/media.1/media` content with the file saved in the cache.

## Hard disk or USB flash disk

- For these media it uses the `/dev/disk/by-id` device name. That should
be more specific and should avoid problems with using incorrect media.
- This is important for USB flash disks for which the device name might
change in the installed system. The installation flash disk might become
`/dev/sdc` instead of `/dev/sdb` if you attach some different USB flash
disk before it.

## Testing

- Updated unit test
- Tested manually

## Screenshots

- In all cases after enabling the repository manually it was possible to
install additional package from the original installation medium.

### Installation from DVD

- When installing from the DVD the repository URL is mo... (continued)

1840 of 3390 branches covered (54.28%)

Branch coverage included in aggregate %.

16 of 32 new or added lines in 3 files covered. (50.0%)

1 existing line in 1 file now uncovered.

21647 of 32813 relevant lines covered (65.97%)

51.22 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
90.32
-5.83% service/lib/agama/software/repository.rb
14
75.76
-2.08% service/lib/agama/software/manager.rb

Uncovered Existing Lines

Lines Coverage ∆ File
1
75.76
-2.08% service/lib/agama/software/manager.rb
Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 15737822052.3 18 Jun 2025 04:05PM UTC 384
88.75
GitHub Action Run
3 web 15731940888.3 18 Jun 2025 11:48AM UTC 532
67.58
GitHub Action Run
1 rust 15729337007.1 18 Jun 2025 09:40AM UTC 119
1.3
GitHub Action Run
Source Files on build 15737822052
  • Tree
  • List 1035
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #15737822052
  • 58739e42 on github
  • Prev Build on master (#15731940888)
  • Next Build on master (#15755739680)
  • 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