Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
喜羊羊3508
Dak
提交
2de2a91c
D
Dak
项目概览
喜羊羊3508
/
Dak
大约 1 年 前同步成功
通知
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,发现更多精彩内容 >>
提交
2de2a91c
编写于
5月 04, 2013
作者:
M
Mark Hymers
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Eliminate all references to apt.conf
Signed-off-by:
N
Mark Hymers
<
mhy@debian.org
>
上级
52eb03dc
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
8 addition
and
36 deletion
+8
-36
config/debian-security/cron.daily
config/debian-security/cron.daily
+0
-3
config/debian-security/cron.unchecked
config/debian-security/cron.unchecked
+0
-1
config/debian-security/dak.conf-etc
config/debian-security/dak.conf-etc
+1
-2
config/debian/cron.dinstall
config/debian/cron.dinstall
+0
-8
config/debian/dak.conf-etc
config/debian/dak.conf-etc
+0
-2
config/debian/dinstall.functions
config/debian/dinstall.functions
+0
-6
config/examples/dak.conf
config/examples/dak.conf
+0
-5
daklib/utils.py
daklib/utils.py
+0
-1
docs/README.first
docs/README.first
+7
-8
未找到文件。
config/debian-security/cron.daily
浏览文件 @
2de2a91c
...
...
@@ -95,7 +95,4 @@ while read dumpname; do
bzip2
-9fv
"
$dumpname
"
done
#apt-ftparchive -q clean apt.conf
#apt-ftparchive -q clean apt.conf.buildd
################################################################################
config/debian-security/cron.unchecked
浏览文件 @
2de2a91c
...
...
@@ -115,7 +115,6 @@ if [ "x${dopolicy}x" = "xtruex" ]; then
#dak generate-filelist
cd
$configdir
$configdir
/map.sh
#apt-ftparchive generate apt.conf
dak generate-packages-sources2
-a
security
dak generate-releases
-a
security
/srv/security-master.debian.org/dak/config/debian-security/make-mirror.sh
...
...
config/debian-security/dak.conf-etc
浏览文件 @
2de2a91c
...
...
@@ -4,6 +4,5 @@ Config
{
DatabaseHostname "security";
DakConfig "/org/security-master.debian.org/dak/config/debian-security/dak.conf";
AptConfig "/org/security-master.debian.org/dak/config/debian-security/apt.conf";
}
}
\ No newline at end of file
}
config/debian/cron.dinstall
浏览文件 @
2de2a91c
...
...
@@ -478,14 +478,6 @@ GO=(
)
stage
$GO
GO
=(
FUNC
=
"aptftpcleanup"
TIME
=
"apt-ftparchive cleanup"
ARGS
=
""
ERR
=
"false"
)
#stage $GO
# we need to wait for the background processes before the end of dinstall
wait
...
...
config/debian/dak.conf-etc
浏览文件 @
2de2a91c
...
...
@@ -5,14 +5,12 @@ Config
AllowLocalConfig "false";
DatabaseHostname "ftp-master";
DakConfig "/srv/ftp-master.debian.org/dak/config/debian/dak.conf";
AptConfig "/srv/ftp-master.debian.org/dak/config/debian/apt.conf";
}
ries.debian.org
{
AllowLocalConfig "false";
DatabaseHostname "ftp-master";
DakConfig "/srv/ftp-master.debian.org/dak/config/debian/dak.conf";
AptConfig "/srv/ftp-master.debian.org/dak/config/debian/apt.conf";
}
}
config/debian/dinstall.functions
浏览文件 @
2de2a91c
...
...
@@ -548,12 +548,6 @@ function stats() {
dak stats pkg-nums
>
$webdir
/pkg-nums
}
function
aptftpcleanup
()
{
log
"Clean up apt-ftparchive's databases"
cd
$configdir
apt-ftparchive
-q
clean apt.conf
}
function
cleantransactions
()
{
log
"Cleanup transaction ids older than 3 months"
cd
$base
/backup/
...
...
config/examples/dak.conf
浏览文件 @
2de2a91c
...
...
@@ -13,11 +13,6 @@ Config
//
Optional
filename
of
dak
'
s
config
file
;
if
not
present
,
this
//
file
is
assumed
to
contain
dak
config
info
.
DakConfig
"/org/ftp.debian.org/dak/config/debian/dak.conf"
;
//
Optional
filename
of
apt
-
ftparchive
'
s
config
file
;
if
not
//
present
,
the
file
is
assumed
to
be
'apt.conf'
in
the
same
//
directory
as
this
file
.
AptConfig
"/org/ftp.debian.org/dak/config/debian/apt.conf"
;
}
}
daklib/utils.py
浏览文件 @
2de2a91c
...
...
@@ -65,7 +65,6 @@ from collections import defaultdict
################################################################################
default_config
=
"/etc/dak/dak.conf"
#: default dak config, defines host properties
default_apt_config
=
"/etc/dak/apt.conf"
#: default apt config, not normally used
alias_cache
=
None
#: Cache for email alias checks
key_uid_email_cache
=
{}
#: Cache for email addresses from gpg key uids
...
...
docs/README.first
浏览文件 @
2de2a91c
...
...
@@ -5,7 +5,7 @@ o Please be careful: dak sends out lots of emails and if not
configured properly will happily send them to lots of people who
probably didn't want those emails.
o Don't use the debian dak.conf,
apt.conf,
cron.* etc. as starting
o Don't use the debian dak.conf, cron.* etc. as starting
points for your own configuration files, they're highly Debian
specific. Start from scratch and refer to the security.debian.org
config files (-security) as they're a better example for a private
...
...
@@ -93,15 +93,14 @@ o dak examine-package - invoked by 'dak process-new' to "check" NEW packages
[Very incomplete - FIXME]
o Write your own dak.conf and apt.conf files. dak looks for those
config files in /etc/dak/. /etc/dak/dak.conf can define
alternative configuration files with Config::host::DakConfig and
Config::host::AptConfig (where "host" is the fully qualified domain
name of your machine).
o Write your own dak.conf file. dak looks for this
config file in /etc/dak/. /etc/dak/dak.conf can define an
alternative configuration file with Config::host::DakConfig
(where "host" is the fully qualified domain name of your machine).
o Create a PostgreSQL database on the host given in dak.conf's DB::Host
with the name specified in DB::Name.
o Run 'dak init-dirs': this will create all directories which are specified in
dak.conf
and apt.conf.
dak.conf
:
o If you have an existing archive:
* Run 'dak init-archive'
otherwise:
...
...
@@ -112,7 +111,7 @@ o If you have an existing archive:
* Create the following groups in postgres: ftpmaster ftpteam ftptrainee
* Run 'dak update-db' to upgrade the database schema.
* Run 'dak init-db': it will populate your database with the values from
dak.conf
and apt.conf.
dak.conf
* Run 'psql <DB::Name> < add_constraints.sql'.
o Copy all templates from the "templates" directory to to the directory
specified in Dir::Templates, and adapt them to your distribution.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录