packaging: tidy up Debian packaging

Add manual pages for cib and cibtool.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-08-04 09:34:14 +03:00
parent d8aaa03624
commit 57d5f7f11d
6 changed files with 53 additions and 4 deletions
+24
View File
@@ -0,0 +1,24 @@
.TH CIB 1
.SH NAME
cib \- Radicle CI broker
.SH SYNOPSIS
.B cib
\fB\-\-config\fR \fIFILE\fR
.IR COMMAND " [" OPTIONS "] [" ARGS ]
.SH DESCRIPTION
.B cib
is the Radicle CI broker.
.PP
For complete information about command line use, run
.BR "cib help" .
.SH OPTIONS
.TP
.BR " \-\-config" =\fIFILE\fR
Read
.I FILE
as the configuration file.
There is no default configuration file.
.SH AUTHORS
.UR https://radicle.xyz/
The Radicle Project
.UE
+20
View File
@@ -0,0 +1,20 @@
.TH CIBTOOL 1
.SH NAME
cibtool \- manage Radicle CI broker
.SH SYNOPSIS
.B cibtool
.RI [ GLOBAL-OPTIONS ]
.IR COMMAND " [" OPTIONS "] [" ARGS ]
.SH DESCRIPTION
.B cibtool
is a management tool for the Radicle CI broker.
.PP
For complete information about command line use, run
.BR "cibtool help" .
.SH AUTHORS
.UR https://radicle.xyz/
The Radicle Project
.UE
.SH "SEE ALSO"
.BR cib (1)
+3
View File
@@ -29,6 +29,9 @@ arch="$(dpkg --print-architecture)"
deb="../${name}_${version}_${arch}.deb"
changes="../${name}_${version}_${arch}.changes"
rm -f "../${name}-dbgsym_${version}_${arch}.deb"
sed -i '/dbgsym/d' "$changes"
ls -l "$deb"
dpkg -c "$deb"
lintian -i "$changes"
+2 -2
View File
@@ -1,2 +1,2 @@
radicle-ci-broker binary: initial-upload-closes-no-bugs
radicle-ci-broker binary: no-manual-page
radicle-ci-broker: embedded-library libyaml [usr/bin/cib]
radicle-ci-broker: embedded-library libyaml [usr/bin/cibtool]
+2
View File
@@ -0,0 +1,2 @@
cib.1
cibtool.1
+2 -2
View File
@@ -7,8 +7,8 @@ override_dh_auto_build:
true
override_dh_auto_install:
cargo install --offline --locked --path=. --root=debian/radicle-ci-broker
rm -f debian/*/.crates*.*
cargo install --offline --locked --path=. --root=debian/radicle-ci-broker/usr --bin cib --bin cibtool
find debian -name '.crates*.*' -delete
override_dh_auto_test:
echo tests are disabled, for now