Skip to content

Merged Users and Manager services#596

Merged
mchf merged 19 commits intomasterfrom
merge_services
Jun 7, 2023
Merged

Merged Users and Manager services#596
mchf merged 19 commits intomasterfrom
merge_services

Conversation

@mchf
Copy link
Copy Markdown
Contributor

@mchf mchf commented May 30, 2023

Problem

Purpose is to save some resources. As there is low benefit from having users in separate process, here it patched to run in same process as the manager service.

Solution

Short description of the fix.

Testing

  • Added a new unit test
  • Tested manually

Screenshots

If the fix affects the UI attach some screenshots here.

@mchf
Copy link
Copy Markdown
Contributor Author

mchf commented May 30, 2023

I've tried to register different objects per Users1 and Agama1. However d-feet shows the same object for both of them

dbus_users

@coveralls
Copy link
Copy Markdown

coveralls commented May 30, 2023

Pull Request Test Coverage Report for Build 5199874486

  • 15 of 24 (62.5%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.03%) to 75.934%

Changes Missing Coverage Covered Lines Changed/Added Lines %
service/lib/agama/dbus/language_service.rb 0 9 0.0%
Totals Coverage Status
Change from base Build 5199001943: 0.03%
Covered Lines: 5348
Relevant Lines: 6801

💛 - Coveralls

Copy link
Copy Markdown
Contributor

@imobachgs imobachgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good. Please, add an entry to the changes file referencing this PR. Thanks!

@imobachgs
Copy link
Copy Markdown
Contributor

Please, fix the conflicts too.

mchf and others added 14 commits June 7, 2023 12:52
Otherwise our main loop would briefly expose an empty object tree,
producing "D-Bus Error" in the web UI

This needs DBus::BusConnection#request_name
Will be switched to 0.23.0.beta1 within 1 hour ;-)
Also relax the dependency to allow anything < 1.0

On the assumption that its maintainer (myself) will be quick to fix any
API problems that may occur on version upgrades.
@mchf mchf force-pushed the merge_services branch from bafa36f to 80b749c Compare June 7, 2023 11:41
@mchf mchf marked this pull request as ready for review June 7, 2023 11:43
Copy link
Copy Markdown
Contributor

@imobachgs imobachgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost LGTM :-) Just two small things.

@mchf mchf force-pushed the merge_services branch from 08d51aa to d88d260 Compare June 7, 2023 12:20
@mchf mchf merged commit 6876d50 into master Jun 7, 2023
@mchf mchf deleted the merge_services branch June 7, 2023 12:47
@imobachgs imobachgs mentioned this pull request Aug 2, 2023
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.

Merge the users service into the manager

4 participants