Radish alpha
r
rad:zwTxygwuz5LDGBq255RA2CbNGrz8
Radicle CI broker
Radicle
Git
packaging: tidy up Debian packaging
Lars Wirzenius committed 8 months ago
commit 57d5f7f11de149bfb31ccab287e5a999a15ceb8d
parent d8aaa03
6 files changed +53 -4
added cib.1
@@ -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
added cibtool.1
@@ -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)
+

modified debian/build-deb
@@ -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"
modified debian/lintian-overrides
@@ -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]
added debian/radicle-ci-broker.manpages
@@ -0,0 +1,2 @@
+
cib.1
+
cibtool.1
modified debian/rules
@@ -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