Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
喜羊羊3508
Dak
提交
92929b13
D
Dak
项目概览
喜羊羊3508
/
Dak
12 个月 前同步成功
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Dak
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
92929b13
编写于
7月 27, 2011
作者:
M
Mark Hymers
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Simplify config path
Signed-off-by:
N
Mark Hymers
<
mhy@debian.org
>
上级
b8140e33
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
8 addition
and
14 deletion
+8
-14
config/backports/dak.conf
config/backports/dak.conf
+1
-4
config/debian/dak.conf
config/debian/dak.conf
+1
-4
dak/transitions.py
dak/transitions.py
+5
-5
daklib/queue.py
daklib/queue.py
+1
-1
未找到文件。
config/backports/dak.conf
浏览文件 @
92929b13
...
...
@@ -29,10 +29,7 @@ Dinstall
CloseBugs
"false"
;
OverrideDisparityCheck
"false"
;
DefaultSuite
"lenny-backports"
;
Reject
{
ReleaseTransitions
"/srv/backports-master.debian.org/hints/transitions.yaml"
;
};
//
If
set
,
only
send
mails
to
addresses
listed
there
.
//
format
of
entries
:
one
entry
per
line
.
Either
an
email
address
directly
,
or
a
regular
expression
,
//
prefixed
by
"RE:"
.
Examples
:
"jane.doe@domain.com"
or
"RE:jane[^@]@domain.com"
,
where
the
first
will
...
...
config/debian/dak.conf
浏览文件 @
92929b13
...
...
@@ -21,10 +21,7 @@ Dinstall
OverrideDisparityCheck
"true"
;
DefaultSuite
"unstable"
;
LintianTags
"/srv/ftp-master.debian.org/dak/config/debian/lintian.tags"
;
Reject
{
ReleaseTransitions
"/srv/ftp.debian.org/web/transitions.yaml"
;
};
//
if
you
setup
an
own
dak
repository
and
want
to
upload
Debian
packages
you
most
possibly
want
//
to
set
the
following
option
to
a
real
path
/
filename
and
then
enter
those
mail
addresses
that
//
you
want
to
be
able
to
receive
mails
generated
by
your
dak
installation
.
This
avoids
spamming
...
...
dak/transitions.py
浏览文件 @
92929b13
...
...
@@ -255,7 +255,7 @@ def write_transitions(from_trans):
"""
trans_file
=
Cnf
[
"Dinstall::Re
ject::Re
leaseTransitions"
]
trans_file
=
Cnf
[
"Dinstall::ReleaseTransitions"
]
trans_temp
=
trans_file
+
".tmp"
trans_lock
=
lock_file
(
trans_file
)
...
...
@@ -328,7 +328,7 @@ def temp_transitions_file(transitions):
def
edit_transitions
():
""" Edit the defined transitions. """
trans_file
=
Cnf
[
"Dinstall::Re
ject::Re
leaseTransitions"
]
trans_file
=
Cnf
[
"Dinstall::ReleaseTransitions"
]
edit_file
=
temp_transitions_file
(
load_transitions
(
trans_file
))
editor
=
os
.
environ
.
get
(
"EDITOR"
,
"vi"
)
...
...
@@ -568,13 +568,13 @@ def main():
init
()
# Check if there is a file defined (and existant)
transpath
=
Cnf
.
get
(
"Dinstall::Re
ject::Re
leaseTransitions"
,
""
)
transpath
=
Cnf
.
get
(
"Dinstall::ReleaseTransitions"
,
""
)
if
transpath
==
""
:
utils
.
warn
(
"Dinstall::Re
ject::Re
leaseTransitions not defined"
)
utils
.
warn
(
"Dinstall::ReleaseTransitions not defined"
)
sys
.
exit
(
1
)
if
not
os
.
path
.
exists
(
transpath
):
utils
.
warn
(
"ReleaseTransitions file, %s, not found."
%
(
Cnf
[
"Dinstall::Re
ject::Re
leaseTransitions"
]))
(
Cnf
[
"Dinstall::ReleaseTransitions"
]))
sys
.
exit
(
1
)
# Also check if our temp directory is defined and existant
temppath
=
Cnf
.
get
(
"Dir::TempPath"
,
""
)
...
...
daklib/queue.py
浏览文件 @
92929b13
...
...
@@ -1840,7 +1840,7 @@ class Upload(object):
# Also only check if there is a file defined (and existant) with
# checks.
transpath
=
cnf
.
get
(
"Dinstall::Re
ject::Re
leaseTransitions"
,
""
)
transpath
=
cnf
.
get
(
"Dinstall::ReleaseTransitions"
,
""
)
if
transpath
==
""
or
not
os
.
path
.
exists
(
transpath
):
return
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录