Update SqlToolsService with SMO post processing enabled fix (#86)
* Update sqltoolsservice version which includes a fix for to enable post processing for SMO on .NET Core * Fix pep8 code formatting error
This commit is contained in:
Родитель
7684a2cbe6
Коммит
f3943210cb
|
@ -1,5 +1,5 @@
|
|||
[bumpversion]
|
||||
current_version = 1.0.0a1
|
||||
current_version = 1.0.0a7
|
||||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>.*))(?P<release_version>\d+)
|
||||
serialize =
|
||||
{major}.{minor}.{patch}{release}{release_version}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
.. image:: https://img.shields.io/pypi/pyversions/mssql-scripter.svg
|
||||
:target: https://travis-ci.org/Microsoft/sql-xplat-cli
|
||||
|
||||
mssql-scripter 1.0.0a1
|
||||
mssql-scripter 1.0.0a7
|
||||
============================
|
||||
|
||||
We’re excited to introduce mssql-scripter, a multi-platform command line
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
# Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
# --------------------------------------------------------------------------------------------
|
||||
|
||||
__version__ = '1.0.0a1'
|
||||
__version__ = '1.0.0a7'
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
mssqltoolsservice 1.0.0a1
|
||||
mssqltoolsservice 1.0.0a7
|
||||
===============================
|
||||
|
||||
The platform specific mssqltoolsservice package provides external
|
||||
|
|
|
@ -17,7 +17,7 @@ install_aliases()
|
|||
from urllib.request import urlopen
|
||||
|
||||
|
||||
DOWNLOAD_URL_BASE = 'https://mssqlscripter.blob.core.windows.net/sqltoolsservice-05-06-2017/'
|
||||
DOWNLOAD_URL_BASE = 'https://mssqlscripter.blob.core.windows.net/sqltoolsservice-05-24-2017/'
|
||||
|
||||
# Supported platform key's must match those in mssqlscript's setup.py.
|
||||
SUPPORTED_PLATFORMS = {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
import os
|
||||
import platform
|
||||
|
||||
__version__ = '1.0.0a1'
|
||||
__version__ = '1.0.0a7'
|
||||
|
||||
|
||||
def get_executable_path():
|
||||
|
|
|
@ -12,7 +12,7 @@ import sys
|
|||
|
||||
# This version number is in place in two places and must be in sync with
|
||||
# mssqlscripter's version in setup.py.
|
||||
MSSQLTOOLSSERVICE_VERSION = '1.0.0a1'
|
||||
MSSQLTOOLSSERVICE_VERSION = '1.0.0a7'
|
||||
|
||||
# If we have source, validate version numbers match to prevent
|
||||
# uploading releases with mismatched versions.
|
||||
|
|
2
setup.py
2
setup.py
|
@ -14,7 +14,7 @@ from setuptools import setup
|
|||
|
||||
# This version number is in place in two places and must be in sync with
|
||||
# mssqltoolsservice's version in setup.py.
|
||||
MSSQLSCRIPTER_VERSION = '1.0.0a1'
|
||||
MSSQLSCRIPTER_VERSION = '1.0.0a7'
|
||||
|
||||
# If we have the source, validate our setup version matches source version.
|
||||
# This will prevent uploading releases with mismatched versions. This will
|
||||
|
|
|
@ -5,10 +5,18 @@
|
|||
|
||||
from __future__ import print_function
|
||||
from subprocess import check_call, CalledProcessError
|
||||
import os
|
||||
import shutil
|
||||
import sys
|
||||
|
||||
|
||||
MSSQLSCRIPTER_DIST_DIRECTORY = os.path.abspath(
|
||||
os.path.join(os.path.abspath(__file__), '..', 'dist'))
|
||||
|
||||
MSSQLTOOLSSERVICE_DIST_DIRECTORY = os.path.abspath(os.path.join(
|
||||
os.path.abspath(__file__), '..', 'mssqltoolsservice', 'dist'))
|
||||
|
||||
|
||||
def exec_command(command, directory, continue_on_error=True):
|
||||
"""
|
||||
Execute command.
|
||||
|
|
|
@ -9,11 +9,6 @@ import os
|
|||
import setup # called via "verify_package.py clean"" to detect platform for wheel generation.
|
||||
|
||||
|
||||
MSSQLSCRIPTER_DIST_DIRECTORY = os.path.abspath(
|
||||
os.path.join(os.path.abspath(__file__), '..', 'dist'))
|
||||
MSSQLTOOLSSERVICE_DIST_DIRECTORY = os.path.abspath(os.path.join(
|
||||
os.path.abspath(__file__), '..', 'mssqltoolsservice', 'dist'))
|
||||
|
||||
root_dir = os.path.abspath(os.path.join(os.path.abspath(__file__), '..'))
|
||||
|
||||
|
||||
|
@ -35,7 +30,7 @@ def verify_local_install():
|
|||
Install mssql-scripter package locally that resolves mssqltoolsservice dependency from local build.
|
||||
"""
|
||||
# Local install of mssql-scripter.
|
||||
mssqlscripter_sdist_name = os.listdir(MSSQLSCRIPTER_DIST_DIRECTORY)[0]
|
||||
mssqlscripter_sdist_name = os.listdir(utility.MSSQLSCRIPTER_DIST_DIRECTORY)[0]
|
||||
# To ensure we have a clean install, we disable the cache as to prevent cache overshadowing actual changes made.
|
||||
utility.exec_command(
|
||||
'pip install --no-cache-dir --no-index --find-links=./mssqltoolsservice/dist ./dist/{}'.format(mssqlscripter_sdist_name),
|
||||
|
|
Загрузка…
Ссылка в новой задаче