Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
喜羊羊3508
Dak
提交
9aac81c7
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,发现更多精彩内容 >>
提交
9aac81c7
编写于
7月 29, 2011
作者:
M
Mark Hymers
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Reject isn't a queue
Signed-off-by:
N
Mark Hymers
<
mhy@debian.org
>
上级
9a1689eb
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
8 addition
and
8 deletion
+8
-8
config/backports/dak.conf
config/backports/dak.conf
+1
-1
config/debian-security/dak.conf
config/debian-security/dak.conf
+1
-1
config/debian/dak.conf
config/debian/dak.conf
+1
-1
dak/clean_queues.py
dak/clean_queues.py
+2
-2
daklib/queue.py
daklib/queue.py
+3
-3
未找到文件。
config/backports/dak.conf
浏览文件 @
9aac81c7
...
...
@@ -213,12 +213,12 @@ Dir
BTSVersionTrack
"/srv/backports-master.debian.org/queue/bts_version_track/"
;
Holding
"/srv/backports-master.debian.org/queue/holding/"
;
Done
"/srv/backports-master.debian.org/queue/done/"
;
Reject
"/srv/backports-master.debian.org/queue/reject/"
;
Queue
{
Byhand
"/srv/backports-master.debian.org/queue/byhand/"
;
New
"/srv/backports-master.debian.org/queue/new/"
;
Reject
"/srv/backports-master.debian.org/queue/reject/"
;
Unchecked
"/srv/backports-master.debian.org/queue/unchecked/"
;
Newstage
"/srv/backports-master.debian.org/queue/newstage/"
;
Embargoed
"/srv/backports-master.debian.org/queue/Embargoed/"
;
...
...
config/debian-security/dak.conf
浏览文件 @
9aac81c7
...
...
@@ -217,12 +217,12 @@ Dir
TempPath
"/srv/security-master.debian.org/tmp"
;
Holding
"/srv/security-master.debian.org/queue/holding/"
;
Done
"/srv/security-master.debian.org/queue/done/"
;
Reject
"/srv/security-master.debian.org/queue/reject/"
;
Queue
{
Byhand
"/srv/security-master.debian.org/queue/byhand/"
;
New
"/srv/security-master.debian.org/queue/new/"
;
Reject
"/srv/security-master.debian.org/queue/reject/"
;
Unchecked
"/srv/security-master.debian.org/queue/unchecked/"
;
Newstage
"/srv/security-master.debian.org/queue/newstage/"
;
...
...
config/debian/dak.conf
浏览文件 @
9aac81c7
...
...
@@ -314,6 +314,7 @@ Dir
BTSVersionTrack
"/srv/ftp-master.debian.org/queue/bts_version_track/"
;
Holding
"/srv/ftp-master.debian.org/queue/holding/"
;
Done
"/srv/ftp-master.debian.org/queue/done/"
;
Reject
"/srv/ftp-master.debian.org/queue/reject/"
;
Queue
{
...
...
@@ -322,7 +323,6 @@ Dir
OldProposedUpdates
"/srv/ftp-master.debian.org/queue/o-p-u-new/"
;
ProposedUpdates
"/srv/ftp-master.debian.org/queue/p-u-new/"
;
New
"/srv/ftp-master.debian.org/queue/new/"
;
Reject
"/srv/ftp-master.debian.org/queue/reject/"
;
Unchecked
"/srv/ftp-master.debian.org/queue/unchecked/"
;
Newstage
"/srv/ftp-master.debian.org/queue/newstage/"
;
Embargoed
"/srv/ftp-master.debian.org/does/not/exist/"
;
...
...
dak/clean_queues.py
浏览文件 @
9aac81c7
...
...
@@ -201,10 +201,10 @@ def main ():
print
"Processing incoming..."
flush_orphans
()
reject
=
cnf
[
"Dir::
Queue::
Reject"
]
reject
=
cnf
[
"Dir::Reject"
]
if
os
.
path
.
exists
(
reject
)
and
os
.
path
.
isdir
(
reject
):
if
Options
[
"Verbose"
]:
print
"Processing
incoming/REJECT
..."
print
"Processing
reject directory
..."
os
.
chdir
(
reject
)
flush_old
()
...
...
daklib/queue.py
浏览文件 @
9aac81c7
...
...
@@ -2314,7 +2314,7 @@ distribution."""
if
os
.
access
(
file_entry
,
os
.
R_OK
)
==
0
:
continue
dest_file
=
os
.
path
.
join
(
cnf
[
"Dir::
Queue::
Reject"
],
file_entry
)
dest_file
=
os
.
path
.
join
(
cnf
[
"Dir::Reject"
],
file_entry
)
try
:
dest_fd
=
os
.
open
(
dest_file
,
os
.
O_RDWR
|
os
.
O_CREAT
|
os
.
O_EXCL
,
0644
)
...
...
@@ -2326,7 +2326,7 @@ distribution."""
except
NoFreeFilenameError
:
# Something's either gone badly Pete Tong, or
# someone is trying to exploit us.
utils
.
warn
(
"**WARNING** failed to find a free filename for %s in %s."
%
(
file_entry
,
cnf
[
"Dir::
Queue::
Reject"
]))
utils
.
warn
(
"**WARNING** failed to find a free filename for %s in %s."
%
(
file_entry
,
cnf
[
"Dir::Reject"
]))
return
# Make sure we really got it
...
...
@@ -2396,7 +2396,7 @@ distribution."""
cnf
=
Config
()
reason_filename
=
self
.
pkg
.
changes_file
[:
-
8
]
+
".reason"
reason_filename
=
os
.
path
.
join
(
cnf
[
"Dir::
Queue::
Reject"
],
reason_filename
)
reason_filename
=
os
.
path
.
join
(
cnf
[
"Dir::Reject"
],
reason_filename
)
# Move all the files into the reject directory
reject_files
=
self
.
pkg
.
files
.
keys
()
+
[
self
.
pkg
.
changes_file
]
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录