Buildbot 0.6.0 was released 30 Sep 2004
** new features
*** /usr/bin/buildbot control tool
There is now an executable named 'buildbot'. For now, this just provides a
convenient front-end to mktap/twistd/kill, but eventually it will provide
access to other client functionality (like the 'try' builds, and a status
client). Assuming you put your buildbots in /var/lib/buildbot/master/FOO,
you can do 'buildbot create-master /var/lib/buildbot/master/FOO' and it will
create the .tap file and set up a sample master.cfg for you. Later,
'buildbot start /var/lib/buildbot/master/FOO' will start the daemon.
*** build status now saved in external files, -shutdown.tap unnecessary
The status rewrite included a change to save all build status in a set of
external files. These files, one per build, are put in a subdirectory of the
master's basedir (named according to the 'builddir' parameter of the Builder
configuration dictionary). This helps keep the buildmaster's memory
consumption small: the (potentially large) build logs are kept on disk
instead of in RAM. There is a small cache (2 builds per builder) kept in
memory, but everything else lives on disk.
The big change is that the buildmaster now keeps *all* status in these
files. It is no longer necessary to preserve the buildbot-shutdown.tap file
to run a persistent buildmaster. The buildmaster may be launched with
'twistd -f buildbot.tap' each time, in fact the '-n' option can be added to
prevent twistd from automatically creating the -shutdown.tap file.
There is still one lingering bug with this change: the Expectations object
for each builder (which records how long the various steps took, to provide
an ETA value for the next time) is not yet saved. The result is that the
first build after a restart will not provide an ETA value.
0.6.0 keeps status in a single file per build, as opposed to 0.5.0 which
kept status in many subdirectories (one layer for builds, another for steps,
and a third for logs). 0.6.0 will detect and delete these subdirectories as
it overwrites them.
The saved builds are optional. To prevent disk usage from growing without
bounds, you may want to set up a cron job to run 'find' and delete any which
are too old. The status displays will happily survive without those saved
build objects.
The set of recorded Changes is kept in a similar file named 'changes.pck'.
*** source checkout now uses timestamp/revision
Source checkouts are now performed with an appropriate -D TIMESTAMP (for
CVS) or -r REVISION (for SVN) marker to obtain the exact sources that were
specified by the most recent Change going into the current Build. This
avoids a race condition in which a change might be committed after the build
has started but before the source checkout has completed, resulting in a
mismatched set of source files. Such changes are now ignored.
This works by keeping track of repository-wide revision/transaction numbers
(for version control systems that offer them, like SVN). The checkout or
update is performed with the highest such revision number. For CVS (which
does not have them), the timestamp of each commit message is used, and a -D
argument is created to place the checkout squarely in the middle of the "tree
stable timer"'s window.
This also provides the infrastructure for the upcoming 'try' feature. All
source-checkout commands can now obtain a base revision marker and a patch
from the Build, allowing certain builds to be performed on something other
than the most recent sources.
See source.xhtml and steps.xhtml for details.
*** Darcs and Arch support added
There are now build steps which retrieve a source tree from Darcs and Arch
repositories. See steps.xhtml for details.
Preliminary P4 support has been added, thanks to code from Dave Peticolas.
You must manually set up each build slave with an appropriate P4CLIENT: all
buildbot does is run 'p4 sync' at the appropriate times.
*** Status reporting rewritten
Status reporting was completely revamped. The config file now accepts a
BuildmasterConfig['status'] entry, with a list of objects that perform status
delivery. The old config file entries which controlled the web status port
and the IRC bot have been deprecated in favor of adding instances to
['status']. The following status-delivery classes have been implemented, all
in the 'buildbot.status' package:
client.PBListener(port, username, passwd)
html.Waterfall(http_port, distrib_port)
mail.MailNotifier(fromaddr, mode, extraRecipients..)
words.IRC(host, nick, channels)
See the individual docstrings for details about how to use each one. You can
create new status-delivery objects by following the interfaces found in the
buildbot.interfaces module.
*** BuildFactory configuration process changed
The basic BuildFactory class is now defined in buildbot.process.factory
rather than buildbot.process.base, so you will have to update your config
files. factory.BuildFactory is the base class, which accepts a list of Steps
to run. See docs/factories.xhtml for details.
There are now easier-to-use BuildFactory classes for projects which use GNU
Autoconf, perl's MakeMaker (CPAN), python's distutils (but no unit tests),
and Twisted's Trial. Each one takes a separate 'source' Step to obtain the
source tree, and then fills in the rest of the Steps for you.
*** CVS/SVN VC steps unified, simplified
The confusing collection of arguments for the CVS step ('clobber=',
'copydir=', and 'export=') have been removed in favor of a single 'mode'
argument. This argument describes how you want to use the sources: whether
you want to update and compile everything in the same tree (mode='update'),
or do a fresh checkout and full build each time (mode='clobber'), or
something in between.
The SVN (Subversion) step has been unified and accepts the same mode=
parameter as CVS. New version control steps will obey the same interface.
Most of the old configuration arguments have been removed. You will need to
update your configuration files to use the new arguments. See
docs/steps.xhtml for a description of all the new parameters.
*** Preliminary Debian packaging added
Thanks to the contributions of Kirill Lapshin, we can now produce .deb
installer packages. These are still experimental, but they include init.d
startup/shutdown scripts, which the the new /usr/bin/buildbot to invoke
twistd. Create your buildmasters in /var/lib/buildbot/master/FOO, and your
slaves in /var/lib/buildbot/slave/BAR, then put FOO and BAR in the
appropriate places in /etc/default/buildbot . After that, the buildmasters
and slaves will be started at every boot.
Pre-built .debs are not yet distributed. Use 'debuild -uc -us' from the
source directory to create them.
** minor features
*** Source Stamps
Each build now has a "source stamp" which describes what sources it used. The
idea is that the sources for this particular build can be completely
regenerated from the stamp. The stamp is a tuple of (revision, patch), where
the revision depends on the VC system being used (for CVS it is either a
revision tag like "BUILDBOT-0_5_0" or a datestamp like "2004/07/23", for
Subversion it is a revision number like 11455). This must be combined with
information from the Builder that is constant across all builds (something to
point at the repository, and possibly a branch indicator for CVS and other VC
systems that don't fold this into the repository string).
The patch is an optional unified diff file, ready to be applied by running
'patch -p0 <PATCH' from inside the workdir. This provides support for the
'try' feature that will eventually allow developers to run buildbot tests on
their code before checking it in.
*** SIGHUP causes the buildmaster's configuration file to be re-read
*** IRC bot now has 'watch' command
You can now tell the buildbot's IRC bot to 'watch <buildername>' on a builder
which is currently performing a build. When that build is finished, the
buildbot will make an announcement (including the results of t
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
共864个文件
py:632个
rst:112个
txt:42个
资源分类:Python库 所属语言:Python 资源全名:buildbot-0.9.0.post1.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059
资源推荐
资源详情
资源评论
收起资源包目录
Python库 | buildbot-0.9.0.post1.tar.gz (864个子文件)
buildbot.1 8KB
_buildbot 1KB
buildbot.bat 722B
icon.blend 94KB
buildbot 2KB
buildbot 72B
twisted_master.cfg 12KB
git_gerrit.cfg 7KB
repo_gerrit.cfg 6KB
sample.cfg 4KB
hello.cfg 2KB
migrate.cfg 984B
setup.cfg 35B
COPYING 15KB
CREDITS 4KB
sample2.css 985B
sample1.css 826B
buildmaster.default 637B
bbw_builder.html 2KB
bbw_welcome.html 804B
bbw_allbuilders.html 704B
localtoc.html 98B
buildbot.ico 2KB
MANIFEST.in 1KB
Makefile 5KB
Makefile 1KB
NEWS 2KB
PKG-INFO 3KB
net.sourceforge.buildbot.master.plist 1KB
status.png 115KB
master.png 101KB
irc-testrun.png 76KB
runtests-success.png 67KB
overview.png 65KB
forcedialog1.png 55KB
workers.png 51KB
index.png 50KB
force-build.png 47KB
waterfall-empty.png 36KB
header-text-transparent.png 14KB
success_normal.png 2KB
buildbot.png 783B
test_steps_source_git.py 98KB
test_steps_source_svn.py 88KB
fakedb.py 79KB
test_config.py 64KB
test_steps_source_cvs.py 60KB
test_process_properties.py 59KB
test_steps_source_mercurial.py 49KB
test_changes_gitpoller.py 48KB
test_steps_source_mtn.py 48KB
buildbot_json.py 46KB
buildstep.py 44KB
test_steps_transfer.py 41KB
test_process_buildstep.py 40KB
words.py 40KB
test_steps_shell.py 39KB
config.py 39KB
interfaces.py 39KB
test_process_build.py 38KB
test_process_buildrequestdistributor.py 37KB
model.py 36KB
base.py 34KB
test_www_rest.py 33KB
test_db_buildrequests.py 33KB
test_db_changes.py 32KB
tryclient.py 31KB
test_steps_vstudio.py 31KB
test_schedulers_trysched.py 31KB
test_steps_source_bzr.py 31KB
test_schedulers_forcesched.py 30KB
test_scripts_runner.py 30KB
test_steps_source_p4.py 30KB
forcesched.py 29KB
test_worker_ec2.py 28KB
runner.py 28KB
test_data_buildrequests.py 28KB
test_db_buildsets.py 27KB
shell.py 27KB
test_db_workers.py 27KB
properties.py 26KB
test_reporters_words.py 26KB
ec2.py 25KB
test_steps_source_repo.py 25KB
test_changes_svnpoller.py 24KB
build.py 24KB
test_util_service.py 24KB
test_schedulers_basic.py 24KB
git.py 23KB
test_www_hooks_github.py 23KB
test_reporters_mail.py 23KB
test_schedulers_base.py 23KB
test_steps_trigger.py 22KB
transfer.py 22KB
buildbot_service.py 22KB
test_process_buildrequest.py 21KB
test_steps_python.py 21KB
python_twisted.py 21KB
fakedata.py 21KB
test_stats_service.py 21KB
共 864 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
挣扎的蓝藻
- 粉丝: 13w+
- 资源: 15万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功