-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdupload.conf
100 lines (87 loc) · 2.72 KB
/
dupload.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# This is the configuration for dupload.
# It is intended to be read and evaluated from Perl.
#
### PLEASE READ THE dupload.conf(5) MANUAL PAGE
#
# reading the dupload(1) manual page is also advisable
package config;
# Global variables:
# $default_host - the host to use if no --to option is used
# $no_parentheses_to_fullname - boolean, as its name says
#
# Per-host variables:
# fqdn - full hostname
# method - ftp, scp, scpb or rsync
# (defaults to ftp)
# login - user name to use on the remote host
# (defaults to 'anonymous' for FTP and local username for SSH methods)
# use "user\@remote" for firewall logins
# incoming - directory where to upload first
# queuedir - directory where to move if upload succeeded
# mailto - address for announcement email (stable)
# mailtx - address for announcement email (unstable)
# cc - address for carbon copy of the announcement email
# fullname - the full name to use in the announcement email
# (defaults to what your local MTA uses)
# visibleuser - the username to use in the announcement email
# (defaults to local username)
# visiblename - the domainname to use in the announcement email
# (defaults to what your local MTA uses)
# Example of a default host:
#$default_host = "anonymous-ftp-master";
$default_host = "beingmeta";
# -----------------
# Pre-defined hooks
# -----------------
# Check changes file for valid signatures
# Using GPG:
$preupload{'changes'} = '/usr/share/dupload/gpg-check %1';
# or using PGP:
# $preupload{'changes'} = '/usr/share/dupload/pgp-check %1';
# Lintian check of packages
# $preupload{'deb'} = 'lintian -v -i %1';
# Other hooks:
# $preupload{'sourcepackage'}
# $preupload{'file'}
# $preupload{'package'}
# $postupload{'changes'}
# $postupload{'sourcepackage'}
# $postupload{'file'}
# $postupload{'deb'}
# $postupload{'package'}
# Note: hooks can also be defined in a per-host basis, this
# overrides globaly defined hooks.
$cfg{'beingmeta'} = {
fqdn => "dev.beingmeta.com",
method => "scp",
login => "bmadmin",
incoming => "/srv/repo/apt/incoming",
dinstall_runs => 1
};
$cfg{'xenial'} = {
fqdn => "dev.beingmeta.com",
method => "scp",
login => "bmadmin",
incoming => "/srv/repo/apt/incoming/xenial",
dinstall_runs => 1
};
$cfg{'wily'} = {
fqdn => "dev.beingmeta.com",
method => "scp",
login => "bmadmin",
incoming => "/srv/repo/apt/incoming/wily",
dinstall_runs => 1
};
$cfg{'trusty'} = {
fqdn => "dev.beingmeta.com",
method => "scp",
login => "bmadmin",
incoming => "/srv/repo/apt/incoming/trusty",
dinstall_runs => 1,
nonus => 0
};
# Don't remove the following line. Perl needs it.
1;
## Local Variables: ##
## mode:perl ##
## End: ##