Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
喜羊羊3508
Dak
提交
d7b43e59
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,发现更多精彩内容 >>
提交
d7b43e59
编写于
7月 28, 2011
作者:
M
Mark Hymers
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Use components from database
Signed-off-by:
N
Mark Hymers
<
mhy@debian.org
>
上级
b183dd46
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
7 addition
and
8 deletion
+7
-8
dak/check_archive.py
dak/check_archive.py
+1
-1
dak/check_proposed_updates.py
dak/check_proposed_updates.py
+1
-1
dak/cruft_report.py
dak/cruft_report.py
+1
-1
dak/override.py
dak/override.py
+1
-1
dak/override_disparity.py
dak/override_disparity.py
+1
-1
dak/rm.py
dak/rm.py
+1
-1
daklib/queue.py
daklib/queue.py
+1
-2
未找到文件。
dak/check_archive.py
浏览文件 @
d7b43e59
...
...
@@ -424,7 +424,7 @@ def check_indices_files_exist():
Ensure files mentioned in Packages & Sources exist
"""
for
suite
in
[
"stable"
,
"testing"
,
"unstable"
]:
for
component
in
Cnf
.
ValueList
(
"Suite::%s::Components"
%
(
suite
)
):
for
component
in
get_component_names
(
):
architectures
=
get_suite_architectures
(
suite
)
for
arch
in
[
i
.
arch_string
.
lower
()
for
i
in
architectures
]:
if
arch
==
"source"
:
...
...
dak/check_proposed_updates.py
浏览文件 @
d7b43e59
...
...
@@ -250,7 +250,7 @@ def parse_packages():
# Parse the Packages files (since it's a sub-second operation on auric)
suite
=
"stable"
stable
=
{}
components
=
cnf
.
ValueList
(
"Suite::%s::Components"
%
(
suite
)
)
components
=
get_component_names
(
)
architectures
=
[
a
.
arch_string
for
a
in
get_suite_architectures
(
suite
,
skipsrc
=
True
,
skipall
=
True
)
]
for
component
in
components
:
for
architecture
in
architectures
:
...
...
dak/cruft_report.py
浏览文件 @
d7b43e59
...
...
@@ -571,7 +571,7 @@ def main ():
bins_in_suite
=
get_suite_binaries
(
suite
,
session
)
# Checks based on the Sources files
components
=
cnf
.
ValueList
(
"Suite::%s::Components"
%
(
suite_name
)
)
components
=
get_component_names
(
session
)
for
component
in
components
:
filename
=
"%s/dists/%s/%s/source/Sources.gz"
%
(
cnf
[
"Dir::Root"
],
suite_name
,
component
)
# apt_pkg.ParseTagFile needs a real file handle and can't handle a GzipFile instance...
...
...
dak/override.py
浏览文件 @
d7b43e59
...
...
@@ -61,7 +61,7 @@ def check_override_compliance(package, priority, suite, cnf, session):
depends
=
set
()
rdepends
=
set
()
components
=
cnf
.
ValueList
(
"Suite::%s::Components"
%
suite
)
components
=
get_component_names
(
session
)
arches
=
set
([
x
.
arch_string
for
x
in
get_suite_architectures
(
suite
)])
arches
-=
set
([
"source"
,
"all"
])
for
arch
in
arches
:
...
...
dak/override_disparity.py
浏览文件 @
d7b43e59
...
...
@@ -82,7 +82,7 @@ def main():
depends
=
{}
session
=
DBConn
().
session
()
suite
=
Options
[
'suite'
]
components
=
cnf
.
ValueList
(
'Suite::%s::Components'
%
suite
)
components
=
get_component_names
(
session
)
arches
=
set
([
x
.
arch_string
for
x
in
get_suite_architectures
(
suite
)])
arches
-=
set
([
'source'
,
'all'
])
for
arch
in
arches
:
...
...
dak/rm.py
浏览文件 @
d7b43e59
...
...
@@ -102,7 +102,7 @@ def reverse_depends_check(removals, suites, arches=None):
cnf
=
Config
()
print
"Checking reverse dependencies..."
components
=
cnf
.
ValueList
(
"Suite::%s::Components"
%
suites
[
0
]
)
components
=
get_component_names
(
)
dep_problem
=
0
p2c
=
{}
all_broken
=
{}
...
...
daklib/queue.py
浏览文件 @
d7b43e59
...
...
@@ -961,8 +961,7 @@ class Upload(object):
entry
[
"component"
]
=
dest
# Ensure the component is valid for the target suite
if
cnf
.
has_key
(
"Suite:%s::Components"
%
(
suite
))
and
\
entry
[
"component"
]
not
in
cnf
.
ValueList
(
"Suite::%s::Components"
%
(
suite
)):
if
entry
[
"component"
]
not
in
get_component_names
(
session
):
self
.
rejects
.
append
(
"unknown component `%s' for suite `%s'."
%
(
entry
[
"component"
],
suite
))
return
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录