Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
avocado
提交
f9c3959f
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,发现更多精彩内容 >>
未验证
提交
f9c3959f
编写于
4月 03, 2017
作者:
A
Amador Pahim
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'clebergnu-pip_optional_plugins'
Signed-off-by:
N
Amador Pahim
<
apahim@redhat.com
>
上级
dfcdc8b6
bb8ca086
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
124 addition
and
82 deletion
+124
-82
Makefile
Makefile
+10
-2
docs/source/MaintenanceGuide.rst
docs/source/MaintenanceGuide.rst
+102
-43
optional_plugins/html/setup.py
optional_plugins/html/setup.py
+2
-7
optional_plugins/robot/setup.py
optional_plugins/robot/setup.py
+2
-7
optional_plugins/runner_docker/setup.py
optional_plugins/runner_docker/setup.py
+3
-8
optional_plugins/runner_remote/setup.py
optional_plugins/runner_remote/setup.py
+2
-7
optional_plugins/runner_vm/setup.py
optional_plugins/runner_vm/setup.py
+3
-8
未找到文件。
Makefile
浏览文件 @
f9c3959f
...
...
@@ -72,7 +72,15 @@ source-release: clean
source-pypi
:
clean
if
test
!
-d
PYPI_UPLOAD
;
then
mkdir
PYPI_UPLOAD
;
fi
git archive
--format
=
"tar"
--prefix
=
"avocado-framework/"
-o
"PYPI_UPLOAD/avocado-framework-
$(VERSION)
.tar"
$(VERSION)
git archive
--format
=
"tar"
--prefix
=
"avocado-framework/"
$(VERSION)
|
tar
--file
-
--delete
'avocado-framework/optional_plugins'
>
"PYPI_UPLOAD/avocado-framework-
$(VERSION)
.tar"
for
PLUGIN
in
$(AVOCADO_OPTIONAL_PLUGINS)
;
do
\
if
test
-f
$$
PLUGIN/setup.py
;
then
\
echo
">> Creating source distribution for
$$
PLUGIN"
;
\
cd
$$
PLUGIN
;
\
$(PYTHON)
setup.py sdist
-d
../../PYPI_UPLOAD
;
\
cd
-
;
\
fi
;
\
done
pypi
:
source-pypi develop
mkdir
PYPI_UPLOAD/avocado-framework
...
...
@@ -86,7 +94,7 @@ pypi: source-pypi develop
@
echo
"The URL to do that may be a bit tricky to find, so here it is:"
@
echo
" https://pypi.python.org/pypi?%3Aaction=submit_form"
@
echo
@
echo
"Alternatively, you can also run: "
@
echo
"Alternatively, you can also run
a command like
: "
@
echo
" twine upload -u <PYPI_USERNAME> PYPI_UPLOAD/avocado-framework-
$(VERSION)
.tar.gz"
@
echo
...
...
docs/source/MaintenanceGuide.rst
浏览文件 @
f9c3959f
...
...
@@ -11,60 +11,119 @@ 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:
For the core Avocado versioning, two files need to receive a version update:
* ``VERSION``
* ``python-avocado.spec``
So, go through the Avocado code base and update the version number. At
the time of this writing, the diff looks like this:
.. code-block:: diff
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
diff --git a/VERSION b/VERSION
index 98bc1f4..dd0353d 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-47.0
+48.0
diff --git a/python-avocado.spec b/python-avocado.spec
index 7071805..483ebce 100644
--- a/python-avocado.spec
+++ b/python-avocado.spec
@@ -6,8 +6,8 @@
Summary: Framework with tools and libraries for Automated Testing
Name: python-%{srcname}
-Version: 47.0
-Release: 1%{?dist}
+Version: 48.0
+Release: 0%{?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.
@@ -
211,6 +211
,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-0
+- New upstream release
0.29.0
+*
Mon Apr 3 2017 Cleber Rosa <cleber@redhat.com> - 48
.0-0
+- New upstream release
+
* 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
* Wed Mar 8 2017 Cleber Rosa <cleber@redhat.com> - 47.0-1
- Rename package to python-avocado and subpackges accordingly
Then, for all the optional plugins, the version number on their
``setup.py`` files also needs to be bumped. Currently, the diff looks
like this:
.. code-block:: diff
diff --git a/optional_plugins/html/setup.py b/optional_plugins/html/setup.py
index eb8d584..4ba8675 100644
--- a/optional_plugins/html/setup.py
+++ b/optional_plugins/html/setup.py
@@ -19,7 +19,7 @@ from setuptools import setup, find_packages
setup(name='avocado_result_html',
description='Avocado HTML Report for Jobs',
- version='47.0',
+ version='48.0',
author='Avocado Developers',
author_email='avocado-devel@redhat.com',
url='http://avocado-framework.github.io/',
diff --git a/optional_plugins/robot/setup.py b/optional_plugins/robot/setup.py
index 1f44b72..700eba0 100644
--- a/optional_plugins/robot/setup.py
+++ b/optional_plugins/robot/setup.py
@@ -19,7 +19,7 @@ from setuptools import setup, find_packages
setup(name='avocado-robot',
description='Avocado Plugin for Execution of Robot Framework tests',
- version='47.0',
+ version='48.0',
author='Avocado Developers',
author_email='avocado-devel@redhat.com',
url='http://avocado-framework.github.io/',
diff --git a/optional_plugins/runner_docker/setup.py b/optional_plugins/runner_docker/setup.py
index 2d235c8..954c6e7 100644
--- a/optional_plugins/runner_docker/setup.py
+++ b/optional_plugins/runner_docker/setup.py
@@ -19,7 +19,7 @@ from setuptools import setup, find_packages
setup(name='avocado-runner-docker',
description='Avocado Runner for Execution on Docker Containers',
- version='47.0',
+ version='48.0',
author='Avocado Developers',
author_email='avocado-devel@redhat.com',
url='http://avocado-framework.github.io/',
diff --git a/optional_plugins/runner_remote/setup.py b/optional_plugins/runner_remote/setup.py
index 5fe58dc..5aae9c5 100644
--- a/optional_plugins/runner_remote/setup.py
+++ b/optional_plugins/runner_remote/setup.py
@@ -19,7 +19,7 @@ from setuptools import setup, find_packages
setup(name='avocado-runner-remote',
description='Avocado Runner for Remote Execution',
- version='47.0',
+ version='48.0',
author='Avocado Developers',
author_email='avocado-devel@redhat.com',
url='http://avocado-framework.github.io/',
diff --git a/optional_plugins/runner_vm/setup.py b/optional_plugins/runner_vm/setup.py
index 168464a..44b56e7 100644
--- a/optional_plugins/runner_vm/setup.py
+++ b/optional_plugins/runner_vm/setup.py
@@ -19,7 +19,7 @@ from setuptools import setup, find_packages
setup(name='avocado-runner-vm',
description='Avocado Runner for libvirt VM Execution',
- version='47.0',
+ version='48.0',
author='Avocado Developers',
author_email='avocado-devel@redhat.com',
url='http://avocado-framework.github.io/',
You can find on git such commits that will help you get oriented for other
repos.
...
...
optional_plugins/html/setup.py
浏览文件 @
f9c3959f
...
...
@@ -13,17 +13,12 @@
# Copyright: Red Hat Inc. 2016
# Author: Cleber Rosa <crosa@redhat.com>
import
os
from
setuptools
import
setup
,
find_packages
root_path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
".."
,
".."
))
version_file
=
os
.
path
.
join
(
root_path
,
'VERSION'
)
VERSION
=
open
(
version_file
,
'r'
).
read
().
strip
()
setup
(
name
=
'avocado_result_html'
,
setup
(
name
=
'avocado-framework-plugin-result-html'
,
description
=
'Avocado HTML Report for Jobs'
,
version
=
VERSION
,
version
=
'47.0'
,
author
=
'Avocado Developers'
,
author_email
=
'avocado-devel@redhat.com'
,
url
=
'http://avocado-framework.github.io/'
,
...
...
optional_plugins/robot/setup.py
浏览文件 @
f9c3959f
...
...
@@ -13,17 +13,12 @@
# Copyright: Red Hat Inc. 2017
# Author: Amador Pahim <apahim@redhat.com>
import
os
from
setuptools
import
setup
,
find_packages
root_path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
".."
,
".."
))
version_file
=
os
.
path
.
join
(
root_path
,
'VERSION'
)
VERSION
=
open
(
version_file
,
'r'
).
read
().
strip
()
setup
(
name
=
'avocado-robot'
,
setup
(
name
=
'avocado-framework-plugin-robot'
,
description
=
'Avocado Plugin for Execution of Robot Framework tests'
,
version
=
VERSION
,
version
=
'47.0'
,
author
=
'Avocado Developers'
,
author_email
=
'avocado-devel@redhat.com'
,
url
=
'http://avocado-framework.github.io/'
,
...
...
optional_plugins/runner_docker/setup.py
浏览文件 @
f9c3959f
...
...
@@ -13,23 +13,18 @@
# Copyright: Red Hat Inc. 2017
# Author: Cleber Rosa <crosa@redhat.com>
import
os
from
setuptools
import
setup
,
find_packages
root_path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
".."
,
".."
))
version_file
=
os
.
path
.
join
(
root_path
,
'VERSION'
)
VERSION
=
open
(
version_file
,
'r'
).
read
().
strip
()
setup
(
name
=
'avocado-runner-docker'
,
setup
(
name
=
'avocado-framework-plugin-runner-docker'
,
description
=
'Avocado Runner for Execution on Docker Containers'
,
version
=
VERSION
,
version
=
'47.0'
,
author
=
'Avocado Developers'
,
author_email
=
'avocado-devel@redhat.com'
,
url
=
'http://avocado-framework.github.io/'
,
packages
=
find_packages
(),
include_package_data
=
True
,
install_requires
=
[
'avocado-runner-remote'
,
'aexpect'
],
install_requires
=
[
'avocado-
framework-plugin-
runner-remote'
,
'aexpect'
],
entry_points
=
{
'avocado.plugins.cli'
:
[
'docker = avocado_runner_docker:DockerCLI'
,
...
...
optional_plugins/runner_remote/setup.py
浏览文件 @
f9c3959f
...
...
@@ -13,17 +13,12 @@
# Copyright: Red Hat Inc. 2017
# Author: Cleber Rosa <crosa@redhat.com>
import
os
from
setuptools
import
setup
,
find_packages
root_path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
".."
,
".."
))
version_file
=
os
.
path
.
join
(
root_path
,
'VERSION'
)
VERSION
=
open
(
version_file
,
'r'
).
read
().
strip
()
setup
(
name
=
'avocado-runner-remote'
,
setup
(
name
=
'avocado-framework-plugin-runner-remote'
,
description
=
'Avocado Runner for Remote Execution'
,
version
=
VERSION
,
version
=
'47.0'
,
author
=
'Avocado Developers'
,
author_email
=
'avocado-devel@redhat.com'
,
url
=
'http://avocado-framework.github.io/'
,
...
...
optional_plugins/runner_vm/setup.py
浏览文件 @
f9c3959f
...
...
@@ -13,23 +13,18 @@
# Copyright: Red Hat Inc. 2017
# Author: Cleber Rosa <crosa@redhat.com>
import
os
from
setuptools
import
setup
,
find_packages
root_path
=
os
.
path
.
abspath
(
os
.
path
.
join
(
".."
,
".."
))
version_file
=
os
.
path
.
join
(
root_path
,
'VERSION'
)
VERSION
=
open
(
version_file
,
'r'
).
read
().
strip
()
setup
(
name
=
'avocado-runner-vm'
,
setup
(
name
=
'avocado-framework-plugin-runner-vm'
,
description
=
'Avocado Runner for libvirt VM Execution'
,
version
=
VERSION
,
version
=
'47.0'
,
author
=
'Avocado Developers'
,
author_email
=
'avocado-devel@redhat.com'
,
url
=
'http://avocado-framework.github.io/'
,
packages
=
find_packages
(),
include_package_data
=
True
,
install_requires
=
[
'avocado-runner-remote'
,
'libvirt-python'
],
install_requires
=
[
'avocado-
framework-plugin-
runner-remote'
,
'libvirt-python'
],
entry_points
=
{
'avocado.plugins.cli'
:
[
'vm = avocado_runner_vm:VMCLI'
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录