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

agama-project / agama / 16830746020
73%

Build:
DEFAULT BRANCH: master
Ran 08 Aug 2025 12:55PM UTC
Jobs 3
Files 1139
Run time 141min
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

08 Aug 2025 12:45PM UTC coverage: 64.094% (-0.02%) from 64.117%
16830746020

push

github

web-flow
User patterns selection (#2643)

## Problem

The list of patterns included in the profile will replace the whole list
of patterns to install (except those that are mandatory). It would be
nice to be able to modify the list of patterns without having to set it
entirely.

-
https://trello.com/c/NNkJVdwD/5204-3-sles160-adding-patterns-instead-of-replacing-the-list
- https://bugzilla.suse.com/show_bug.cgi?id=1247456

## Solution

Allow to add or remove patterns from the user patterns selection apart
of set it completely.

## Testing

- *Tested manually*

```bash
$ cat software.json
{
  "software": {
    "patterns": {
      "remove": ["selinux"]
    }
  }
}
$ agama config load software.json
✓ The profile is valid.
$ cat software.json
{
  "software": {
    "patterns": {
      "add": ["selinux"]
    }
  }
}
$ agama config load software.json
✓ The profile is valid.
$ agama config show 
{
  ...
  "software": {
    "patterns": [
      "selinux"
    ],
    "packages": []
  },
  ...
}
```

<img width="1090" height="842" alt="Screenshot From 2025-08-08 12-02-03"
src="https://github.com/user-attachments/assets/b9ef855e-306b-4cf5-b5d1-05c20d420ba7"
/>
<img width="1090" height="842" alt="Screenshot From 2025-08-08 12-02-45"
src="https://github.com/user-attachments/assets/f33b68c7-0461-4743-b571-6c9b545b5e1e"
/>

2170 of 3917 branches covered (55.4%)

Branch coverage included in aggregate %.

8 of 29 new or added lines in 2 files covered. (27.59%)

1 existing line in 1 file now uncovered.

24989 of 38457 relevant lines covered (64.98%)

49.36 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
8
11.76
11.76% rust/agama-lib/src/software/settings.rs
13
55.56
-29.44% rust/agama-lib/src/software/store.rs

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% rust/agama-network/src/nm/adapter.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
1 rust 16830746020.1 08 Aug 2025 12:55PM UTC 186
21.66
GitHub Action Run
3 service 16806093896.3 07 Aug 2025 01:48PM UTC 389
88.46
GitHub Action Run
3 web 16805692514.3 07 Aug 2025 01:23PM UTC 564
68.31
GitHub Action Run
Source Files on build 16830746020
  • Tree
  • List 1139
  • Changed 5
  • Source Changed 5
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #16830746020
  • c794bbb9 on github
  • Prev Build on master (#16806093896)
  • Next Build on master (#16873505016)
  • 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