3 Commits

Author SHA1 Message Date
e6ef6e11d6 chore(release): update package version to 0.0.9
All checks were successful
Release / test (push) Successful in -33m2s
Release / release (push) Successful in -32m47s
Release / pkg-aur (push) Successful in -33m46s
Release / pkg-deb (push) Successful in -33m19s
Release / pkg-rpm (push) Successful in -32m33s
2026-04-12 11:08:47 +02:00
f9dcb0b561 Merge branch 'main' of git.warky.dev:wdevs/unitdore 2026-04-12 11:08:38 +02:00
69069a2196 fix(podman): handle invalid JSON output gracefully 2026-04-12 11:08:20 +02:00
4 changed files with 5 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ import (
"github.com/spf13/cobra"
)
var version = "0.0.8"
var version = "0.0.9"
var configPath string

View File

@@ -1,6 +1,6 @@
# Maintainer: Hein (Warky Devs) <hein@warky.dev>
pkgname=unitdore
pkgver=0.0.8
pkgver=0.0.9
pkgrel=1
pkgdesc="A door you open and close for container units — manage containers via systemd"
arch=('x86_64' 'aarch64')

View File

@@ -1,5 +1,5 @@
Name: unitdore
Version: 0.0.8
Version: 0.0.9
Release: 1%{?dist}
Summary: Manage container units via systemd

View File

@@ -33,7 +33,8 @@ func (p *Podman) ListRunning() ([]Container, error) {
var raw []podmanContainer
if err := json.Unmarshal(out, &raw); err != nil {
return nil, fmt.Errorf("parsing podman output: %w", err)
// Podman installed but output is not valid JSON (e.g. OCI runtime misconfigured)
return nil, nil
}
var containers []Container