Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
56518ec
build pipeline publishing pdb as artifacts
bewithgaurav Jun 25, 2025
00a2e00
added a job to publish in dummy release pipeline
bewithgaurav Jun 25, 2025
8e80e7d
fixed pdb dir
bewithgaurav Jun 25, 2025
0637928
fixed pdb ext
bewithgaurav Jun 25, 2025
e2a1037
fixed parameters and made them into env
bewithgaurav Jun 25, 2025
632f13b
fixed input azureSubscription
bewithgaurav Jun 25, 2025
080af4f
fixed input azureSubscription as mssql-python
bewithgaurav Jun 25, 2025
06caf7e
fixed input azureSubscription as mssql-python-service
bewithgaurav Jun 25, 2025
1e7b296
fix download pipeline artifact
bewithgaurav Jun 25, 2025
026f9a8
rename SymbolsArtifactName
bewithgaurav Jun 25, 2025
c6372d1
changed symbolsArtifactName
bewithgaurav Jun 25, 2025
e219f61
Merge branch 'main' into bewithgaurav/publish_symbols
bewithgaurav Jul 10, 2025
640bf3a
code changes from review
bewithgaurav Jul 10, 2025
dab82e8
add symbol generation and copy step in dummy release
bewithgaurav Jul 10, 2025
3d68d94
syntax
bewithgaurav Jul 10, 2025
b987d0d
use onebranch temp
bewithgaurav Jul 10, 2025
bfab7cf
use onebranch temp
bewithgaurav Jul 10, 2025
115b262
use onebranch temp
bewithgaurav Jul 10, 2025
864a7ff
use onebranch template - change pool to windows
bewithgaurav Jul 10, 2025
4faedbc
use onebranch template - remove globalSdl
bewithgaurav Jul 10, 2025
4421646
remove unnecessary step
bewithgaurav Jul 10, 2025
0639734
Merged PR 5852: SYNC: Github main to ADO main
bewithgaurav Jul 25, 2025
2d0265f
Merge branch 'main' into bewithgaurav/publish_symbols
bewithgaurav Jul 30, 2025
7f2d80b
Merge branch 'bewithgaurav/publish_symbols' of https://github.com/mic…
bewithgaurav Jul 30, 2025
3069fcb
conflicts
bewithgaurav Jul 30, 2025
01b7b3a
conflicts
bewithgaurav Jul 30, 2025
4624477
sync to main
bewithgaurav Jul 30, 2025
285dc28
added resources in pipeline
bewithgaurav Jul 30, 2025
99128d6
added variables in pipeline
bewithgaurav Jul 30, 2025
b7d923a
added variables in pipeline
bewithgaurav Jul 30, 2025
1a5bf33
added variables in pipeline
bewithgaurav Jul 30, 2025
06a505e
Merged PR 5874: SYNC: Templates and Github Commit History
bewithgaurav Jul 31, 2025
5328b65
ADO work item in contributing
bewithgaurav Aug 4, 2025
4957db1
Merged PR 5875: CHORE: Change Dummy Release Pipeline to 1ES Governed …
bewithgaurav Aug 6, 2025
ec764d1
Merged PR 6131: SYNC: Github main to ADO main
bewithgaurav Sep 30, 2025
6fd72e6
Merged PR 6157: SYNC: Github main to ADO main
bewithgaurav Oct 6, 2025
6d8d8ff
Merged PR 6156: CHORE: OneBranch Pipelines - Build Pipeline
bewithgaurav Oct 7, 2025
587e68d
Merged PR 6211: FIX: Build Pipeline Corrections
bewithgaurav Oct 7, 2025
7c1c428
Merged PR 6233: FEAT: Build Pipeline OneBranch Migration
bewithgaurav Oct 9, 2025
9147380
Merged PR 6242: FIX: Build Pipeline Symbol Publishing
bewithgaurav Oct 9, 2025
f896b68
Merge pull request 6209 from invBootstrap into main
Oct 9, 2025
9cfb2d7
Merged PR 6245: FIX: Build Pipeline - List signed files
bewithgaurav Oct 9, 2025
7005bb5
Merged PR 6247: FIX: Build Pipeline - Use OneBranch Signing
bewithgaurav Oct 9, 2025
df7b770
Merged PR 6248: FIX: Commented ESRP CodeSign Task
bewithgaurav Oct 9, 2025
9395287
Merged PR 6250: FIX: Build Release Pipeline - Removed Symbols Publishing
bewithgaurav Oct 15, 2025
ce7232d
Merged PR 6317: FEAT: Migrate Official and Dummy Release Pipelines
bewithgaurav Oct 17, 2025
335b5b7
Merged PR 6387: SYNC: Github main to ADO main
bewithgaurav Nov 10, 2025
708dffd
Merged PR 6424: Add the baseline and suppression file to guide Guardian
saurabh500 Nov 11, 2025
3fb8ab2
Merged PR 6426: SYNC: GH main to ADO main
bewithgaurav Nov 11, 2025
7302bf1
Merged PR 6388: FIX: Use .gdnsuppress and .gdnbaseline to suppress fa…
bewithgaurav Nov 11, 2025
5499a65
Merged PR 6427: FIX: Disable BinSkim for Ubuntu and macOS
bewithgaurav Nov 12, 2025
fd2bf7f
Merged PR 6457: SYNC: GH to ADO Main
bewithgaurav Nov 14, 2025
62972d3
Merged PR 6456: FEAT: Download Windows Python ARM64 Libs from Nuget d…
bewithgaurav Nov 14, 2025
bc79a97
Merged PR 6461: CHORE: Build Pipeline Modernization - Multi-Platform …
bewithgaurav Nov 14, 2025
c93149a
Merged PR 6462: RELEASE: 0.14.0
bewithgaurav Nov 14, 2025
1818738
Merged PR 6463: CHORE: Clean Up Dummy & Release Pipelines
bewithgaurav Nov 15, 2025
545e05d
Merged PR 6466: FIX: Dummy Release should be NonOfficial By Default
bewithgaurav Nov 15, 2025
e645151
Merged PR 6475: RELEASE: 1.0.0
bewithgaurav Nov 18, 2025
e27d00e
Merged PR 6575: GitHub Sync - Wed 12/10/2025
Dec 12, 2025
10d0379
Merged PR 6576: Auto Sync ADO and GH repo
Dec 12, 2025
ed952d7
Merged PR 6585: Manual Github sync
Dec 15, 2025
128bbb6
Merged PR 6586: Suppressing false Credscan errors in pipeline
Dec 15, 2025
58c72f8
Merged PR 6588: Updating sync pipeline to resolve merge issues betwee…
Dec 16, 2025
cacec3e
Merge pull request 6599 from github-sync-20251217-114453 into main
Dec 17, 2025
0c961af
Merge pull request 6602 from github-sync-20251218-100937 into main
Dec 18, 2025
01faceb
Merge pull request 6605 from github-sync-20251218-122619 into main
Dec 18, 2025
db88b39
Merged PR 6606: skipping multiple test to resolve build failure timeo…
subrata-ms Dec 19, 2025
2f05cab
Merged PR 6604: RELEASE: 1.1.0
jahnvi480 Dec 19, 2025
864ef2d
Merge pull request 6642 from github-sync-20260105-113131 into main
Jan 6, 2026
8500e37
Merge pull request 6655 from github-sync-20260108-113133 into main
Jan 8, 2026
15a2787
Merge pull request 6697 from github-sync-20260115-113136 into main
Jan 16, 2026
01a7b17
Merge pull request 6700 from github-sync-20260116-071953 into main
Jan 16, 2026
e3494b1
Merged PR 6701: Revert "Merge pull request 6700 from github-sync-2026…
Jan 16, 2026
e8b3249
Merged PR 6703: RELEASE: 1.2.0
Jan 16, 2026
420bb6d
Merge pull request 6749 from github-sync-20260122-113129 into main
Jan 23, 2026
d994495
Merge pull request 6801 from github-sync-20260128-072607 into main
Jan 28, 2026
3ac2783
Merge pull request 6815 from github-sync-20260130-103225 into main
Jan 30, 2026
a9ecde8
RELEASE: 1.3.0
gargsaumya Jan 30, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 63 additions & 5 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -1,6 +1,64 @@
---
Language: Cpp
BasedOnStyle: Google
ColumnLimit: 100
IndentWidth: 4
TabWidth: 4
Language: Cpp
# Microsoft generally follows LLVM/Google style with modifications
BasedOnStyle: LLVM
ColumnLimit: 100
IndentWidth: 4
TabWidth: 4
UseTab: Never

# Alignment
AlignAfterOpenBracket: Align
AlignConsecutiveAssignments: false
AlignConsecutiveDeclarations: false
AlignEscapedNewlines: Right
AlignOperands: true
AlignTrailingComments: true

# Allow
AllowAllParametersOfDeclarationOnNextLine: true
AllowShortBlocksOnASingleLine: false
AllowShortCaseLabelsOnASingleLine: false
AllowShortFunctionsOnASingleLine: Inline
AllowShortIfStatementsOnASingleLine: Never
AllowShortLoopsOnASingleLine: false

# Break
AlwaysBreakAfterReturnType: None
AlwaysBreakBeforeMultilineStrings: false
AlwaysBreakTemplateDeclarations: Yes
BreakBeforeBraces: Attach
BreakBeforeTernaryOperators: true
BreakConstructorInitializers: BeforeColon
BreakInheritanceList: BeforeColon

# Spacing
SpaceAfterCStyleCast: false
SpaceAfterTemplateKeyword: true
SpaceBeforeAssignmentOperators: true
SpaceBeforeCpp11BracedList: false
SpaceBeforeParens: ControlStatements
SpaceInEmptyParentheses: false
SpacesInAngles: false
SpacesInCStyleCastParentheses: false
SpacesInParentheses: false
SpacesInSquareBrackets: false

# Comment spacing - ensure at least 2 spaces before comments (cpplint requirement)
SpacesBeforeTrailingComments: 2
ReflowComments: true

# Indentation
IndentCaseLabels: true
IndentPPDirectives: None
NamespaceIndentation: None

# Pointers and references
PointerAlignment: Left
DerivePointerAlignment: false

# Other
MaxEmptyLinesToKeep: 1
KeepEmptyLinesAtTheStartOfBlocks: false
SortIncludes: true
SortUsingDeclarations: true
21 changes: 21 additions & 0 deletions .config/CredScanSuppressions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"tool": "Credential Scanner",
"suppressions": [
{
"file": "tests/*",
"justification": "Test projects contain sample credentials and should be skipped"
},
{
"file": "benchmarks/*",
"justification": "Benchmark code may include test connection strings"
},
{
"file": "eng/*",
"justification": "Engineering and pipeline configuration files"
},
{
"file": "OneBranchPipelines/*",
"justification": "OneBranch pipeline configuration files"
}
]
}
11 changes: 11 additions & 0 deletions .config/PolicheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<PoliCheckExclusions>
<!-- Each of these exclusions is a folder name - if \[name]\ exists in the file path, it will be skipped -->
<Exclusion Type="FolderPathFull">
tests|benchmarks|eng|OneBranchPipelines|examples|docs|build-artifacts|dist|__pycache__|myvenv|testenv
</Exclusion>

<!-- The file(s) named with any of these specified file names will be skipped during the scan regardless which folder they are in -->
<Exclusion Type="FileName">
CHANGELOG.md|README.md|LICENSE|NOTICE.txt|ROADMAP.md|CODE_OF_CONDUCT.md|CONTRIBUTING.md|SECURITY.md|SUPPORT.md
</Exclusion>
</PoliCheckExclusions>
14 changes: 14 additions & 0 deletions .config/tsaoptions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"instanceUrl": "https://sqlclientdrivers.visualstudio.com",
"projectName": "mssql-python",
"areaPath": "mssql-python",
"iterationPath": "mssql-python",
"notificationAliases": [
"mssql-python@microsoft.com"
],
"repositoryName": "mssql-python",
"codebaseName": "Microsoft Python Driver for SQL Server",
"allTools": true,
"includePathPatterns": "mssql_python/*, setup.py, requirements.txt",
"excludePathPatterns": "tests/*, benchmarks/*, eng/*, OneBranchPipelines/*"
}
29 changes: 27 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,7 +1,32 @@
[run]
omit =
mssql_python/testing_ddbc_bindings.py
main.py
setup.py
bcp_options.py
tests/*

[report]
# Add any report-specific settings here, if needed
# Exclude lines that don't need coverage (logging, defensive code, etc.)
exclude_lines =
# Default pragmas
pragma: no cover

# Don't complain about missing debug-only code
def __repr__

# Don't complain if tests don't hit defensive assertion code
raise AssertionError
raise NotImplementedError

# Don't complain if non-runnable code isn't run
if __name__ == .__main__.:

# Exclude all logging statements (zero overhead when disabled by design)
logger\.debug
logger\.info
logger\.warning
logger\.error
LOG\(

# Don't complain about abstract methods
@abstract
19 changes: 19 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[flake8]
max-line-length = 100
# Ignore codes: E203 (whitespace before ':'), W503 (line break before binary operator),
# E501 (line too long), E722 (bare except), F401 (unused imports), F841 (unused variables),
# W293 (blank line contains whitespace), W291 (trailing whitespace),
# F541 (f-string missing placeholders), F811 (redefinition of unused),
# E402 (module level import not at top), E711/E712 (comparison to None/True/False),
# E721 (type comparison), F821 (undefined name)
extend-ignore = E203, W503, E501, E722, F401, F841, W293, W291, F541, F811, E402, E711, E712, E721, F821
exclude =
.git,
__pycache__,
build,
dist,
.venv,
htmlcov,
*.egg-info
per-file-ignores =
__init__.py:F401
Loading