Skip to content
Merged
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
26 changes: 4 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y \
pkg-config \
libglib2.0-dev \
libgirepository1.0-dev \
libgdk-pixbuf2.0-dev \
libpango1.0-dev \
libcairo2-dev \
libgtk-4-dev \
libadwaita-1-dev
libdbus-1-dev

- uses: dtolnay/rust-toolchain@stable
with:
Expand Down Expand Up @@ -79,13 +73,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y \
pkg-config \
libglib2.0-dev \
libgirepository1.0-dev \
libgdk-pixbuf2.0-dev \
libpango1.0-dev \
libcairo2-dev \
libgtk-4-dev \
libadwaita-1-dev
libdbus-1-dev

- uses: dtolnay/rust-toolchain@stable

Expand Down Expand Up @@ -137,7 +125,7 @@ jobs:
matrix:
include:
- target: x86_64-unknown-linux-gnu
packages: nmrs nmrs-gui
packages: nmrs
- target: aarch64-unknown-linux-gnu
packages: nmrs
steps:
Expand All @@ -148,13 +136,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y \
pkg-config \
libglib2.0-dev \
libgirepository1.0-dev \
libgdk-pixbuf2.0-dev \
libpango1.0-dev \
libcairo2-dev \
libgtk-4-dev \
libadwaita-1-dev
libdbus-1-dev

- name: Install cross-compilation tools
if: matrix.target == 'aarch64-unknown-linux-gnu'
Expand Down
80 changes: 0 additions & 80 deletions .github/workflows/nix.yml

This file was deleted.

89 changes: 0 additions & 89 deletions .github/workflows/release-gui.yml

This file was deleted.

3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ __pycache__/
vendor/
/pkg/
/src/
*.pkg.tar.zst
*.pkg.tar.zst
Cargo.lock
7 changes: 1 addition & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ Context for AI agents working in this repository.
## Project overview

`nmrs` is a Rust library for managing network connections via NetworkManager over D-Bus.
The workspace has two crates:

- **`nmrs/`** — the core library (async, D-Bus, no GUI dependencies)
- **`nmrs-gui/`** — a GTK4/libadwaita GUI frontend

## Architecture

Expand Down Expand Up @@ -79,11 +75,10 @@ Atomic commits — one logical change per commit.

## Changelog

[Keep a Changelog](https://keepachangelog.com/) format in `nmrs/CHANGELOG.md` and `nmrs-gui/CHANGELOG.md`.
[Keep a Changelog](https://keepachangelog.com/) format in `nmrs/CHANGELOG.md`.
Sections: `Added`, `Changed`, `Fixed`. Link PRs/issues in parentheses.

## Things to watch out for

- The `VpnCredentials` type is deprecated — prefer `WireGuardConfig` for new WireGuard code.
- `nmrs-gui` depends on GTK4/libadwaita and only builds on Linux with those dev libs installed.

4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# Changelog

See the per-crate changelogs:
- [`nmrs/CHANGELOG.md`](./nmrs/CHANGELOG.md) — Core library
- [`nmrs-gui/CHANGELOG.md`](./nmrs-gui/CHANGELOG.md) — GUI application
See [`nmrs/CHANGELOG.md`](./nmrs/CHANGELOG.md) for the full changelog.
5 changes: 0 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,13 @@ docker run --rm nmrs-lib cargo test -p nmrs --lib
docker run --rm -it -v $(pwd):/app nmrs-lib # mounts local changes
```

It goes without saying that this image only works with nmrs. nmrs-gui requires GTK deps which in that case, you are better off just running a VM or learning how to use Linux on a machine instead.

If you decide to run the shell, ensure you run all commands from within the nmrs directory, not root.
```bash
cargo test -p nmrs # run library tests
cargo build -p nmrs # build the library
cargo check # you get the point...
```

**To develop nmrs-gui, you'll need:**
- GTK4 and libadwaita development libraries
- A Wayland compositor
## When your branch falls behind `master`

If the respective branch for a PR goes out of sync, I prefer you _rebase_.
Expand Down
Loading
Loading