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
20 changes: 20 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
cff-version: 1.2.0
title: 'zig-common: the Linux Zig library under the stackhands tools'
message: If you use zig-common, please cite it using the metadata below.
type: software
authors:
- given-names: Rohit
family-names: Goswami
email: rgoswami@ieee.org
orcid: https://orcid.org/0000-0002-2393-8056
license: MIT
repository-code: https://github.com/stackhands/zig-common
url: https://stackhands.github.io/zig-common/
keywords:
- Zig
- Linux
- system calls
- atomic writes
abstract: 'Linux-only Zig library shared by the stackhands tools: system calls with
named errors, descriptor-checked file handling, child processes, atomic ACL-preserving
writes, Python-compatible JSON, text and argparse, and syslog or journald events.'
2 changes: 1 addition & 1 deletion COMPAT.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| zig-common | Zig | tools built on it |
|---|---|---|
| 0.13.0 | 0.17.1 | eb-keep-logs and eessi-arch-guard on their next releases (`syslog` without the functions that take no `Identity`; `emitFor` and `send` are unchanged); eb-keep-logs builds against it in CI |
| 0.13.0 | 0.17.1 | eb-local 3.5.0; eb-keep-logs and eessi-arch-guard on their next releases (`syslog` without the functions that take no `Identity`; `emitFor` and `send` are unchanged); eb-keep-logs builds against it in CI |
| 0.12.0 | 0.17.1 | eb-keep-logs (`syslog.emitFor` with its own `Identity`) and eessi-arch-guard (`syslog.send`, the transport under its own formatting) on their next releases; eb-keep-logs builds against it in CI |
| 0.11.0 | 0.17.1 | eb-keep-logs and eessi-arch-guard on their next releases (`syslog`: the RFC 5424 and journald emitter each carried a copy of); eb-keep-logs builds against it in CI |
| 0.10.0 | 0.17.1 | eessi-arch-guard and eb-staged-rebuild (`fsx.mkdtemp`, `fsx.normPath`, `fsx.absPath`); eb-keep-logs builds against it in CI |
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ the entry and its hash.
| `atomic` | `atomic_write`: replace a file only after its bytes, owner, mode and every ACL form (GPFS NFSv4, NFSv4, POSIX access) are durable and read back, and the temporary file has been closed; fault points before write, fsync and rename |
| `syslog` | events to a collector: a `unix:`, `journal:`, `udp:` or `tcp:` target, RFC 5424 and native journald framing for the `Identity` the caller names, and `send`, the transport alone, with a timeout; nothing here fails the caller |
| `cli` | messages to stdout and stderr that ignore a closed stream, exit code 2 for a refused invocation, the version line |
| `argparse` | a declarative argument parser compatible with Python 3.14 argparse, with a lenient policy preset for Slurm TaskProlog tools |

## Test

Expand Down
1 change: 1 addition & 0 deletions changelog.d/+readme-argparse-compat-eb-local.doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
The README module table lists `argparse`, and COMPAT.md names eb-local as a consumer of 0.13.0.
Loading