Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@ jobs:
run: pacman -Syu --noconfirm --needed base-devel git sudo rust

- name: Build and install AUR package
env:
COMMIT: ${{ github.event.pull_request.head.sha || github.sha }}
run: |
useradd -m builder
echo "builder ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
chown -R builder:builder "${GITHUB_WORKSPACE}"
su - builder -c "cd '${GITHUB_WORKSPACE}/packaging/archlinux' && sed -i \"s|^source=.*$|source=(\\\"lsu::git+https://github.com/${GITHUB_REPOSITORY}.git#commit=${GITHUB_SHA}\\\")|\" PKGBUILD && makepkg --syncdeps --noconfirm --cleanbuild --clean --install"
su - builder -c "cd '${GITHUB_WORKSPACE}/packaging/archlinux' && sed -i \"s|^source=.*$|source=(\\\"lsu::git+https://github.com/${GITHUB_REPOSITORY}.git#commit=${COMMIT}\\\")|\" PKGBUILD && makepkg --syncdeps --noconfirm --cleanbuild --clean --install"

ebuild:
runs-on: ubuntu-latest
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,23 @@ jobs:
files: lcov.info
codecov_yml_path: .github/codecov.yml
fail_ci_if_error: false

coverage-gate:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v7

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview

- name: Install cargo-llvm-cov
uses: taiki-e/install-action@cargo-llvm-cov

- name: Enforce coverage ratchet
run: >
cargo llvm-cov --all-targets --all-features --workspace
--fail-under-lines 89 --fail-under-functions 93
79 changes: 0 additions & 79 deletions CLAUDE.md

This file was deleted.

8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ cargo run --release --
## Usage

```text
lsu v0.1.2
lsu v0.1.3
apache v2 (c) 2026 l5yth

Usage: lsu [OPTIONS]
Expand Down Expand Up @@ -108,7 +108,11 @@ In-app keys:
- `r`: refresh now
- `↑` / `↓`: move selection in service unit list
- `l` or `enter`: open detailed logs for selected service
- Log view: `↑` / `↓` scroll logs, `b` or `esc` return to list
- `s`: start, restart, or stop the selected service
- `e`: enable or disable the selected service
- Action prompts: `y` or `enter` to confirm, `n` or `esc` to cancel
- Running services prompt: `r` to restart, `s` to stop, `esc` to cancel
- Log view: `↑` / `↓` scroll logs, `l` refresh logs, `b` or `esc` return to list

## Development

Expand Down
4 changes: 4 additions & 0 deletions packaging/gentoo/app-misc/lsu/metadata.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
SPDX-FileCopyrightText: 2026 l5yth
SPDX-License-Identifier: Apache-2.0
-->
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
Expand Down
Loading