Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
92 commits
Select commit Hold shift + click to select a range
73b9c61
Add Pylint report format
nihathrael Nov 6, 2017
1ac9cda
Update to 3.8
nihathrael Nov 21, 2017
707b2f9
Attempt to fix travis-sphinx build
nihathrael Nov 21, 2017
f0ba73a
enable new movetolastcommit parameter for report uploads
karottenreibe Nov 24, 2017
515842f
Merge pull request #25 from cqse/coverage_upload_parameters
nihathrael Nov 24, 2017
24d6c6c
added path suffix to connector config
alexrhein Jan 29, 2018
666dc40
Fix whitespaces
nihathrael Jan 29, 2018
d0f6c1d
Merge pull request #26 from alexrhein/path_suffix_in_connector_config
nihathrael Jan 29, 2018
d2a4278
Prepare for 3.9.0
nihathrael Jan 29, 2018
60f54cc
Added a migration tool (works for tasks and blacklist)
Macariel Jan 31, 2018
254785d
Fixed some typos
Macariel Feb 1, 2018
99fed95
fix typo
karottenreibe Feb 5, 2018
203e4a9
fix typo
karottenreibe Feb 5, 2018
e47b73e
Reworked the migrating tools
Macariel Feb 6, 2018
5f7fae6
Added warning and mitigations for migrating between different TS-Vers…
Macariel Feb 6, 2018
2f5da64
Added an exemplary test
Macariel Feb 7, 2018
f4f4115
Fixed some findings
Macariel Feb 7, 2018
3939ac3
Changed module name
Macariel Feb 12, 2018
9e2a569
Added fallback for missing service call
Macariel Feb 13, 2018
2bb2f34
Disabled api check. Not working for 3.6 even though 3.2 should be fine
Macariel Feb 13, 2018
3a9821b
Revert Change
Macariel Feb 13, 2018
c858ef6
Changed module import
Macariel Feb 13, 2018
9b5aa1e
Revert "Changed module import"
Macariel Feb 13, 2018
7f093ea
Revert "Revert Change"
Macariel Feb 13, 2018
91dd8b2
Revert "Disabled api check. Not working for 3.6 even though 3.2 shoul…
Macariel Feb 13, 2018
f025220
Revert "Added fallback for missing service call"
Macariel Feb 13, 2018
08232c9
Changed import and added pytest cache to gitignore
Macariel Feb 13, 2018
24d5cf0
Added handling of missing findings
Macariel Feb 13, 2018
1d5625d
Fixed bug
Macariel Feb 13, 2018
0776b88
Added a dry-run option
Macariel Feb 13, 2018
dd2b524
Added more logs
Macariel Feb 13, 2018
7d77d82
Added logging level print
Macariel Feb 13, 2018
1e401f9
Added more logging
Macariel Feb 13, 2018
31ff7f0
Fixed id
Macariel Feb 13, 2018
81f305b
Logging
Macariel Feb 13, 2018
759234e
Modified logging
Macariel Feb 13, 2018
6282c8e
Fixed wrong method call
Macariel Feb 13, 2018
ddd2a37
Changed the task migration
Macariel Feb 13, 2018
623b54b
Stringified path suffix
Macariel Feb 13, 2018
086c7c2
Changed the task migration
Macariel Feb 13, 2018
b3133ee
Changed comparison of tasks
Macariel Feb 13, 2018
8e07e8f
Removed task pre-filtering
Macariel Feb 13, 2018
f702e91
Added the step by step option
Macariel Feb 13, 2018
95c78a4
Removing print statement
Macariel Feb 13, 2018
10aa956
Removed dead code and added a few comments
Macariel Feb 13, 2018
254954b
Added a check if a project exists
Macariel Feb 13, 2018
7395a89
Added a scripts which allows the batch migration of blacklists and tasks
Macariel Feb 22, 2018
c89a099
Changed output and made it clearer
Feb 22, 2018
b63d213
Merge branch 'migration-tool' of https://github.com/cqse/teamscale-cl…
Macariel Feb 22, 2018
7efce70
Added logging%
Macariel Feb 22, 2018
1511ecd
Merge branch 'migration-tool' of https://github.com/cqse/teamscale-cl…
Macariel Feb 22, 2018
6871d06
Fixed the double logging
Macariel Feb 22, 2018
02167b5
Merge branch 'migration-tool' of https://github.com/cqse/teamscale-cl…
Macariel Feb 22, 2018
8d7e3a0
Merge branch 'master' into migration-tool
mpdeimos Mar 6, 2018
56de09b
Changed according to review
Macariel Mar 6, 2018
1514245
Added path prefix transformation
Macariel Mar 7, 2018
44f8a5d
Deleted the wrong config file
Macariel Mar 7, 2018
7c46c2c
Changed findings comparison
Macariel Mar 7, 2018
1410c86
Path transformation fix
Macariel Mar 7, 2018
e2039ee
Removed version check
Macariel Mar 12, 2018
5eea5d8
Made findings comparision more robust
Macariel Mar 12, 2018
738f322
Added a description on how to use the migration tools
Macariel Mar 22, 2018
ee49bb1
tmp
Macariel Mar 23, 2018
6ad3205
Changed the findings comparison
Macariel Mar 23, 2018
88fc7cb
Reset client to master
Macariel Mar 23, 2018
24c3224
Small fixes
Macariel Mar 23, 2018
0db5463
Added upload of finding-groups and -descriptions
Macariel May 17, 2018
c07c755
Path prefix transformation is defined in the 'new_instance'.
r2h2 Dec 20, 2018
a64d7ce
Merge pull request #37 from cqse/fix_path_prefix_transformation
Macariel Feb 7, 2019
b8e3988
Adjust README
Macariel Feb 7, 2019
435cb44
Merge branch 'master' into migration-tool
Macariel Feb 7, 2019
99824fb
Simplified exception logging
Macariel Mar 18, 2019
8dbd489
Merge branch 'master' into migration-tool
Jun 5, 2019
da3579a
Fixes
Jun 7, 2019
c4af488
Add socks proxy support
Jun 18, 2019
e45475a
Improvements
Jul 17, 2019
0dd0472
manually generate the correct service url when fetching tasks
ke-kx Dec 19, 2019
b8e1e41
Merge branch 'migration-tool' into get_tasks_dirty_fix
ke-kx Dec 19, 2019
6fe13a7
workaround for posting task comments
ke-kx Jun 15, 2020
d3389e8
add blacklisted parameter to get_findings to enable fetching false po…
May 14, 2021
0a70622
Merge branch 'master' into migration-tool
albertsteckermeier Jun 17, 2021
873a952
add functionality for querying findings counts and descriptions
Mar 1, 2022
73b2d87
remove unnecessary proxy parameter
Mar 1, 2022
748d059
Merge branch 'master' into a_team_branch
Mar 1, 2022
9535834
Merge branch 'a_team_branch' into migration-tool
Feb 22, 2023
bcf4f37
Support code for ongoing work on temp findings script
Aug 10, 2023
cea5a61
Added new supporting methods to get finding churn by commit timestamp
Aug 11, 2023
c94609b
Support code for ongoing work on temp findings script
Aug 19, 2023
82ae08e
Refactoring the solution and changing output
Aug 22, 2023
b229c08
Fixed a bug
Aug 23, 2023
9cef908
test gap analysis work
baralCqse Aug 31, 2023
cb5cbf3
Added helper method in merge_request data class
Sep 14, 2023
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
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
.pytest_cache/

# C extensions
*.so
Expand Down Expand Up @@ -55,3 +56,6 @@ docs/_build/

# PyBuilder
target/

# PyCharm
.idea/
270 changes: 260 additions & 10 deletions teamscale_client/client.py

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions teamscale_client/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class ReportFormats:

FINDBUGS = "FINDBUGS"


class UnitTestReportFormats:
"""Reports for unit test results that Teamscale understands."""

Expand Down
6 changes: 4 additions & 2 deletions teamscale_client/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class Finding(object):

def __init__(self, finding_type_id, message, assessment=Assessment.YELLOW, start_offset=None,
end_offset=None, start_line=None, end_line=None, identifier=None, uniform_path=None,
finding_properties=None, finding_id=None):
finding_properties=None, finding_id=None, resolved=False):
self.findingTypeId = finding_type_id
self.message = message
self.assessment = assessment
Expand All @@ -51,6 +51,7 @@ def __init__(self, finding_type_id, message, assessment=Assessment.YELLOW, start
self.uniformPath = uniform_path
self.findingProperties = finding_properties
self.finding_id = finding_id
self.resolved = resolved

def __cmp__(self, other):
"""Compares this finding to another finding."""
Expand Down Expand Up @@ -496,7 +497,8 @@ class SubversionSourceCodeConnectorConfiguration(SourceCodeConnectorConfiguratio
path_suffix (Optional[str]): Path suffix that is to be appended to the repository's base path. Empty by default.
"""

def __init__(self, account, enable_externals=False, externals_includes="", externals_excludes="", path_suffix="", *args, **kwargs):
def __init__(self, account, enable_externals=False, externals_includes="", externals_excludes="", path_suffix="",
*args, **kwargs):
super(SubversionSourceCodeConnectorConfiguration, self).__init__(connector_type=ConnectorType.SVN, *args,
**kwargs)
self.options["Account"] = account
Expand Down
Loading