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
63           See the RMADISON_URL_MAP_ variable below for a method to add new
64           shorthands.
65
66       --version
67           show version and exit
68
69       --no-conf, --noconf
70           don't read the devscripts configuration files
71
72       ARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g.
73       --architecture=m68k,i386
74

CONFIGURATION VARIABLES

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

NOTES

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

SEE ALSO

118       dak(1), madison-lite(1)
119

AUTHOR

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