Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
喜羊羊3508
Dak
提交
53924f4c
D
Dak
项目概览
喜羊羊3508
/
Dak
11 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
53924f4c
编写于
6月 04, 2012
作者:
A
Ansgar Burchardt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
dak/ls.py: update for multi-archive changes
上级
6a22070b
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
5 addition
and
5 deletion
+5
-5
dak/ls.py
dak/ls.py
+5
-5
未找到文件。
dak/ls.py
浏览文件 @
53924f4c
...
@@ -135,19 +135,19 @@ def main ():
...
@@ -135,19 +135,19 @@ def main ():
q
=
session
.
execute
(
"""
q
=
session
.
execute
(
"""
SELECT b.package, b.version, a.arch_string, su.suite_name, c.name, m.name
SELECT b.package, b.version, a.arch_string, su.suite_name, c.name, m.name
FROM binaries b, architecture a, suite su, bin_associations ba,
FROM binaries b, architecture a, suite su, bin_associations ba,
files f,
location l
, component c, maintainer m
files f,
files_archive_map af
, component c, maintainer m
WHERE b.package %s :package AND a.id = b.architecture AND su.id = ba.suite
WHERE b.package %s :package AND a.id = b.architecture AND su.id = ba.suite
AND b.id = ba.bin AND b.file = f.id AND
f.location = l.
id
AND b.id = ba.bin AND b.file = f.id AND
af.file_id = f.id AND su.archive_id = af.archive_
id
AND
l.component
= c.id AND b.maintainer = m.id %s %s %s
AND
af.component_id
= c.id AND b.maintainer = m.id %s %s %s
"""
%
(
comparison_operator
,
con_suites
,
con_architectures
,
con_bintype
),
{
'package'
:
package
})
"""
%
(
comparison_operator
,
con_suites
,
con_architectures
,
con_bintype
),
{
'package'
:
package
})
ql
=
q
.
fetchall
()
ql
=
q
.
fetchall
()
if
check_source
:
if
check_source
:
q
=
session
.
execute
(
"""
q
=
session
.
execute
(
"""
SELECT s.source, s.version, 'source', su.suite_name, c.name, m.name
SELECT s.source, s.version, 'source', su.suite_name, c.name, m.name
FROM source s, suite su, src_associations sa, files f,
location l
,
FROM source s, suite su, src_associations sa, files f,
files_archive_map af
,
component c, maintainer m
component c, maintainer m
WHERE s.source %s :package AND su.id = sa.suite AND s.id = sa.source
WHERE s.source %s :package AND su.id = sa.suite AND s.id = sa.source
AND s.file = f.id AND
f.location = l.id AND l.component
= c.id
AND s.file = f.id AND
af.file_id = f.id AND af.archive_id = su.archive_id AND af.component_id
= c.id
AND s.maintainer = m.id %s
AND s.maintainer = m.id %s
"""
%
(
comparison_operator
,
con_suites
),
{
'package'
:
package
})
"""
%
(
comparison_operator
,
con_suites
),
{
'package'
:
package
})
if
not
Options
[
"Architecture"
]
or
con_architectures
:
if
not
Options
[
"Architecture"
]
or
con_architectures
:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录