Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Restore tracking server in a few places
· 64003274
Luca Falavigna
authored
May 19, 2018
and
Joerg Jaspert
committed
May 19, 2018
64003274
Merge branch 'tracking' into 'master'
· 49085812
Joerg Jaspert
authored
May 19, 2018
Restore tracking server in a few places See merge request
!41
49085812
Show whitespace changes
Inline
Side-by-side
daklib/announce.py
View file @
49085812
...
...
@@ -132,7 +132,7 @@ def announce_accept(upload):
send_mail
(
message
,
whitelists
=
whitelists
)
if
accepted_to_real_suite
and
upload
.
sourceful
:
# sen
f
mail to announce lists and
p
ack
ages
server
# sen
d
mail to announce lists and
tr
ack
ing
server
announce
=
set
()
for
suite
in
upload
.
suites
:
if
suite
.
policy_queue
is
None
or
suite
in
upload
.
from_policy_suites
:
...
...
daklib/queue.py
View file @
49085812
...
...
@@ -252,8 +252,8 @@ class Upload(object):
self
.
Subst
[
"
__MAINTAINER_TO__
"
]
+=
"
, %s
"
%
self
.
pkg
.
changes
[
"
sponsoremail
"
]
session
.
close
()
if
"
Dinstall::
P
ack
ages
Server
"
in
cnf
and
"
source
"
in
self
.
pkg
.
changes
:
self
.
Subst
[
"
__MAINTAINER_TO__
"
]
+=
"
\n
Bcc:
%s@%s
"
%
(
self
.
pkg
.
changes
[
"
source
"
],
cnf
[
"
Dinstall::
P
ack
ages
Server
"
])
if
"
Dinstall::
Tr
ack
ing
Server
"
in
cnf
and
"
source
"
in
self
.
pkg
.
changes
:
self
.
Subst
[
"
__MAINTAINER_TO__
"
]
+=
"
\n
Bcc:
dispatch@%s
"
%
(
cnf
[
"
Dinstall::
Tr
ack
ing
Server
"
])
# Apply any global override of the Maintainer field
if
cnf
.
get
(
"
Dinstall::OverrideMaintainer
"
):
...
...
@@ -343,9 +343,9 @@ class Upload(object):
if
action
:
self
.
update_subst
()
self
.
Subst
[
"
__ANNOUNCE_LIST_ADDRESS__
"
]
=
announce_list
if
cnf
.
get
(
"
Dinstall::
P
ack
ages
Server
"
)
and
\
if
cnf
.
get
(
"
Dinstall::
Tr
ack
ing
Server
"
)
and
\
"
source
"
in
self
.
pkg
.
changes
[
"
architecture
"
]:
trackingsendto
=
"
Bcc:
%s@%s
"
%
(
self
.
pkg
.
changes
[
"
source
"
],
cnf
[
"
Dinstall::
P
ack
ages
Server
"
])
trackingsendto
=
"
Bcc:
dispatch@%s
"
%
(
cnf
[
"
Dinstall::
Tr
ack
ing
Server
"
])
self
.
Subst
[
"
__ANNOUNCE_LIST_ADDRESS__
"
]
+=
"
\n
"
+
trackingsendto
mail_message
=
utils
.
TemplateSubst
(
self
.
Subst
,
announcetemplate
)
...
...