Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
avocado
提交
74993e6b
A
avocado
项目概览
openeuler
/
avocado
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
A
avocado
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
74993e6b
编写于
10月 09, 2015
作者:
L
Lukáš Doktor
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #831 from lmr/maintenance-guide
avocado: Add a maintenance guide
上级
d6f5a664
8b42f383
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
151 addition
and
0 deletion
+151
-0
docs/source/MaintenanceGuide.rst
docs/source/MaintenanceGuide.rst
+150
-0
docs/source/index.rst
docs/source/index.rst
+1
-0
未找到文件。
docs/source/MaintenanceGuide.rst
0 → 100644
浏览文件 @
74993e6b
.. _maintenance-guide:
=================
Releasing avocado
=================
So you have all PRs approved, and Sprint meeting is done and now avocado is ready to be released.
Great, let's go over (most of) the details you need to pay attention to.
Bump the version number
=======================
Go through the avocado code base and update the release number. At the time
of this writing, the diff looked like this::
diff --git a/avocado.spec b/avocado.spec
index eb910e8..21313ca 100644
--- a/avocado.spec
+++ b/avocado.spec
@@ -1,7 +1,7 @@
Summary: Avocado Test Framework
Name: avocado
-Version: 0.28.0
-Release: 2%{?dist}
+Version: 0.29.0
+Release: 1%{?dist}
License: GPLv2
Group: Development/Tools
URL: http://avocado-framework.github.io/
@@ -104,6 +104,9 @@ examples of how to write tests on your own.
%{_datadir}/avocado/wrappers
%changelog
+* Wed Oct 7 2015 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.29.0-1
+- New upstream release 0.29.0
+
* Wed Sep 16 2015 Lucas Meneghel Rodrigues <lmr@redhat.com> - 0.28.0-2
- Add pystache, aexpect, psutil, sphinx and yum/dnf dependencies for functional/unittests
diff --git a/avocado/core/version.py b/avocado/core/version.py
index c927b19..a555af5 100755
--- a/avocado/core/version.py
+++ b/avocado/core/version.py
@@ -18,7 +18,7 @@ __all__ = ['MAJOR', 'MINOR', 'RELEASE', 'VERSION']
MAJOR = 0
-MINOR = 28
+MINOR = 29
RELEASE = 0
VERSION = "%s.%s.%s" % (MAJOR, MINOR, RELEASE)
diff --git a/setup.cfg b/setup.cfg
index 76953b9..5cf90e9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,6 +1,6 @@
[metadata]
name = avocado
-version = 0.28.0
+version = 0.29.0
summary = Avocado Test Framework
description-file =
README.rst
You can find on git such commits that will help you get oriented for other
repos.
Which repositories you should pay attention to
==============================================
In general, a release of avocado includes taking a look and eventually release
content in the following repositories:
* ``avocado``
* ``avocado-vt``
* ``avocado-virt``
* ``avocado-virt-tests``
In this order of importance. Some times ``avocado-virt`` and ``avocado-virt-tests``
might not get updates, so it's OK to skip them.
Build source rpms
=================
Go to the source directory and do::
$ make build-rpm-all
...
+ exit 0
Upload source to a public location
==================================
Upload the source RPMs to a public URL, for building with COPR::
$ scp SRPMS/avocado-0.29.0-1.fc22.src.rpm user@remote.box:/path/to/srcrpms
Send the packages to build on COPR
==================================
Then go to COPR, and give the public URL of the srcrpm package to the new build
tab (you must be logged into FAS - Fedora Accounts System). For the COPR
lmr/Autotest, the new build tab will be located in:
https://copr.fedoraproject.org/coprs/lmr/Autotest/add_build/
Give the RPM URL to that dialog, select all the chroots where the package will be
built, then watch for build problems.
If everything went well, great! Some times though, you'll have to go through the
COPR build errors to figure out what is wrong. Hint - It's frequently something
related to build or runtime dependencies that we forgot to add at the build
time. Remember that unittests now run by default in many of the chroots there,
so keep that in mind and search through the COPR logs. Keep working on the issues
until you get them all fixed.
Sometimes, particularly for not-released-yet
distros, the problem might be that one of our dependent packages was still
not built for that distro, or it's a package dependency issue that is being
worked out, and it's not avocado's fault. The best you can do in that case is to
disable the build on that particular distro.
Keep working until all the builds are passing.
Tag all repositories
====================
When everything is in good shape, commit the version changes and tag that commit
in master with::
$ git tag -u $(GPG_ID) -s $(RELEASE) -m 'Avocado Release $(RELEASE)'
Write release notes
===================
Release notes give an idea of what has changed on a given development cycle.
Good places to go for release notes are:
1) Git logs
2) Trello Cards (Look for the Done lists)
3) Github compare views: https://github.com/avocado-framework/avocado/compare/0.28.0...0.29.0
Go there and try to write a text that represents the changes that the release encompasses
Send e-mails to avocado-devel and other places
==============================================
Send the e-mail with the release notes to avocado-devel and virt-test-devel.
\ No newline at end of file
docs/source/index.rst
浏览文件 @
74993e6b
...
...
@@ -21,6 +21,7 @@ Contents:
ReferenceGuide
ContributionGuide
DevelopmentTips
MaintenanceGuide
.. _api-reference:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录