This commit is contained in:
Derek Bekoe 2017-10-17 10:51:31 -07:00 коммит произвёл Troy Dai
Родитель 5faef38350
Коммит af881c5690
93 изменённых файлов: 262 добавлений и 96 удалений

Просмотреть файл

@ -170,10 +170,6 @@ Submitting Pull Requests
Modify the `HISTORY.rst` for all changed modules.
Add your change log to the 'unreleased' heading in the file.
If that heading doesn't exist yet, create it.
This will be the release notes for the next release.
e.g.:
@ -183,13 +179,13 @@ e.g.:
Release History
===============
unreleased
++++++++++
0.0.2
+++++
* This is my change.
0.0.1 (YYYY-MM-DD)
++++++++++++++++++
0.0.1
+++++
* This is the changelog from a prev. release.

Просмотреть файл

@ -90,7 +90,7 @@ cat >$testsrc_dir/setup.py <<EOL
from setuptools import setup
VERSION = "1.0.0+dev"
VERSION = "1.0.0"
CLASSIFIERS = [
'Development Status :: 3 - Alpha',

Просмотреть файл

@ -4,9 +4,13 @@ set -e
. $(cd $(dirname $0); pwd)/artifacts.sh
ls -la $share_folder/build
ALL_MODULES=`find $share_folder/build/ -name "*.whl"`
pip install -qqq -e ./tools
pip install -qqq coverage codecov
pip install -qqq azure-cli-fulltest -f $share_folder/build
pip install -qqq $ALL_MODULES
echo '=== List installed packages'
pip freeze

Просмотреть файл

@ -4,8 +4,12 @@ set -e
. $(cd $(dirname $0); pwd)/artifacts.sh
ls -la $share_folder/build
ALL_MODULES=`find $share_folder/build/ -name "*.whl"`
pip install -e ./tools
pip install azure-cli -f $share_folder/build
pip install $ALL_MODULES
echo '=== List installed packages'
pip freeze

Просмотреть файл

@ -4,8 +4,12 @@ set -e
. $(cd $(dirname $0); pwd)/artifacts.sh
ls -la $share_folder/build
ALL_MODULES=`find $share_folder/build/ -name "*.whl"`
pip install pylint flake8
pip install azure-cli-fulltest -f $share_folder/build
pip install $ALL_MODULES
echo '=== List installed packages'
pip freeze

Просмотреть файл

@ -22,17 +22,17 @@ platform=`uname`
for each in $(find src -name __init__.py); do
if [ "$platform" == "Darwin" ]; then
sed -i "" "s/^__version__ = [\"']\(.*\)+dev[\"']/__version__ = \"\1+dev.$version\"/" $each
sed -i "" "s/^__version__ = [\"']\(.*\)[\"']/__version__ = \"\1.dev$version\"/" $each
else
sed -i "s/^__version__ = [\"']\(.*\)+dev[\"']/__version__ = \"\1+dev.$version\"/" $each
sed -i "s/^__version__ = [\"']\(.*\)[\"']/__version__ = \"\1.dev$version\"/" $each
fi
done
for each in $(find src -name setup.py); do
if [ "$platform" == "Darwin" ]; then
sed -i "" "s/^VERSION = [\"']\(.*\)+dev[\"']/VERSION = \"\1+dev.$version\"/" $each
sed -i "" "s/^VERSION = [\"']\(.*\)[\"']/VERSION = \"\1.dev$version\"/" $each
else
sed -i "s/^VERSION = [\"']\(.*\)+dev[\"']/VERSION = \"\1+dev.$version\"/" $each
sed -i "s/^VERSION = [\"']\(.*\)[\"']/VERSION = \"\1.dev$version\"/" $each
fi
done

Просмотреть файл

@ -2,8 +2,9 @@
Release History
===============
2.0.1 (2017-07-07)
++++++++++++++++++
2.0.1
+++++
* minor fixes
2.0.0 (2017-04-28)

Просмотреть файл

@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup
VERSION = "2.0.1+dev"
VERSION = "2.0.1"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',

Просмотреть файл

@ -3,10 +3,14 @@
Release History
===============
unreleased
+++++++++++++++++++
2.0.20
++++++
* 2017-03-09-profile is updated to consume MGMT_STORAGE API version '2016-01-01'
2.0.19
++++++
* skipped version to align package versions with azure-cli
2.0.18 (2017-10-09)
+++++++++++++++++++
* Azure Stack: handle adfs authority url with a trailing slash

Просмотреть файл

@ -3,7 +3,7 @@
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------
__version__ = "2.0.18+dev"
__version__ = "2.0.20"
# pylint: disable=unused-import
# The names are imported here to shorten the name references to core utilities in azure.cli.core package.

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.18+dev"
VERSION = "2.0.20"
# If we have source, validate that our version numbers match
# This should prevent uploading releases with mismatched versions.
try:

Просмотреть файл

@ -2,8 +2,9 @@
Release History
===============
3.0.1 (2017-07-07)
++++++++++++++++++
3.0.1
+++++
* minor fixes
3.0.0 (2016-04-28)

Просмотреть файл

@ -8,7 +8,7 @@
from codecs import open
from setuptools import setup
VERSION = "3.0.1+dev"
VERSION = "3.0.1"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',

Просмотреть файл

@ -3,3 +3,6 @@
Release History
===============
0.1.0
+++++++++
* Initial release

Просмотреть файл

@ -19,4 +19,4 @@ __all__ = ['ScenarioTest', 'LiveScenarioTest', 'ResourceGroupPreparer', 'Storage
'live_only', 'record_only', 'StringCheck', 'StringContainCheck', 'get_sha1_hash', 'KeyVaultPreparer',
'JMESPathCheckGreaterThan', 'api_version_constraint', 'get_active_api_profile', 'create_random_name']
__version__ = '0.1.0+dev'
__version__ = '0.1.0'

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.1.0+dev"
VERSION = "0.1.0"
CLASSIFIERS = [
'Development Status :: 3 - Alpha',

Просмотреть файл

@ -2,6 +2,10 @@
Release History
===============
2.0.20
++++++
2.0.19 (2017-10-09)
+++++++++++++++++++
* no changes

Просмотреть файл

@ -11,4 +11,4 @@ import pkg_resources
pkg_resources.declare_namespace(__name__)
__author__ = "Microsoft Corporation <python@microsoft.com>"
__version__ = "2.0.19+dev"
__version__ = "2.0.20"

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.19+dev"
VERSION = "2.0.20"
# If we have source, validate that our version numbers match
# This should prevent uploading releases with mismatched versions.
try:

Просмотреть файл

@ -3,8 +3,8 @@
Release History
===============
unreleased
++++++++++
2.0.14
++++++
* All resource management now points to 2017-10-01 api-version.
* Bring your own storage SKU is now Classic.
* Managed registry SKUs are now Basic, Standard, and Premium.

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.13+dev"
VERSION = "2.0.14"
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,8 +2,9 @@
Release History
===============
unreleased
+++++++++++++++++++
2.0.18
++++++
* fix kubernetes get-credentials
2.0.17 (2017-10-09)

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.17+dev"
VERSION = "2.0.18"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,8 +2,9 @@
Release History
===============
(unreleased)
+++++++++++++++++++
0.1.19
++++++
* webapp: fix a bug that downloaded log file might be invalid
0.1.18 (2017-10-09)

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.1.18+dev"
VERSION = "0.1.19"
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
1.0.2
+++++
* no changes
1.0.1 (2017-09-22)
++++++++++++++++++
* Preview release.

Просмотреть файл

@ -13,7 +13,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "1.0.1+dev"
VERSION = "1.0.2"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

Просмотреть файл

@ -3,6 +3,11 @@
Release History
===============
3.1.6
+++++
* minor fixes
3.1.5 (2017-10-09)
++++++++++++++++++
* Updated to Batch SDK 4.0.0.

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "3.1.5+dev"
VERSION = "3.1.6"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -3,6 +3,10 @@
Release History
===============
0.1.2
+++++
* minor fixes
0.1.1 (2017-10-09)
++++++++++++++++++

Просмотреть файл

@ -13,7 +13,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.1.1+dev"
VERSION = "0.1.2"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.1.6
+++++
* minor fixes
0.1.5 (2017-09-22)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -16,7 +16,7 @@ except ImportError:
cmdclass = {}
VERSION = "0.1.5+dev"
VERSION = "0.1.6"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.0.10
++++++
* minor fixes
0.0.9 (2017-09-22)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -16,7 +16,7 @@ except ImportError:
cmdclass = {}
VERSION = "0.0.9+dev"
VERSION = "0.0.10"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
2.0.9
+++++
* minor fixes
2.0.8 (2017-09-22)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.8+dev"
VERSION = "2.0.9"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.1.9
+++++
* minor fixes
0.1.8 (2017-09-22)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -13,7 +13,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.1.8+dev"
VERSION = "0.1.9"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -3,6 +3,10 @@
Release History
===============
2.0.8
+++++
* minor fixes
2.0.7 (2017-08-11)
++++++++++++++++++

Просмотреть файл

@ -28,17 +28,9 @@ def _deprecate_warning():
pass
def _verify_not_dev():
from azure.cli.core import __version__ as core_version
dev_version = core_version.endswith('+dev')
if dev_version:
raise CLIError('This operation is not available in the developer version of the CLI.')
def list_components():
""" List the installed components """
_deprecate_warning()
_verify_not_dev()
import pip
return sorted([{'name': dist.key.replace(COMPONENT_PREFIX, ''), 'version': dist.version}
for dist in pip.get_installed_distributions(local_only=True)
@ -67,7 +59,6 @@ def _get_first_party_pypi_command_modules():
def list_available_components():
""" List publicly available components that can be installed """
_deprecate_warning()
_verify_not_dev()
import pip
available_components = []
installed_component_names = [dist.key.replace(COMPONENT_PREFIX, '') for dist in
@ -89,7 +80,6 @@ def list_available_components():
def remove(component_name):
""" Remove a component """
_deprecate_warning()
_verify_not_dev()
if component_name in ['nspkg', 'core']:
raise CLIError("This component cannot be removed, it is required for the CLI to function.")
import pip
@ -182,7 +172,6 @@ def update(private=False,
allow_third_party=False):
""" Update the CLI and all installed components """
_deprecate_warning()
_verify_not_dev()
import pip
# Update the CLI itself
package_list = [CLI_PACKAGE_NAME]

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.7+dev"
VERSION = "2.0.8"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
2.0.12
++++++
* minor fixes
2.0.11 (2017-09-22)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
cmdclass = {}
VERSION = "2.0.11+dev"
VERSION = "2.0.12"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.1.6
+++++
* minor fixes
0.1.5 (2017-09-22)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -16,7 +16,7 @@ except ImportError:
cmdclass = {}
VERSION = "0.1.5+dev"
VERSION = "0.1.6"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.1.12
++++++
* minor fixes
0.1.11 (2017-09-22)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.1.11+dev"
VERSION = "0.1.12"
CLASSIFIERS = [
'Development Status :: 4 - Beta',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.1.14
++++++
* minor fixes
0.1.13 (2017-09-22)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -16,7 +16,7 @@ except ImportError:
cmdclass = {}
VERSION = "0.1.13+dev"
VERSION = "0.1.14"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.0.13
++++++
* minor fixes
0.0.12 (2017-09-22)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -16,7 +16,7 @@ except ImportError:
cmdclass = {}
VERSION = "0.0.12+dev"
VERSION = "0.0.13"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.0.16
++++++
* minor fixes
0.0.15 (2017-10-09)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -16,7 +16,7 @@ except ImportError:
cmdclass = {}
VERSION = "0.0.15+dev"
VERSION = "0.0.16"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.1.5
+++++
* minor fixes
0.1.4 (2017-09-22)
++++++++++++++++++

Просмотреть файл

@ -13,7 +13,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.1.4+dev"
VERSION = "0.1.5"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.0.5
+++++
* minor fixes
0.0.4 (2017-10-09)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.0.4+dev"
VERSION = "0.0.5"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',

Просмотреть файл

@ -2,8 +2,9 @@
Release History
===============
2.0.6 (2017-07-07)
++++++++++++++++++
2.0.6
+++++
* minor fixes
2.0.5 (2017-06-21)

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
cmdclass = {}
VERSION = "2.0.6+dev"
VERSION = "2.0.6"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,8 +2,9 @@
Release History
===============
0.2.7 (2017-09-22)
++++++++++++++++++
0.2.7
+++++
* minor fixes
0.2.6 (2017-07-07)

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
cmdclass = {}
VERSION = "0.2.7+dev"
VERSION = "0.2.7"
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.3.11
++++++
* minor fixes
0.3.10 (2017-09-22)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
cmdclass = {}
# Version is also defined in azclishell.__init__.py.
VERSION = "0.3.10+dev"
VERSION = "0.3.11"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,12 @@
Release History
===============
0.1.13
++++++
* minor fixes
0.1.12 (2017-09-22)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.1.12+dev"
VERSION = "0.1.13"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
2.0.13
++++++
* minor fixes
2.0.12 (2017-10-09)
+++++++++++++++++++
* Fixed Key Vault authentication issue when using ADFS on Azure Stack. https://github.com/Azure/azure-cli/issues/4448

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.12+dev"
VERSION = "2.0.13"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.0.12
++++++
* minor fixes
0.0.11 (2017-09-22)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -12,7 +12,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.0.11+dev"
VERSION = "0.0.12"
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',

Просмотреть файл

@ -3,8 +3,8 @@
Release History
===============
unreleased
++++++++++
0.0.11
++++++
* Add action-group commands
0.0.10 (2017-09-22)

Просмотреть файл

@ -12,7 +12,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.0.10+dev"
VERSION = "0.0.11"
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',

Просмотреть файл

@ -3,6 +3,10 @@
Release History
===============
2.0.17
++++++
* minor fixes
2.0.16 (2017-10-09)
+++++++++++++++++++
* `application-gateway address-pool create`: `--server` argument is not optional to allow creation of empty address pools.

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.16+dev"
VERSION = "2.0.17"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
2.0.15
++++++
* minor fixes
2.0.14 (2017-10-09)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.14+dev"
VERSION = "2.0.15"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.0.8
++++++
* minor fixes
0.0.7 (2017-09-22)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -12,7 +12,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.0.7+dev"
VERSION = "0.0.8"
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.2.10
++++++
* minor fixes
0.2.9 (2017-09-22)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.2.9+dev"
VERSION = "0.2.10"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [

Просмотреть файл

@ -3,8 +3,8 @@
Release History
===============
unreleased
+++++++++++++++++++
2.0.17
++++++
* `group export`: Fixed incompatibility with most recent version of msrest dependency.
* `az policy assignment create`: policy assignment create command to work with built in policy definitions and policy set definitions.

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.16+dev"
VERSION = "2.0.17"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
2.0.14
++++++
* minor fixes
2.0.13 (2017-10-09)
+++++++++++++++++++
* minor fixes

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.13+dev"
VERSION = "2.0.14"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,6 +2,11 @@
Release History
===============
0.0.5
+++++
* minor fixes
0.0.4 (2017-09-22)
++++++++++++++++++
* minor fixes

Просмотреть файл

@ -16,7 +16,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "0.0.4+dev"
VERSION = "0.0.5"
# The full list of classifiers is available at
# https://pypi.python.org/pypi?%3Aaction=list_classifiers

Просмотреть файл

@ -3,6 +3,10 @@
Release History
===============
2.0.14
++++++
* Minor fixes
2.0.13 (2017-10-09)
+++++++++++++++++++
* Adding support for SQL Transparent Data Encryption (TDE) and TDE with Bring Your Own Key

Просмотреть файл

@ -12,7 +12,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.13+dev"
VERSION = "2.0.14"
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',

Просмотреть файл

@ -3,6 +3,10 @@
Release History
===============
2.0.18
++++++
* Minor fixes
2.0.17 (2017-10-09)
+++++++++++++++++++
* File share snapshot

Просмотреть файл

@ -14,7 +14,7 @@ except ImportError:
logger.warn("Wheel is not available, disabling bdist_wheel hook")
cmdclass = {}
VERSION = "2.0.17+dev"
VERSION = "2.0.18"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -2,8 +2,9 @@
Release History
===============
(unreleased)
+++++++++++++++++++
2.0.17
++++++
* `vmss create`: expose '--accelerated-networking'
2.0.16 (2017-10-09)

Просмотреть файл

@ -15,7 +15,7 @@ except ImportError:
cmdclass = {}
VERSION = "2.0.16+dev"
VERSION = "2.0.17"
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',

Просмотреть файл

@ -51,11 +51,26 @@ def check_history_headings(mod_path):
writer=None, writer_name='null',
settings=None, settings_spec=None, settings_overrides={},
config_section=None, enable_exit_status=None)
if pub.writer.document.children[0].rawsource == RELEASE_HISTORY_TITLE:
return True
else:
# Check first heading is Release History
if pub.writer.document.children[0].rawsource != RELEASE_HISTORY_TITLE:
print("Expected '{}' as first heading in HISTORY.rst".format(RELEASE_HISTORY_TITLE))
return False
all_versions = [t['names'][0] for t in pub.writer.document.children if t['names']]
# Check that no headings contain 'unreleased'. We don't require it any more
if any('unreleased' in v.lower() for v in all_versions):
print("We no longer require 'unreleased' in headings. Use the appropriate version number instead.")
return False
# Check that the current package version has a history entry
if not all_versions:
print("Unable to get versions from {}. Check formatting. e.g. there should be a new line after the 'Release History' heading.".format(history_path))
return False
first_version_history = all_versions[0]
actual_version = subprocess.check_output('python setup.py --version'.split(), cwd=mod_path, universal_newlines=True)
actual_version = actual_version.strip()
if first_version_history != actual_version:
print("No heading for version {} in {}".format(actual_version, history_path))
return False
return True
def check_readme_render(mod_path):