agama-project / agama

A service-based Linux installer
https://agama-project.github.io/
GNU General Public License v2.0
143 stars 43 forks source link

feat(rust): Redesigned agama logs command to have functionality in the backend and accessible via HTTP API #1720

Closed mchf closed 2 weeks ago

mchf commented 3 weeks ago

Problem

Agama's CLI logs command used to be implemented with idea CLI running on same machine as real installation (the backend). As this is not true anymore and we have installer's backend and frontend separated with HTTP API, which makes remote access possible, the logs command had to be updated to support this idea.

Its trello card

Solution

Testing

coveralls commented 3 weeks ago

Pull Request Test Coverage Report for Build 11708505683

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
rust/agama-cli/src/lib.rs 0 1 0.0%
rust/agama-lib/src/base_http_client.rs 0 5 0.0%
rust/agama-lib/src/manager/http_client.rs 0 16 0.0%
rust/agama-cli/src/logs.rs 0 23 0.0%
rust/agama-server/src/manager/web.rs 0 28 0.0%
rust/agama-lib/src/logs.rs 0 98 0.0%
<!-- Total: 0 171 0.0% -->
Files with Coverage Reduction New Missed Lines %
rust/agama-cli/src/lib.rs 1 0.0%
rust/agama-cli/src/logs.rs 1 0.0%
<!-- Total: 2 -->
Totals Coverage Status
Change from base Build 11707344472: -0.06%
Covered Lines: 16895
Relevant Lines: 23653

💛 - Coveralls