1RMADISON(1)                                                        RMADISON(1)
2
3
4

NAME

6       rmadison -- Remotely query the Debian archive database about packages
7

SYNOPSIS

9       rmadison [OPTIONS] PACKAGE ...
10

DESCRIPTION

12       dak ls queries the Debian archive database ("projectb") and displays
13       which package version is registered per architecture/component/suite.
14       The CGI at https://qa.debian.org/madison.php provides that service
15       without requiring SSH access to ftp-master.debian.org or the mirror on
16       mirror.ftp-master.debian.org. This script, rmadison, is a command line
17       frontend to this CGI.
18

OPTIONS

20       -a, --architecture=ARCH
21           only show info for ARCH(s)
22
23       -b, --binary-type=TYPE
24           only show info for binary TYPE
25
26       -c, --component=COMPONENT
27           only show info for COMPONENT(s)
28
29       -g, --greaterorequal
30           show buildd 'dep-wait pkg >= {highest version}' info
31
32       -G, --greaterthan
33           show buildd 'dep-wait pkg >> {highest version}' info
34
35       -h, --help
36           show this help and exit
37
38       -s, --suite=SUITE
39           only show info for this suite
40
41       -r, --regex
42           treat PACKAGE as a regex
43
44           Note: Since -r can easily DoS the database ("-r ."), this option is
45           not supported by the CGI on qa.debian.org and most other
46           installations.
47
48       -S, --source-and-binary
49           show info for the binary children of source pkgs
50
51       -t, --time
52           show projectb snapshot and reload time (not supported by all
53           archives)
54
55       -u, --url=URL[,URL ...]
56           use URL for the query. Supported shorthands are
57            debian https://api.ftp-master.debian.org/madison
58            new https://api.ftp-master.debian.org/madison?s=new
59            qa https://qa.debian.org/madison.php
60            ubuntu https://people.canonical.com/~ubuntu-archive/madison.cgi
61            udd https://qa.debian.org/cgi-bin/madison.cgi
62            archive https://qa.debian.org/cgi-bin/madison.cgi?table=archived
63            ports https://qa.debian.org/cgi-bin/madison.cgi?table=ports
64
65           See the RMADISON_URL_MAP_ variable below for a method to add new
66           shorthands.
67
68       --version
69           show version and exit
70
71       --no-conf, --noconf
72           don't read the devscripts configuration files
73
74       ARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g.
75       --architecture=amd64,i386
76

CONFIGURATION VARIABLES

78       The two configuration files /etc/devscripts.conf and ~/.devscripts are
79       sourced by a shell in that order to set configuration variables.
80       Command line options can be used to override configuration file
81       settings. Environment variable settings are ignored for this purpose.
82       The currently recognised variables are:
83
84       RMADISON_URL_MAP_SHORTHAND=URL
85           Add an entry to the set of shorthand URLs listed above. SHORTHAND
86           should be replaced with the shorthand form to be used to refer to
87           URL.
88
89           Multiple shorthand entries may be specified by using multiple
90           RMADISON_URL_MAP_* variables.
91
92       RMADISON_DEFAULT_URL=URL
93           Set the default URL to use unless overridden by a command line
94           option.  For Debian this defaults to debian. For Ubuntu this
95           defaults to ubuntu.
96
97       RMADISON_ARCHITECTURE=ARCH
98           Set the default architecture to use unless overridden by a command
99           line option.  To run an unrestricted query when
100           RMADISON_ARCHITECTURE is set, use --architecture='*'.
101
102       RMADISON_SSL_CA_FILE=FILE
103           Use the specified CA file instead of the default CA bundle for
104           curl/wget, passed as --cacert to curl, and as --ca-certificate to
105           wget.
106
107       RMADISON_SSL_CA_PATH=PATH
108           Use the specified CA directory instead of the default CA bundle for
109           curl/wget, passed as --capath to curl, and as --ca-directory to
110           wget.
111

NOTES

113       dak ls was formerly called madison.
114
115       The protocol used by rmadison is fairly simple, the CGI accepts query
116       the parameters a, b, c, g, G, r, s, S, t, and package. The parameter
117       text is passed to enable plain-text output.
118

SEE ALSO

120       dak(1), madison-lite(1)
121

AUTHOR

123       rmadison and https://qa.debian.org/madison.php were written by
124       Christoph Berg <myon@debian.org>. dak was written by James Troup
125       <james@nocrew.org>, Anthony Towns <ajt@debian.org>, and others.
126
127
128
129Debian Utilities                  2023-02-05                       RMADISON(1)
Impressum