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

openSUSE / agama / 9500564853
72%

Build:
DEFAULT BRANCH: master
Ran 13 Jun 2024 01:31PM UTC
Jobs 3
Files 781
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 Jun 2024 01:27PM UTC coverage: 70.86% (-0.02%) from 70.875%
9500564853

push

github

web-flow
fix(zypp): Reuse the repositories, use libzypp in "chroot" (#1329)

## Problem

- When changing the product from openSUSE Tumleweed to openSUSE MicroOS
the Tumbleweed repository is refreshed again
- The code initializes the libzypp in the Live ISO system, there are
some workarounds to avoid reusing the Live ISO repositories

Related cards:
-
https://trello.com/c/liPX29Cu/3695-5-research-improve-software-management-performance
 

## Solution

- When the changed product uses the same repositories then just reuse
them, do not create the repositories again
- Run libzypp in `/run/agama/zypp` repository to not mess with the
package management from the Live ISO, removed the related workarounds

## Notes

- The reusing is simple all-or-nothing, i.e. the products must use the
very same repositories. In the future we could improve it to allow
reusing just a subset of the repositories.
- Maybe it will need some adoption when the system is registered, but as
there is no real product to register I'm leaving this for the future.
- I put the zypp lock to `/run/agama/zypp` as well, that means now you
can run `zypper` in the Live system while Agama is running, yay!
:star_struck:
- That workaround with switching `Yast::Stage` is not needed anymore, it
was needed when we run the proposal using the YaST code, it is not
needed with the new refactored code.

## Testing

- Tested manually (mvidner: in container, switched products 3 times,
without hitting Install)

1987 of 2868 branches covered (69.28%)

Branch coverage included in aggregate %.

14 of 15 new or added lines in 1 file covered. (93.33%)

37 existing lines in 1 file now uncovered.

18841 of 26525 relevant lines covered (71.03%)

34.39 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
74.56
-0.75% service/lib/agama/software/manager.rb

Uncovered Existing Lines

Lines Coverage ∆ File
37
74.56
-0.75% service/service/lib/agama/software/manager.rb
Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 9500564853.3 13 Jun 2024 01:31PM UTC 352
86.71
GitHub Action Run
3 rust 9486154225.3 12 Jun 2024 04:27PM UTC 86
23.37
GitHub Action Run
3 web 8937163624.3 03 May 2024 09:49AM UTC 343
75.3
GitHub Action Run
Source Files on build 9500564853
  • Tree
  • List 781
  • Changed 56
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9500564853
  • 4c093fd5 on github
  • Prev Build on master (#9499669760)
  • Next Build on master (#9511649016)
  • 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