Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
喜羊羊3508
Dak
提交
8f1a6ffd
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,发现更多精彩内容 >>
提交
8f1a6ffd
编写于
11月 04, 2009
作者:
M
Mark Hymers
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove accepted references
Signed-off-by:
N
Mark Hymers
<
mhy@debian.org
>
上级
f3cbed68
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
5 addition
and
13 deletion
+5
-13
config/debian/dak.conf
config/debian/dak.conf
+0
-1
dak/check_overrides.py
dak/check_overrides.py
+0
-7
dak/import_known_changes.py
dak/import_known_changes.py
+1
-1
daklib/queue.py
daklib/queue.py
+4
-4
未找到文件。
config/debian/dak.conf
浏览文件 @
8f1a6ffd
...
...
@@ -557,7 +557,6 @@ Dir
UrgencyLog
"/srv/release.debian.org/britney/input/urgencies/"
;
Queue
{
Accepted
"/srv/ftp.debian.org/queue/accepted/"
;
Byhand
"/srv/ftp.debian.org/queue/byhand/"
;
ProposedUpdates
"/srv/ftp.debian.org/queue/p-u-new/"
;
OldProposedUpdates
"/srv/ftp.debian.org/queue/o-p-u-new/"
;
...
...
dak/check_overrides.py
浏览文件 @
8f1a6ffd
...
...
@@ -77,11 +77,6 @@ Check for cruft in overrides.
################################################################################
def
gen_blacklist
(
dir
):
for
entry
in
os
.
listdir
(
dir
):
entry
=
entry
.
split
(
'_'
)[
0
]
blacklist
[
entry
]
=
1
def
process
(
osuite
,
affected_suites
,
originosuite
,
component
,
otype
,
session
):
global
Logger
,
Options
,
sections
,
priorities
...
...
@@ -342,8 +337,6 @@ def main ():
else
:
Logger
=
daklog
.
Logger
(
cnf
,
"check-overrides"
,
1
)
gen_blacklist
(
cnf
[
"Dir::Queue::Accepted"
])
for
osuite
in
cnf
.
SubTree
(
"Check-Overrides::OverrideSuites"
).
List
():
if
"1"
!=
cnf
[
"Check-Overrides::OverrideSuites::%s::Process"
%
osuite
]:
continue
...
...
dak/import_known_changes.py
浏览文件 @
8f1a6ffd
...
...
@@ -201,7 +201,7 @@ class ChangesGenerator(threading.Thread):
def
run
(
self
):
cnf
=
Config
()
count
=
1
for
directory
in
[
"
Accepted"
,
"
Byhand"
,
"Done"
,
"New"
,
"ProposedUpdates"
,
"OldProposedUpdates"
]:
for
directory
in
[
"Byhand"
,
"Done"
,
"New"
,
"ProposedUpdates"
,
"OldProposedUpdates"
]:
checkdir
=
cnf
[
"Dir::Queue::%s"
%
(
directory
)
]
if
os
.
path
.
exists
(
checkdir
):
print
"Looking into %s"
%
(
checkdir
)
...
...
daklib/queue.py
浏览文件 @
8f1a6ffd
...
...
@@ -661,7 +661,7 @@ class Upload(object):
entry
[
"new"
]
=
1
else
:
dsc_file_exists
=
False
for
myq
in
[
"
Accepted"
,
"
Embargoed"
,
"Unembargoed"
,
"ProposedUpdates"
,
"OldProposedUpdates"
]:
for
myq
in
[
"Embargoed"
,
"Unembargoed"
,
"ProposedUpdates"
,
"OldProposedUpdates"
]:
if
cnf
.
has_key
(
"Dir::Queue::%s"
%
(
myq
)):
if
os
.
path
.
exists
(
os
.
path
.
join
(
cnf
[
"Dir::Queue::"
+
myq
],
dsc_filename
)):
dsc_file_exists
=
True
...
...
@@ -1225,7 +1225,7 @@ class Upload(object):
continue
# Look in some other queues for the file
queues
=
(
'
Accepted'
,
'
New'
,
'Byhand'
,
'ProposedUpdates'
,
queues
=
(
'New'
,
'Byhand'
,
'ProposedUpdates'
,
'OldProposedUpdates'
,
'Embargoed'
,
'Unembargoed'
)
for
queue
in
queues
:
...
...
@@ -2453,7 +2453,7 @@ distribution."""
else
:
# TODO: Record the queues and info in the DB so we don't hardcode all this crap
# Not there? Check the queue directories...
for
directory
in
[
"
Accepted"
,
"
New"
,
"Byhand"
,
"ProposedUpdates"
,
"OldProposedUpdates"
,
"Embargoed"
,
"Unembargoed"
]:
for
directory
in
[
"New"
,
"Byhand"
,
"ProposedUpdates"
,
"OldProposedUpdates"
,
"Embargoed"
,
"Unembargoed"
]:
if
not
Cnf
.
has_key
(
"Dir::Queue::%s"
%
(
directory
)):
continue
in_otherdir
=
os
.
path
.
join
(
Cnf
[
"Dir::Queue::%s"
%
(
directory
)],
dsc_name
)
...
...
@@ -2502,7 +2502,7 @@ distribution."""
source_epochless_version
=
re_no_epoch
.
sub
(
''
,
source_version
)
dsc_filename
=
"%s_%s.dsc"
%
(
source_package
,
source_epochless_version
)
found
=
False
for
q
in
[
"
Accepted"
,
"
Embargoed"
,
"Unembargoed"
,
"Newstage"
]:
for
q
in
[
"Embargoed"
,
"Unembargoed"
,
"Newstage"
]:
if
cnf
.
has_key
(
"Dir::Queue::%s"
%
(
q
)):
if
os
.
path
.
exists
(
cnf
[
"Dir::Queue::%s"
%
(
q
)]
+
'/'
+
dsc_filename
):
found
=
True
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录