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

openSUSE / agama / 9412452683
72%

Build:
DEFAULT BRANCH: master
Ran 07 Jun 2024 06:15AM UTC
Jobs 3
Files 791
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

07 Jun 2024 06:07AM UTC coverage: 70.368% (-0.1%) from 70.48%
9412452683

push

github

web-flow
Minor improvements to HTTPS handling in Agama's web server (#1228)

## Problem

Purpose is to make https support more "user" friendly. Currently
self-generated certificate contains only a generic name and is generated
repeatedly on each start (if needed). Also need of explicit
specification of user's own certificate on each (re)start is not much
friendly.

## Solution

- real hostname is written into self-signed certificate
- generated self-signed certificate is stored for later use
- defined default location where to search for certificates on start

+ refactoring of some old pieces. Created struct to encapsulate
Certificate related stuff.


## Testing

I (mvidner) have tested manually that the certificate (+key) is saved,
and reused on service restart, and contains the host name.


## Screenshots


![agama-hostname-in-certificate](https://github.com/openSUSE/agama/assets/1579239/de9e3074-d8cb-4828-9093-0dc56f6b0c5c)

1987 of 2868 branches covered (69.28%)

Branch coverage included in aggregate %.

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

150 existing lines in 4 files now uncovered.

18906 of 26823 relevant lines covered (70.48%)

33.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
19
0.0
0.0% rust/agama-server/src/agama-web-server.rs
53
0.0
0.0% rust/agama-server/src/cert.rs

Uncovered Existing Lines

Lines Coverage ∆ File
22
0.0
0.0% rust/agama-lib/src/install_settings.rs
22
0.0
0.0% rust/agama-lib/src/store.rs
38
0.0
0.0% rust/agama-derive/src/lib.rs
68
0.0
0.0% rust/agama-lib/src/storage/client.rs
Subprojects
ID Flag name Job ID Ran Files Coverage
3 rust 9412452683.3 07 Jun 2024 06:15AM UTC 90
22.97
GitHub Action Run
3 service 9400513291.3 06 Jun 2024 12:08PM UTC 358
86.39
GitHub Action Run
3 web 8937163624.3 03 May 2024 09:49AM UTC 343
75.3
GitHub Action Run
Source Files on build 9412452683
  • Tree
  • List 791
  • Changed 5
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9412452683
  • 88237f7b on github
  • Prev Build on master (#9400513291)
  • Next Build on master (#9442972962)
  • 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