Skip to content

Conversation

@dorianim
Copy link
Member

@dorianim dorianim commented Nov 15, 2025

Description

Rebuild the configuration file. It now uses /etc/linuxmuster-linuxclient7/config.yml. The old file /etc/linuxmuster-linuxclient7/config.conf is used as a fallback. On upgrade (linuxmuster-linuxclient7 upgrade), the legacy config file will be automatically converted to yaml and then deleted.

Fixes #32

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Unittests
  • On a Debian 13 client

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules

@codecov
Copy link

codecov bot commented Nov 15, 2025

Codecov Report

❌ Patch coverage is 90.76923% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 61.47%. Comparing base (092209f) to head (1378496).
⚠️ Report is 4 commits behind head on master.

Files with missing lines Patch % Lines
...on3/dist-packages/linuxmusterLinuxclient7/setup.py 0.00% 4 Missing ⚠️
...n3/dist-packages/linuxmusterLinuxclient7/config.py 96.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   56.73%   61.47%   +4.74%     
==========================================
  Files          18       18              
  Lines        1537     1529       -8     
==========================================
+ Hits          872      940      +68     
+ Misses        665      589      -76     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@dorianim dorianim force-pushed the feat/yaml-config branch 3 times, most recently from 78b9018 to 82d748d Compare November 15, 2025 12:33
@dorianim dorianim merged commit 857bd9b into master Nov 15, 2025
5 checks passed
@dorianim dorianim deleted the feat/yaml-config branch November 15, 2025 12:45
@dorianim dorianim mentioned this pull request Nov 15, 2025
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consolidate config file

2 participants