You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 7, 2024. It is now read-only.
* Use SqlToolsService built on .NET Core 2.0 and a build script updates (#131)
* Bump version to 1.0.0a19
* Use .NET Core 2.0 RTM built sqltoolsservice
* Add build script to upload to azure blob storage
* Upgrade to VS 2017
* Remove 3.3 as supported Python version
* Fix perf issue where main event loop takes 100% of CPU (#132)
Fix perf issue where main event loop takes 100% of CPU
We have a 2 threads:
Thread #1 runs in a loop polling the response queue
Thread #2 runs in a loop decoding responses from the sqltoolsservice over stdout and posting them to the response queue
Since thread #1 doesn't sleep, it's takes 100% CPU. In addition, running python 2.7 on windows, #2 doesn’t preempt the CPU due to #1 taking all of the CPU cycles, so no response is processed.
Fix is simple – thread #1 needs to sleep so thread #2 can get scheduled and get it’s work done.
* Refine event loop perf fix in main.py
Refine event loop perf fix in main.py
* Fixing regular expression
Previous regex would result in release:a1 and release_version: 12.
Modified the regex for part Release to only pick up lower case letters.
* Adding missing forward slash on test pypi url
* fixing typos/grammar (#138)
fixing typos/grammar.
* Updating to release version 1.0.0a20.
* Create doc for official msft docs page
* Updated documentation page with usage_guide
* Added link to download adventureworks
* Updated with sqlcmd usage
* Added in run and cloud shell support
* Update/consolidate linux install (#153)
* universal linux wheel gen and setup update.
* Updating version cfg.
* Updating sqltoolsservice container.
* Updating spacing for flake8.
* Updating team email. (#154)
* Fixing resource warning for sqltoolsservice (#158)
* Fixing resource warning for sqltoolsservice by closing stdout after killing process.
* Shortening sleep time during shutdown.
* Fixing missing bracket.
* Updating doc's after repro rename (#160)
* Updating files after repro rename.
* Fixing flake8 issues.
* Ron/platform wheels support (#161)
* Merge release 1.0.0a21 (#155)
* Use SqlToolsService built on .NET Core 2.0 and a build script updates (#131)
* Bump version to 1.0.0a19
* Use .NET Core 2.0 RTM built sqltoolsservice
* Add build script to upload to azure blob storage
* Upgrade to VS 2017
* Remove 3.3 as supported Python version
* Fix perf issue where main event loop takes 100% of CPU (#132)
Fix perf issue where main event loop takes 100% of CPU
We have a 2 threads:
Thread #1 runs in a loop polling the response queue
Thread #2 runs in a loop decoding responses from the sqltoolsservice over stdout and posting them to the response queue
Since thread #1 doesn't sleep, it's takes 100% CPU. In addition, running python 2.7 on windows, #2 doesn’t preempt the CPU due to #1 taking all of the CPU cycles, so no response is processed.
Fix is simple – thread #1 needs to sleep so thread #2 can get scheduled and get it’s work done.
* Refine event loop perf fix in main.py
Refine event loop perf fix in main.py
* Fixing regular expression
Previous regex would result in release:a1 and release_version: 12.
Modified the regex for part Release to only pick up lower case letters.
* Adding missing forward slash on test pypi url
* fixing typos/grammar (#138)
fixing typos/grammar.
* Updating to release version 1.0.0a20.
* Create doc for official msft docs page
* Updated documentation page with usage_guide
* Added link to download adventureworks
* Updated with sqlcmd usage
* Added in run and cloud shell support
* Update/consolidate linux install (#153)
* universal linux wheel gen and setup update.
* Updating version cfg.
* Updating sqltoolsservice container.
* Updating spacing for flake8.
* Updating team email. (#154)
* Updating mssqltoolsservice to be integrated as a package of mssqlscripter.
* Updating sqltoolsservice to be loaded from the repro instead of storage account.
* Fix index file generation for daily storage account.
* Fixing manylinux1 tag.
* Updating platform tag for win x64.
* Renaming sqltoolsservice win x64 folder.
* Adding platform tags for win_amd64, manylinux1_x86_64, manylinux1_i686.
* version bumping to 1.0.0a22.
* Flake8 format fixes.
* Erroring out when build receives invalid flag.
* Fixing tag for win64
* Update libunwind8 install for CentOS
* Ron/sqltoolsservice update (#163)
* Updating sqltoolsservice with self contained version.
* Refreshing sqltoolsservice again.
* Making mssql-scripter executable and adding null checks in main.py
* Adding clean up step to remove build directory after each build.
* Fixing path for build directory.
* Removing 'pypi' from upload step.
* Flake 8 extra line fix.
Copy file name to clipboardExpand all lines: doc/development_guide.md
+5-5
Original file line number
Diff line number
Diff line change
@@ -11,18 +11,18 @@ Development Guide
11
11
12
12
See the [Architecture Guide](architecture_guide.md) for details on how mssql-scripter is designed and implemented.
13
13
14
-
mssql-scripter sources are located on GitHub (https://github.com/Microsoft/sql-xplat-cli). In order to contribute to the project, you are expected to:
14
+
mssql-scripter sources are located on GitHub (https://github.com/Microsoft/mssql-scripter). In order to contribute to the project, you are expected to:
15
15
- Have a GitHub account. For Microsoft contributors, follow the guidelines on https://opensourcehub.microsoft.com/ to create, configure and link your account
16
-
- Fork the https://github.com/Microsoft/sql-xplat-clirepository into your private GitHub account
17
-
- Create pull requests against the https://github.com/Microsoft/sql-xplat-cli repository to get your code changes merged into the project repository.
16
+
- Fork the https://github.com/Microsoft/mssql-scripterrepository into your private GitHub account
17
+
- Create pull requests against the https://github.com/Microsoft/mssql-scripter repository to get your code changes merged into the project repository.
18
18
19
19
## <aname="Preparing_Machine"></a>1. Preparing your machine
20
20
1. Install latest Python from http://python.org. Please note that the version of Python that comes preinstalled on OSX is 2.7. It is recommended to install both Python 2.7 and Python3.6 to ensure backwards compatibility for testing.
21
21
#### Windows
22
22
- The latest Python installation package can be downloaded from [here](https://www.python.org/downloads/).
23
23
- During installation, select the 'Add Python to PATH' option. Python must be in the PATH environment variable.
24
24
25
-
2. Clone the repo from [https://github.com/Microsoft/sql-xplat-cli](https://github.com/Microsoft/sql-xplat-cli)
25
+
2. Clone the repo from [https://github.com/Microsoft/mssql-scripter](https://github.com/Microsoft/mssql-scripter)
When developing on a Python project, it is recommended to do so in a virtual environment. A virtual environment is a sandbox that maintains a copy of all libraries necessary to run python in a isolated environment without interfering with the system or global python. For more information on virtual environments, go to [Virtual Environment Info](docs/virtual_environment_info.md).
@@ -78,7 +78,7 @@ General development steps that apply to both a virtual environment or a global e
78
78
## <a name="Configure_IDE"></a>3. Configuring your IDE
79
79
#### Visual Studio (Windows only)
80
80
1. Install [Python Tools for Visual Studio](https://github.com/Microsoft/PTVS)
81
-
2. Open the `<clone_root>\sql-xplat-cli.pyproj` project in Visual Studio
81
+
2. Open the `<clone_root>\mssql-scripter.pyproj` project in Visual Studio
Copy file name to clipboardExpand all lines: doc/installation_guide.md
+11-2
Original file line number
Diff line number
Diff line change
@@ -90,7 +90,7 @@ C:\> pip install mssql-scripter
90
90
91
91
# Troubleshooting
92
92
93
-
If you're having installation issues, please check the below known issues and workarounds. If you're having a different issue, please check the [issues](https://github.com/Microsoft/sql-xplat-cli/issues) page to see if the issue has already been reported. If you don't see your issue there, filing a new issue would be appreciated.
93
+
If you're having installation issues, please check the below known issues and workarounds. If you're having a different issue, please check the [issues](https://github.com/Microsoft/mssql-scripter/issues) page to see if the issue has already been reported. If you don't see your issue there, filing a new issue would be appreciated.
94
94
95
95
## Error: No module named mssqlscripter
96
96
If the installation was successful and this error message is encountered, this may be caused by different versions of python in the environment.
@@ -151,10 +151,19 @@ $ sudo apt-get update
151
151
$ sudo apt-get install libunwind8
152
152
```
153
153
154
+
### CentOS 7
155
+
Run commands
156
+
```shell
157
+
## libunwind.x86_64 is in the epel-release repository
158
+
## (Not necessary on GNOME, minimal install does not have this installed)
0 commit comments