Skip to content

Reorganize agama-lib#636

Merged
imobachgs merged 9 commits intomasterfrom
refactor-rust
Jun 22, 2023
Merged

Reorganize agama-lib#636
imobachgs merged 9 commits intomasterfrom
refactor-rust

Conversation

@imobachgs
Copy link
Copy Markdown
Contributor

@imobachgs imobachgs commented Jun 21, 2023

The agama-lib package is growing with support for more settings and services. This PR proposes to change the approach a bit and organize the code using a different module for each topic (users, storage, etc.). So now we have network, users, software and storage modules which contain the logic specific to those topics.

We introduce this approach in #622 and it seems to work better than the previous one.

@imobachgs imobachgs changed the title Refactor-rust Reorganize agama-lib Jun 21, 2023
@coveralls
Copy link
Copy Markdown

coveralls commented Jun 21, 2023

Pull Request Test Coverage Report for Build 5345382518

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 76.83%

Totals Coverage Status
Change from base Build 5333211377: 0.0%
Covered Lines: 5644
Relevant Lines: 7102

💛 - Coveralls

Base automatically changed from network-cli to master June 21, 2023 10:56
@imobachgs imobachgs marked this pull request as ready for review June 22, 2023 05:28
Copy link
Copy Markdown
Contributor

@mvidner mvidner left a comment

Choose a reason for hiding this comment

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

I want to understand the genaral meaning of Store, Settings, Client better.
I'll render the docs and look there.

Only Proxy is clear: the API exactly corresponding to D-Bus

* Currently, the macro cannot be used from another package.
* Ideally, settings should live on its own package.
* Then we should use something like proc-macro-crate to find
  the correct name of the Crate.
Copy link
Copy Markdown
Contributor

@mvidner mvidner left a comment

Choose a reason for hiding this comment

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

Thanks for the description!

@imobachgs imobachgs merged commit 97201ea into master Jun 22, 2023
@imobachgs imobachgs deleted the refactor-rust branch June 22, 2023 12:38
@imobachgs imobachgs mentioned this pull request Aug 2, 2023
@coveralls
Copy link
Copy Markdown

coveralls commented Dec 20, 2024

Coverage Status

Changes unknown
when pulling edd839c on refactor-rust
into ** on network-cli**.

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.

4 participants