1WAIVERDB-CLI(1) WaiverDB WAIVERDB-CLI(1)
2
3
4
6 waiverdb-cli - WaiverDB Client
7
9 waiverdb-cli [OPTIONS]
10
12 waiverdb-cli is a CLI tool for reading and modifying WaiverDB (compan‐
13 ion service to ResultsDB, for recording waivers against).
14
16 -C, --config-file PATH
17 Specify a config file to use.
18
19 -r, --result-id INTEGER
20 Specify one or more results to be waived.
21
22 -s, --subject TEXT
23 Deprecated. Use –subject-identifier and –subject-type instead.
24 Subject for a result to waive.
25
26 -i, --subject-identifier TEXT
27 Subject identifier for a result to waive.
28
29 -T, --subject-type TEXT
30 Subject type for a result to waive.
31
32 -t, --testcase TEXT
33 Specify a testcase for the subject.
34
35 -S, --scenario SCENARIO
36 Specify a scenario for a result to waive.
37
38 -p, --product-version TEXT
39 Specify one of PDC’s product version identifiers.
40
41 --waived, --no-waived
42 Whether or not the result is waived.
43
44 -c, --comment TEXT
45 A comment explaining why the result is waived.
46
47 -u, --username TEXT
48 Username on whose behalf the caller is proxying.
49
50 -h, --help
51 Print usage help and exit.
52
54 /usr/share/doc/waiverdb/client.conf.example
55 Template for configuration file.
56
57 /etc/waiverdb/client.conf
58 Default configuration file.
59
61 Waive test results with IDs 47 and 48 and specific product version:
62
63 waiverdb-cli -r 47 -r 48 -p "fedora-28" -c "This is fine"
64
65 Waive test results with specific subject and product version:
66
67 waiverdb-cli -t dist.rpmdeplint \
68 -s '{"item": "qclib-1.3.1-3.fc28", "type": "koji_build"}' \
69 -p "fedora-28" -c "This is expected for non-x86 packages"
70
71 Waive test results with a specific subject and scenario:
72
73 waiverdb-cli -t update.install_default_update_live \
74 -i FEDORA-2020-a70501de3d -T koji_build \
75 -S "fedora.updates-everything-boot-iso.x86_64.uefi" \
76 -c "This is ok"
77
79 Red Hat, Inc. and others
80
82 2021, Red Hat, Inc. and others
83
84
85
86
871.4 Nov 10, 2021 WAIVERDB-CLI(1)