Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
喜羊羊3508
Dak
提交
394eaf39
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,发现更多精彩内容 >>
未验证
提交
394eaf39
编写于
5月 30, 2013
作者:
A
Ansgar Burchardt
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Allow timestamps in binary packages starting from 1975
Reference: <
http://bugs.debian.org/710086#15
>
上级
a30c5f2a
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
7 addition
and
12 deletion
+7
-12
config/debian-security/dak.conf
config/debian-security/dak.conf
+0
-2
config/debian/dak.conf
config/debian/dak.conf
+0
-2
daklib/checks.py
daklib/checks.py
+1
-1
docs/README.config
docs/README.config
+6
-5
setup/dak-minimal.conf.template
setup/dak-minimal.conf.template
+0
-2
未找到文件。
config/debian-security/dak.conf
浏览文件 @
394eaf39
...
...
@@ -12,8 +12,6 @@ Dinstall
PackagesServer
"packages.debian.org"
;
Bcc
"archive@ftp-master.debian.org"
;
//
GroupOverrideFilename
"override.group-maint"
;
FutureTimeTravelGrace
28800
; //
8
hours
PastCutoffYear
"1984"
;
SkipTime
300
;
CloseBugs
"false"
;
OverrideDisparityCheck
"false"
;
...
...
config/debian/dak.conf
浏览文件 @
394eaf39
...
...
@@ -12,8 +12,6 @@ Dinstall
PackagesServer
"packages.debian.org"
;
TrackingServer
"packages.qa.debian.org"
;
Bcc
"archive@ftp-master.debian.org"
;
FutureTimeTravelGrace
28800
; //
8
hours
PastCutoffYear
"1984"
;
SkipTime
300
;
BXANotify
"true"
;
CloseBugs
"true"
;
...
...
daklib/checks.py
浏览文件 @
394eaf39
...
...
@@ -328,7 +328,7 @@ class BinaryTimestampCheck(Check):
def
check
(
self
,
upload
):
cnf
=
Config
()
future_cutoff
=
time
.
time
()
+
cnf
.
find_i
(
'Dinstall::FutureTimeTravelGrace'
,
24
*
3600
)
past_cutoff
=
time
.
mktime
(
time
.
strptime
(
cnf
.
find
(
'Dinstall::PastCutoffYear'
,
'19
84
'
),
'%Y'
))
past_cutoff
=
time
.
mktime
(
time
.
strptime
(
cnf
.
find
(
'Dinstall::PastCutoffYear'
,
'19
75
'
),
'%Y'
))
class
TarTime
(
object
):
def
__init__
(
self
):
...
...
docs/README.config
浏览文件 @
394eaf39
...
...
@@ -108,14 +108,15 @@ Dinstall
////
option
is
set
.
//
BXANotify
"true"
;
////
FutureTimeTravelGrace
(
required
):
specifies
how
many
seconds
into
the
////
FutureTimeTravelGrace
(
optional
):
specifies
how
many
seconds
into
the
////
future
timestamps
are
allowed
to
be
inside
a
deb
before
being
rejected
.
////
28800
=
8
hours
FutureTimeTravelGrace
288
00
;
////
Defaults
to
86400
(
24
hours
)
if
not
specified
.
FutureTimeTravelGrace
864
00
;
////
PastCutoffYear
(
required
):
specifies
the
cut
-
off
year
which
is
used
when
////
PastCutoffYear
(
optional
):
specifies
the
cut
-
off
year
which
is
used
when
////
deciding
whether
or
not
to
reject
packages
based
on
the
file
timestamp
.
PastCutoffYear
"1984"
;
////
Defaults
to
"1975"
if
not
specified
.
PastCutoffYear
"1975"
;
////
SkipTime
(
required
):
an
integer
value
which
is
the
number
of
seconds
////
that
a
file
must
be
older
than
(
via
it
'
s
last
modified
timestamp
)
...
...
setup/dak-minimal.conf.template
浏览文件 @
394eaf39
...
...
@@ -28,8 +28,6 @@ Dinstall
MyAdminAddress "dak@__DAKFQDN__";
MyDistribution "TestDakInstance";
FutureTimeTravelGrace 28800; // 8 hours
PastCutoffYear "1984";
SkipTime 10;
DefaultSuite "unstable";
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录