Skip to content
This repository was archived by the owner on May 7, 2024. It is now read-only.

Commit 0717f08

Browse files
committed
Merge branch 'dev'
2 parents a06c4cd + ca49239 commit 0717f08

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+8170
-24
lines changed

.bumpversion.cfg

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
[bumpversion]
2+
current_version = 1.0.0a18
3+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)((?P<release>.*))(?P<release_version>\d+)
4+
serialize =
5+
{major}.{minor}.{patch}{release}{release_version}
6+
7+
[bumpversion:part:release]
8+
optional_value = production
9+
values =
10+
a
11+
rc
12+
production
13+
14+
[bumpversion:file:setup.py]
15+
16+
[bumpversion:file:mssqltoolsservice/setup.py]
17+
18+
[bumpversion:file:mssqlscripter/__init__.py]
19+
20+
[bumpversion:file:mssqltoolsservice/mssqltoolsservice/__init__.py]
21+

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# baseline files need to retain crlf for cross plat tests that simulate sql tools service response
2+
*.txt text eol=crlf

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,38 @@ ENV/
8787

8888
# Rope project settings
8989
.ropeproject
90+
91+
# DS Store
92+
.DS_Store
93+
94+
# sqltoolsservice binaries
95+
/mssqlscripter/sqltoolsservice/*
96+
/mssqltoolsservice/mssqltoolsservice/bin/*
97+
98+
99+
# VSCode configuration
100+
.vscode/*
101+
102+
# Visual Studio User-specific files
103+
*.suo
104+
*.user
105+
*.userosscache
106+
*.sln.docstates
107+
108+
# MonoDevelop/Xamarin Studio User-specific files
109+
*.userprefs
110+
111+
# Visual Studio Build results
112+
[Dd]ebug/
113+
[Dd]ebugPublic/
114+
[Rr]elease/
115+
[Rr]eleases/
116+
x64/
117+
x86/
118+
bld/
119+
[Bb]in/
120+
[Oo]bj/
121+
[Ll]og/
122+
123+
# Visual Studio 2015 cache/options directory
124+
.vs/

.travis.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
sudo: True
2+
language: python
3+
matrix:
4+
include:
5+
- os: osx
6+
language: generic
7+
env: TOXENV=py36
8+
- os: osx
9+
language: generic
10+
env: TOXENV=py27
11+
- os: linux
12+
python: "2.7"
13+
- os: linux
14+
python: "3.3"
15+
- os: linux
16+
python: "3.4"
17+
- os: linux
18+
python: "3.5"
19+
- os: linux
20+
python: "3.6"
21+
before_install:
22+
- if [["$TRAVIS_OS_NAME" == "linux"]]; then $ apt-get update; fi
23+
- if [["$TRAVIS_OS_NAME" == "linux"]]; then $ apt-get install libunwind8; fi
24+
- if [[ ( "$TRAVIS_OS_NAME" == "osx" ) && ( "$TOXENV" == "py36" ) ]]; then brew update; fi
25+
- if [[ ( "$TRAVIS_OS_NAME" == "osx" ) && ( "$TOXENV" == "py36" ) ]]; then brew install python3; fi
26+
install:
27+
- pip install codecov
28+
- pip install tox-travis
29+
script:
30+
- tox
31+
after_success:
32+
- codecov

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

LICENSE.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Microsoft SQL Scripter
2+
3+
Copyright (c) Microsoft Corporation
4+
5+
All rights reserved.
6+
7+
MIT License
8+
9+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the ""Software""), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
12+
13+
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

MANIFEST.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include LICENSE.txt
2+
include README.rst

README.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.rst

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
.. image:: https://travis-ci.org/Microsoft/sql-xplat-cli.svg?branch=dev
2+
:target: https://travis-ci.org/Microsoft/sql-xplat-cli
3+
4+
.. image:: https://ci.appveyor.com/api/projects/status/vpm8p71265ijytqs/branch/dev?svg=true
5+
:target: https://ci.appveyor.com/project/MrMeemus/sql-xplat-cli
6+
7+
.. image:: https://codecov.io/gh/Microsoft/sql-xplat-cli/branch/dev/graph/badge.svg?token=M96uWrHOIu
8+
  :target: https://codecov.io/gh/Microsoft/sql-xplat-cli/branch/dev
9+
10+
.. image:: https://badge.fury.io/py/mssql-scripter.svg
11+
:target: https://pypi.python.org/pypi/mssql-scripter
12+
13+
.. image:: https://img.shields.io/pypi/pyversions/mssql-scripter.svg
14+
:target: https://travis-ci.org/Microsoft/sql-xplat-cli
15+
16+
mssql-scripter
17+
===============
18+
We’re excited to introduce mssql-scripter, a multi-platform command line
19+
experience for scripting SQL Server databases.
20+
21+
mssql-scripter is the multiplatform command line equivalent of the widely used Generate Scripts Wizard experience in SSMS. You can use mssql-scripter on Linux, macOS, and Windows to generate data definition language (DDL) and data manipulation language (DML) T-SQL scripts for database objects in SQL Server running anywhere, Azure SQL Database, and Azure SQL Data Warehouse. You can save the generated T-SQL script to a .sql file or pipe it to standard nix utilities (for example, sed, awk, grep) for further transformations. You can edit the generated script or check it into source control and subsequently execute the script in your existing SQL database deployment processes and DevOps pipelines with standard multiplatform SQL command line tools such as sqlcmd.
22+
23+
mssql-scripter is built using Python and incorporates the usability principles of the new Azure CLI 2.0 tools.
24+
25+
Installation
26+
------------
27+
28+
.. code:: bash
29+
30+
$ pip install mssql-scripter
31+
32+
Please refer to the `installation guide`_ for detailed install instructions.
33+
34+
Usage
35+
-----
36+
37+
Please refer to the `usage guide`_ for details on options and example usage.
38+
39+
For general help content, pass in the ``-h`` parameter:
40+
41+
.. code:: bash
42+
43+
$ mssql-scripter -h
44+
45+
Contributing
46+
-----------------------------
47+
If you would like to contribute to the project, please refer to the `development guide`_.
48+
49+
Reporting issues and feedback
50+
-----------------------------
51+
52+
If you encounter any bugs with the tool please file an issue in the
53+
`Issues`_ section of our GitHub repo.
54+
55+
Code of Conduct
56+
---------------
57+
58+
This project has adopted the `Microsoft Open Source Code of Conduct`_.
59+
60+
For more information see the `Code of Conduct FAQ`_ or contact
61+
[email protected] with any additional questions or comments.
62+
63+
License
64+
-------
65+
66+
mssql-scritper is licensed under the `MIT license`_.
67+
68+
.. _installation guide: doc/installation_guide.md
69+
.. _development guide: doc/development_guide.md
70+
.. _usage guide: doc/usage_guide.md
71+
.. _Issues: https://github.com/Microsoft/sql-xplat-cli/issues
72+
.. _Microsoft Open Source Code of Conduct: https://opensource.microsoft.com/codeofconduct/
73+
.. _Code of Conduct FAQ: https://opensource.microsoft.com/codeofconduct/faq/
74+
.. _MIT license: https://github.com/Microsoft/sql-xplat-cli/blob/dev/LI

appveyor.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
environment:
2+
3+
matrix:
4+
- TOXENV: "py27"
5+
PYTHON: "C:\\Python27"
6+
- TOXENV: "py33"
7+
PYTHON: "C:\\Python33"
8+
- TOXENV: "py34"
9+
PYTHON: "C:\\Python34"
10+
- TOXENV: "py35"
11+
PYTHON: "C:\\Python35"
12+
- TOXENV: "py36"
13+
PYTHON: "C:\\Python36"
14+
15+
install:
16+
- "%PYTHON%\\python.exe -m pip install -r dev_requirements.txt"
17+
- "%PYTHON%\\python.exe -m pip install codecov"
18+
build: off
19+
20+
test_script:
21+
- "%PYTHON%\\python.exe -m tox"
22+
23+
on_success:
24+
- "%PYTHON%\\Scripts\\codecov.exe -f coverage.xml"

0 commit comments

Comments
 (0)