codecov-cli 11.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. codecov_cli/__init__.py +3 -0
  2. codecov_cli/commands/__init__.py +0 -0
  3. codecov_cli/commands/base_picking.py +75 -0
  4. codecov_cli/commands/commit.py +72 -0
  5. codecov_cli/commands/create_report_result.py +41 -0
  6. codecov_cli/commands/empty_upload.py +80 -0
  7. codecov_cli/commands/get_report_results.py +50 -0
  8. codecov_cli/commands/labelanalysis.py +269 -0
  9. codecov_cli/commands/process_test_results.py +273 -0
  10. codecov_cli/commands/report.py +65 -0
  11. codecov_cli/commands/send_notifications.py +46 -0
  12. codecov_cli/commands/staticanalysis.py +62 -0
  13. codecov_cli/commands/upload.py +316 -0
  14. codecov_cli/commands/upload_coverage.py +186 -0
  15. codecov_cli/commands/upload_process.py +133 -0
  16. codecov_cli/fallbacks.py +41 -0
  17. codecov_cli/helpers/__init__.py +0 -0
  18. codecov_cli/helpers/args.py +31 -0
  19. codecov_cli/helpers/ci_adapters/__init__.py +63 -0
  20. codecov_cli/helpers/ci_adapters/appveyor_ci.py +54 -0
  21. codecov_cli/helpers/ci_adapters/azure_pipelines.py +44 -0
  22. codecov_cli/helpers/ci_adapters/base.py +102 -0
  23. codecov_cli/helpers/ci_adapters/bitbucket_ci.py +42 -0
  24. codecov_cli/helpers/ci_adapters/bitrise_ci.py +37 -0
  25. codecov_cli/helpers/ci_adapters/buildkite.py +45 -0
  26. codecov_cli/helpers/ci_adapters/circleci.py +47 -0
  27. codecov_cli/helpers/ci_adapters/cirrus_ci.py +36 -0
  28. codecov_cli/helpers/ci_adapters/cloudbuild.py +70 -0
  29. codecov_cli/helpers/ci_adapters/codebuild.py +49 -0
  30. codecov_cli/helpers/ci_adapters/droneci.py +36 -0
  31. codecov_cli/helpers/ci_adapters/github_actions.py +90 -0
  32. codecov_cli/helpers/ci_adapters/gitlab_ci.py +56 -0
  33. codecov_cli/helpers/ci_adapters/heroku.py +36 -0
  34. codecov_cli/helpers/ci_adapters/jenkins.py +38 -0
  35. codecov_cli/helpers/ci_adapters/local.py +39 -0
  36. codecov_cli/helpers/ci_adapters/teamcity.py +37 -0
  37. codecov_cli/helpers/ci_adapters/travis_ci.py +44 -0
  38. codecov_cli/helpers/ci_adapters/woodpeckerci.py +36 -0
  39. codecov_cli/helpers/config.py +66 -0
  40. codecov_cli/helpers/encoder.py +49 -0
  41. codecov_cli/helpers/folder_searcher.py +114 -0
  42. codecov_cli/helpers/git.py +97 -0
  43. codecov_cli/helpers/git_services/__init__.py +14 -0
  44. codecov_cli/helpers/git_services/github.py +40 -0
  45. codecov_cli/helpers/glob.py +146 -0
  46. codecov_cli/helpers/logging_utils.py +77 -0
  47. codecov_cli/helpers/options.py +51 -0
  48. codecov_cli/helpers/request.py +198 -0
  49. codecov_cli/helpers/upload_type.py +15 -0
  50. codecov_cli/helpers/validators.py +13 -0
  51. codecov_cli/helpers/versioning_systems.py +201 -0
  52. codecov_cli/main.py +99 -0
  53. codecov_cli/opentelemetry.py +26 -0
  54. codecov_cli/plugins/__init__.py +92 -0
  55. codecov_cli/plugins/compress_pycoverage_contexts.py +141 -0
  56. codecov_cli/plugins/gcov.py +69 -0
  57. codecov_cli/plugins/pycoverage.py +134 -0
  58. codecov_cli/plugins/types.py +8 -0
  59. codecov_cli/plugins/xcode.py +117 -0
  60. codecov_cli/runners/__init__.py +80 -0
  61. codecov_cli/runners/dan_runner.py +64 -0
  62. codecov_cli/runners/pytest_standard_runner.py +184 -0
  63. codecov_cli/runners/types.py +33 -0
  64. codecov_cli/services/__init__.py +0 -0
  65. codecov_cli/services/commit/__init__.py +86 -0
  66. codecov_cli/services/commit/base_picking.py +24 -0
  67. codecov_cli/services/empty_upload/__init__.py +42 -0
  68. codecov_cli/services/report/__init__.py +169 -0
  69. codecov_cli/services/upload/__init__.py +169 -0
  70. codecov_cli/services/upload/file_finder.py +320 -0
  71. codecov_cli/services/upload/legacy_upload_sender.py +132 -0
  72. codecov_cli/services/upload/network_finder.py +49 -0
  73. codecov_cli/services/upload/upload_collector.py +198 -0
  74. codecov_cli/services/upload/upload_sender.py +232 -0
  75. codecov_cli/services/upload_completion/__init__.py +38 -0
  76. codecov_cli/services/upload_coverage/__init__.py +93 -0
  77. codecov_cli/types.py +88 -0
  78. codecov_cli-11.0.0.dist-info/METADATA +298 -0
  79. codecov_cli-11.0.0.dist-info/RECORD +83 -0
  80. codecov_cli-11.0.0.dist-info/WHEEL +5 -0
  81. codecov_cli-11.0.0.dist-info/entry_points.txt +3 -0
  82. codecov_cli-11.0.0.dist-info/licenses/LICENSE +201 -0
  83. codecov_cli-11.0.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,298 @@
1
+ Metadata-Version: 2.4
2
+ Name: codecov-cli
3
+ Version: 11.0.0
4
+ Summary: Codecov Command Line Interface
5
+ Author-email: Tom Hu <thomas.hu@sentry.io>
6
+ Maintainer-email: Codecov Support <support@codecov.io>
7
+ Requires-Python: >=3.9
8
+ Description-Content-Type: text/markdown
9
+ License-File: LICENSE
10
+ Requires-Dist: click==8.*
11
+ Requires-Dist: ijson==3.*
12
+ Requires-Dist: PyYAML==6.*
13
+ Requires-Dist: responses==0.21.*
14
+ Requires-Dist: sentry-sdk==2.*
15
+ Requires-Dist: test-results-parser==0.5.4
16
+ Dynamic: license-file
17
+
18
+ # CodecovCLI
19
+
20
+ [![codecov](https://codecov.io/gh/codecov/codecov-cli/branch/master/graph/badge.svg?token=jN0CICuA6Z)](https://codecov.io/gh/codecov/codecov-cli)
21
+ [![Build-Test-Upload](https://github.com/codecov/codecov-cli/actions/workflows/push_flow.yml/badge.svg)](https://github.com/codecov/codecov-cli/actions/workflows/push_flow.yml)
22
+
23
+ CodecovCLI is a new way for users to interact with Codecov directly from the user’s terminal or CI platform. Many Codecov features that require the user’s interference can be done via the codecovCLI. It saves commits, creates reports, uploads coverage and has many more features.
24
+
25
+ - [CodecovCLI](#codecovcli)
26
+ - [Installing](#installing)
27
+ - [Using PIP](#using-pip)
28
+ - [As a Binary](#as-a-binary)
29
+ - [Integrity Checking the Binary](#integrity-checking-the-binary)
30
+ - [How to Upload to Codecov](#how-to-upload-to-codecov)
31
+ - [How to Get an Upload Token](#how-to-get-an-upload-token)
32
+ - [Usage](#usage)
33
+ - [Codecov-cli Commands](#codecov-cli-commands)
34
+ - [create-commit](#create-commit)
35
+ - [create-report](#create-report)
36
+ - [do-upload](#do-upload)
37
+ - [pr-base-picking](#pr-base-picking)
38
+ - [send-notifications](#send-notifications)
39
+ - [empty-upload](#empty-upload)
40
+ - [Work in Progress Features](#work-in-progress-features)
41
+ - [Plugin System](#plugin-system)
42
+ - [Static Analysis](#static-analysis)
43
+ - [Contributions](#contributions)
44
+ - [Requirements](#requirements)
45
+ - [Guidelines](#guidelines)
46
+ - [Dependencies](#dependencies)
47
+ - [Releases](#releases)
48
+
49
+ # Installing
50
+
51
+ ## Using PIP
52
+ To use codecov-cli in your local machine, or your CI workflows, you need to install it:
53
+
54
+ `pip install codecov-cli`
55
+
56
+ The above command will download the latest version of Codecov-cli. If you wish to use a specific version, releases can be viewed [here](https://pypi.org/project/codecov-cli/#history).
57
+
58
+ Note: If you're installing in a `pyenv` environment, you may need to call `pyenv rehash` before the CLI will work.
59
+
60
+ ## As a Binary
61
+ If you would like to use the CLI in an environment that does not have access to Python / PIP, you can install the CLI as a compiled binary. Linux and macOS releases can be found [here](https://cli.codecov.io/), along with SHASUMs and signatures for each released version. Binary releases are also available via [Github releases](https://github.com/codecov/codecov-cli/releases) on this repository.
62
+
63
+ You can retrieve the Binary for Linux directly from your command line as follows:
64
+
65
+ ```
66
+ curl -Os https://cli.codecov.io/latest/linux/codecov
67
+ sudo chmod +x codecov
68
+ ./codecov --help
69
+ ```
70
+
71
+ ### Integrity Checking the Binary
72
+
73
+ The binary can be integrity checked using a SHASUM256 and SHASUM256.sig file. The process for macos and Linux is identical. Linux is as follows:
74
+
75
+ ```
76
+ curl https://keybase.io/codecovsecurity/pgp_keys.asc | gpg --no-default-keyring --keyring trustedkeys.gpg --import # One-time step
77
+ curl -Os https://cli.codecov.io/latest/linux/codecov
78
+ curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM
79
+ curl -Os https://cli.codecov.io/latest/linux/codecov.SHA256SUM.sig
80
+
81
+ gpgv codecov.SHA256SUM.sig codecov.SHA256SUM
82
+
83
+ shasum -a 256 -c codecov.SHA256SUM
84
+ ```
85
+
86
+ For macos you will want to use the macos distributions of the binary (e.g., https://cli.codecov.io/latest/macos/codecov)
87
+
88
+
89
+ # How to Upload to Codecov
90
+ If desired, the CLI can be used as a replacement for our [NodeJS Binary Uploader](https://github.com/codecov/uploader). To use the CLI to upload from your CI workflow, you need to add these commands:
91
+
92
+ ```
93
+ pip install codecov-cli
94
+ codecovcli create-commit
95
+ codecovcli create-report
96
+ codecovcli do-upload
97
+ ```
98
+ OR
99
+ ```
100
+ pip install codecov-cli
101
+ codecovcli upload-process
102
+ ```
103
+ codecovcli upload-process is a wrapper for create-commit, create-report and do-upload.
104
+
105
+ You can customize the commands with the options aligned with each command.
106
+
107
+ Note that these commands will automatically search your environment for a `$CODECOV_TOKEN` environment variable and use it if found. If you do not have a repository upload token, or global upload token, stored as an environment variable, you will need to pass it into **each command manually**, like so: `-t {$CODECOV_TOKEN}`.
108
+
109
+ ## How to Get an Upload Token
110
+ The following tokens are suitable for uploading:
111
+
112
+ * The [Repository Upload Token](https://docs.codecov.com/docs/codecov-uploader#upload-token): Found on the settings page of your repository, also viewable on the `/new` page when setting up a repository on Codecov for the first time.
113
+ * The [Global Upload Token](https://docs.codecov.com/docs/codecov-uploader#organization-upload-token): Found on your organization settings page (e.g., `https://app.codecov.io/account/<scm>/<org>/org-upload-token`).
114
+
115
+ # Usage
116
+ If the installation is successful, running `codecovcli --help` will output the available commands along with the different general options that can be used with them.
117
+
118
+ > [!IMPORTANT]
119
+ > For up-to-date command usage, please check the `codecovcli_commands` [file](https://github.com/codecov/codecov-cli/blob/main/codecovcli_commands)
120
+
121
+ ```
122
+ Usage: codecovcli [OPTIONS] COMMAND [ARGS]...
123
+ ```
124
+ Codecov-cli supports user input. These inputs, along with their descriptions and usage contexts, are listed in the table below:
125
+
126
+ | Input | Description | Usage |
127
+ | :---: | :---: | :---: |
128
+ | `--auto-load-params-from` | The CI/CD platform | Optional |
129
+ | `--codecov-yml-path` | The path for your codecov.yml | Optional
130
+ | `--enterprise-url` | Change the upload host (Enterprise use) | Optional
131
+ | `--version` | Codecov-cli's version | Optional
132
+ | `--verbose` or `-v` | Run the cli with verbose logging | Optional
133
+
134
+ # Codecov-cli Commands
135
+ | Command | Description |
136
+ | :---: | :---: |
137
+ | `create-commit` | Saves the commit's metadata in codecov, it's only necessary to run this once per commit
138
+ | `create-report` | Creates an empty report in codecov with initial data e.g. report name, report's commit
139
+ | `do-upload` | Searches for and uploads coverage data to codecov
140
+ | `pr-base-picking` | Tells codecov that you want to explicitly define a base for your PR
141
+ | `upload-process` | A wrapper for 3 commands. Create-commit, create-report and do-upload. You can use this command to upload to codecov instead of using the previously mentioned commands.
142
+ | `send-notifications` | A command that tells Codecov that you finished uploading and you want to be sent notifications. To disable automatically sent notifications please consider adding manual_trigger to your codecov.yml, so it will look like codecov: notify: manual_trigger: true.
143
+ >**Note**: Every command has its own different options that will be mentioned later in this doc. Codecov will try to load these options from your CI environment variables, if not, it will try to load them from git, if not found, you may need to add them manually.
144
+
145
+
146
+
147
+ ## create-commit
148
+ `codecovcli create-commit [Options]`
149
+
150
+ | Option | Description | Usage
151
+ | :---: | :---: | :---: |
152
+ | -C, --sha, --commit-sha | Commit SHA (with 40 chars) | Required
153
+ |--parent-sha | SHA (with 40 chars) of what should be the parent of this commit | Optional
154
+ |-P, --pr, --pull-request-number| Specify the pull request number manually. Used to override pre-existing CI environment variables | Optional
155
+ |-B, --branch | Branch to which this commit belongs to | Optional
156
+ |-r, --slug | owner/repo slug used instead of the private repo token in Self-hosted | Required
157
+ |-t, --token | Codecov upload token | Required
158
+ |--git-service | Git Provider. Options: github, gitlab, bitbucket, github_enterprise, gitlab_enterprise, bitbucket_server | Required
159
+ |-h, --help | Shows usage, and command options
160
+
161
+
162
+ ## create-report
163
+ `codecovcli create-report [OPTIONS]`
164
+
165
+ | Option | Description | Usage
166
+ | :---: | :---: | :---: |
167
+ | -C, --sha, --commit-sha | Commit SHA (with 40 chars) | Required
168
+ |-r, --slug | owner/repo slug used instead of the private repo token in Self-hosted | Required
169
+ |-t, --token | Codecov upload token | Required
170
+ |--git-service | Git Provider. Options: github, gitlab, bitbucket, github_enterprise, gitlab_enterprise, bitbucket_server | Required
171
+ |-h, --help | Shows usage, and command options
172
+
173
+ ## do-upload
174
+ `codecovcli do-upload [OPTIONS]`
175
+
176
+ | Option | Description | Usage
177
+ | :---: | :---: | :---: |
178
+ |-C, --sha, --commit-sha| Commit SHA (with 40 chars) | Required
179
+ |--network-root-folder | Root folder from which to consider paths on the network section default: (Current working directory) | Optional
180
+ |-s, --dir, --coverage-files-search-root-folder | Folder where to search for coverage files default: (Current Working Directory) | Optional
181
+ |--exclude, --coverage-files-search-exclude-folder | Folders to exclude from search | Optional
182
+ |-f, --file, --coverage-files-search-direct-file | Explicit files to upload | Optional
183
+ |--recurse-submodules | Whether to enumerate files inside of submodules for path-fixing purposes. Off by default. | Optional
184
+ |--disable-search | Disable search for coverage files. This is helpful when specifying what files you want to upload with the --file option.| Optional
185
+ |-b, --build, --build-code | Specify the build number manually | Optional
186
+ |--build-url | The URL of the build where this is running | Optional
187
+ |--job-code | The job code for the CI run | Optional
188
+ |-t, --token | Codecov upload token | Required
189
+ |-n, --name | Custom defined name of the upload. Visible in Codecov UI | Optional
190
+ |-B, --branch | Branch to which this commit belongs to | Optional
191
+ |-r, --slug | owner/repo slug | Required
192
+ |-P, --pr, --pull-request-number | Specify the pull request number manually. Used to override pre-existing CI environment variables | Optional
193
+ |-e, --env, --env-var | Specify environment variables to be included with this build. | Optional
194
+ |-F, --flag | Flag the upload to group coverage metrics. Multiple flags allowed. | Optional
195
+ |--plugin | plugins to run. Options: xcode, gcov, pycoverage. The default behavior runs them all. | Optional
196
+ |-Z, --fail-on-error | Exit with non-zero code in case of error uploading.|Optional
197
+ |-d, --dry-run | Don't upload files to Codecov | Optional
198
+ |--legacy, --use-legacy-uploader | Use the legacy upload endpoint | Optional
199
+ |--git-service | Git Provider. Options: github, gitlab, bitbucket, github_enterprise, gitlab_enterprise, bitbucket_server | Required
200
+ |-h, --help | Shows usage, and command options
201
+
202
+ ## pr-base-picking
203
+ `codecovcli pr-base-picking [OPTIONS]`
204
+
205
+ | Option | Description | Usage
206
+ | :---: | :---: | :---: |
207
+ |--base-sha | Base commit SHA (with 40 chars) | Required
208
+ |--pr | Pull Request id to associate commit with | Required
209
+ |--slug | owner/repo slug | Required
210
+ |-t, --token| Codecov upload token | Required
211
+ |--service | Git provider. Options: github, gitlab, bitbucket, github_enterprise, gitlab_enterprise, bitbucket_server | Optional
212
+ |-h, --help | Shows usage, and command options
213
+
214
+ ## send-notifications
215
+ `codecovcli send-notifications [OPTIONS]`
216
+
217
+ | Option | Description | Usage
218
+ | :---: | :---: | :---: |
219
+ | -C, --sha, --commit-sha TEXT |Commit SHA (with 40 chars) | Required
220
+ | -r, --slug TEXT |owner/repo slug used instead of the private repo token in Self-hosted | Required
221
+ | -t, --token TEXT |Codecov upload token | Required
222
+ | --git-service | Git provider. Options: github, gitlab, bitbucket, github_enterprise, gitlab_enterprise, bitbucket_server | Optional
223
+ | -h,--help |Show this message and exit.
224
+
225
+ ## empty-upload
226
+
227
+ Used if the changes made don't need testing, but PRs require a passing codecov status to be merged.
228
+ This command will scan the files in the commit and send passing status checks configured if all the changed files
229
+ are ignored by codecov (including README and configuration files)
230
+
231
+ `Usage: codecovcli empty-upload [OPTIONS]`
232
+
233
+ | Options | Description | usage |
234
+ | :--------------------------: | :----------------------------------------------------------------------------------------: | :------: |
235
+ | -C, --sha, --commit-sha TEXT | Commit SHA (with 40 chars) | Required |
236
+ | -t, --token TEXT | Codecov upload token | Required |
237
+ | -r, --slug TEXT | owner/repo slug used instead of the private repo token in Self-hosted | Optional |
238
+ | --force | Always emit passing checks regardless of changed files | Optional |
239
+ | -Z, --fail-on-error | Exit with non-zero code in case of error | Optional |
240
+ | --git-service | Options: github, gitlab, bitbucket, github_enterprise, gitlab_enterprise, bitbucket_server | Optional |
241
+ | -h, --help | Show this message and exit. | Optional |
242
+
243
+ # Work in Progress Features
244
+
245
+ The following features are somewhat implemented in code, but are not yet meant for use. These features will be documented once they are fully implemented in the CLI.
246
+
247
+ ## Plugin System
248
+
249
+ To provide extensibility to some of its commands, the CLI makes use of a plugin system. For most cases, the default commands are sufficient. But in some cases, having some custom logic specific to your use case can be beneficial. Note that full documentation of the plugin system is pending, as the feature is still heavily a work in progress.
250
+
251
+ # Contributions
252
+
253
+ This repository, like all of Codecov's repositories, strives to follow our general [Contributing guidelines](https://github.com/codecov/contributing). If you're considering making a contribution to this repository, we encourage review of our Contributing guidelines first.
254
+
255
+ ## Requirements
256
+
257
+ Most of this package is a very conventional Python package. The main difference is the static the CLI's analysis module uses both git submodules and C code
258
+
259
+ Before installing, one should pull the submodules with:
260
+
261
+ ```
262
+ git submodule update --init
263
+ ```
264
+ Then, install dependencies with
265
+ ```
266
+ pip install -r requirements.txt
267
+ python -m pip install --editable .
268
+ ```
269
+
270
+ The C code shouldn't require any additional setup to get running, but depending on your environment, you may be prompted to install compilers and supporting tools. If errors are generated during installation, it is likely due to missing dependencies / tools required of the C code. In many cases, resulting error messages should be clear enough to determine what is missing and how to install it, but common errors will be collected here as they are encountered.
271
+
272
+ ## Guidelines
273
+
274
+ There are a few guidelines when developing in this system. Some notable folders:
275
+
276
+ 1. `commands` - It's the folder that interacts with the caller. This is where the commands themselves should reside. These commands are not meant to do heavy lifting. They only do wiring, which is mostly parsing the input parameters.
277
+ 2. `services` - It's where the heavy logic resides. It's mostly organized by which command needs them. Commands should generally be thin wrappers around these services.
278
+ 3. `helpers` - This is meant for logic that is useful across different commands. For example, logging helpers, or the logic that searches folders.
279
+
280
+ ## Dependencies
281
+
282
+ If external dependencies need to be added, it's important to check whether those dependencies have wheels available on PyPI with the `any` or `universal2` platform tags. If those dependencies don't have those wheels available, then they will need to built during the CI, so they will have to be added to the list of
283
+ dependencies in the `--no-binary` flag when building the requirements for the macos release in `build_assets.yml`.
284
+
285
+ # Releases
286
+
287
+ The standard way to making a new release is the following:
288
+ 1) Open a PR that increases the version number in pyproject.toml. As a rule of thumb, just add one to the micro/patch version (e.g., v0.1.6 -> v0.1.7).
289
+
290
+ 2) Get the up-to-date master branch locally and run the `tag.release` command from the Makefile.
291
+
292
+ `$ make tag.release version=v<VERSION_NUM>`
293
+
294
+ The version tag must match the regex defined on the Makefile (`tag_regex := ^v([0-9]{1,}\.){2}[0-9]{1,}([-_]\w+)?$`).
295
+
296
+ >**Note**: \
297
+ >Releases with `test` word in them are created as `draft`. \
298
+ >Releases with `beta` word in them are created as `pre-release`.
@@ -0,0 +1,83 @@
1
+ codecov_cli/__init__.py,sha256=hWfN84Z7wNwv8TjbBU_3n6U-OZALZP3SAvdA5bCbaJA,83
2
+ codecov_cli/fallbacks.py,sha256=gNN40jmBY8bBdjU6il1w2pJfzNGczI6Exg9JXVJxCbg,1278
3
+ codecov_cli/main.py,sha256=YQAeEB9CvsW4E52soVxl3gkzTdRjpaqFQJvoyT-0CWI,3472
4
+ codecov_cli/opentelemetry.py,sha256=lf71n88W0GNRW8of0SERiWcpjAoap5zIqY0DVk2PyV0,592
5
+ codecov_cli/types.py,sha256=-bz2w0QTk7ZoTnIp4zKlFKSOwrybN_p-RBfGOPFhhYU,2161
6
+ codecov_cli/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ codecov_cli/commands/base_picking.py,sha256=Q6EyKQYehzZqaHRzPUVgc-qePvetL3kI10XcI_d97dY,2124
8
+ codecov_cli/commands/commit.py,sha256=LOTFblPHtKUuVKq5M3hY0QT6X5BhQrtDQ65C07OAMcY,2092
9
+ codecov_cli/commands/create_report_result.py,sha256=2DYRdEIHQi3TrR435euvb2Zb2QUQXWohWuJ8JUJjkx8,1234
10
+ codecov_cli/commands/empty_upload.py,sha256=0Cmkgc7QwmcHacWQ2NRlWcdxK8hlSHXpaEYwnLitcLY,2432
11
+ codecov_cli/commands/get_report_results.py,sha256=sem6uG2AvBtPa9FCnnKgCkYICg3nzbtalsUEhWaTwZE,1510
12
+ codecov_cli/commands/labelanalysis.py,sha256=y-zG-q4Os37x5umfaSGRjL39-6ZzvPafmEdgDTEKe9M,8891
13
+ codecov_cli/commands/process_test_results.py,sha256=TqZx5hQ_zpwOv44SVY9ZbSYwzvvCkIi9I1Zv8L36BsA,8449
14
+ codecov_cli/commands/report.py,sha256=ENMz4W4xvHX7EhSQ_tKnjGjaOJyCTb-T6CXN9Ic1rAc,1942
15
+ codecov_cli/commands/send_notifications.py,sha256=m4ppbc0en1YeasudMnyJzFc5YS17r9BKD-jDCTPHIIw,1376
16
+ codecov_cli/commands/staticanalysis.py,sha256=jebznJ9F23UjGwd0hhrscLE0qSspUYP7MsZJIyyADns,1593
17
+ codecov_cli/commands/upload.py,sha256=Uz9pT9indpIWypo2NieGCqI0LkhQsWiN-KafR2B4yFY,10449
18
+ codecov_cli/commands/upload_coverage.py,sha256=2-ROtQCAhjbzQoCJt6kTDJjTYAcrtpRZztqCPUjRbHE,7563
19
+ codecov_cli/commands/upload_process.py,sha256=szfGI3Cc6c90YNmHFV0nU2fYAZZoxy8TUZ8Rx4rud8g,4797
20
+ codecov_cli/helpers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
+ codecov_cli/helpers/args.py,sha256=Xvj-VaMOf4jscBj9-h08DdAlpprVQC35lqt-QYXlyK0,714
22
+ codecov_cli/helpers/config.py,sha256=pd55mOE81ez7eOAObLzJdhFgPYcaabq-NUWeb8bMjgs,1905
23
+ codecov_cli/helpers/encoder.py,sha256=PCoWehYFVI8pSugaCXzxKlqjlggBtP4EiwZ9gyM7578,1636
24
+ codecov_cli/helpers/folder_searcher.py,sha256=cRofcGQHxrZ05Bv7tHKjmOayOI2zk_ftowzNFiwdnm0,4148
25
+ codecov_cli/helpers/git.py,sha256=w3MJVJhFMnk-Y5eVNl6mAVGX6NjK9_XQL9AOWLIiC9M,2953
26
+ codecov_cli/helpers/glob.py,sha256=L9F5SO_5uPxm2NlzLQG7RJ9rXslCWWj-ut0D4-ou7lk,5316
27
+ codecov_cli/helpers/logging_utils.py,sha256=WIdE_T8OPY9FiX3AgcLOOkiTiEBHZDYPCVkBTSMotMo,2442
28
+ codecov_cli/helpers/options.py,sha256=3y-gqLaCz51WS2L-peyqmaalQBD7WlQ7VdyYEhbeNjw,1278
29
+ codecov_cli/helpers/request.py,sha256=iORYHqJZ9PoWkyLWDCJBj7eJsBVdr4dX_hdCQKpbtE0,5832
30
+ codecov_cli/helpers/upload_type.py,sha256=4oFuBUmbO_CXc1C1R9Qq8yYlwqFnUS92vF325StX0eA,406
31
+ codecov_cli/helpers/validators.py,sha256=6vd8643nEkkSWrCzHN_SN8KsuxA_ZPjjxju43neVj8A,364
32
+ codecov_cli/helpers/versioning_systems.py,sha256=hfwMzLh-Q-WI-y6-TvUKcdqqluxpZVXc5OZh0U-0tsI,6487
33
+ codecov_cli/helpers/ci_adapters/__init__.py,sha256=vo4387roSVyX3lTUjOTvGe8fNUnAiBor_IgWZrNRRU8,2678
34
+ codecov_cli/helpers/ci_adapters/appveyor_ci.py,sha256=WPlk-PSPwRppZvNh0Bu309TJZhupES2_4hE1BndQ3FM,1572
35
+ codecov_cli/helpers/ci_adapters/azure_pipelines.py,sha256=YRL055jVr5Dz5SKTPlyFsAl3-dYc0E0WNlfZmn-RGR8,1455
36
+ codecov_cli/helpers/ci_adapters/base.py,sha256=4tw2ggSkuxmm0uRCwkPPVPRVNyOuuR5G8QAWzYC_2_o,3421
37
+ codecov_cli/helpers/ci_adapters/bitbucket_ci.py,sha256=k7o41NxxVnb8M6fNcjDDO1zPyQe8Or5srHsBiqJirCQ,1048
38
+ codecov_cli/helpers/ci_adapters/bitrise_ci.py,sha256=a6g3yfTpBnwN9DOWZwkkvML_HlqXnOX4Af695Lcs37E,916
39
+ codecov_cli/helpers/ci_adapters/buildkite.py,sha256=wQnSm74N1gwLNr3X5OwT7HcJa3LIm-_70uzpNb83zHQ,1226
40
+ codecov_cli/helpers/ci_adapters/circleci.py,sha256=6SImhxVol9a7C0kaavT379FWuJG_v1Sj4D-dSH7azUo,1288
41
+ codecov_cli/helpers/ci_adapters/cirrus_ci.py,sha256=tU99YyvlBRos7uPJPI7nauUyXzRZSlKFcsGKqaaNJ88,878
42
+ codecov_cli/helpers/ci_adapters/cloudbuild.py,sha256=v-Jg4UJo5UKZNIqA1IzjaRHjnY3hYWiu4jI6JuhfCec,2325
43
+ codecov_cli/helpers/ci_adapters/codebuild.py,sha256=1CBb7z6knoV9fazY739zG70CByQMctgCs-HeQpU6PIc,1432
44
+ codecov_cli/helpers/ci_adapters/droneci.py,sha256=6fLEm_z61QdSKrmmLQOWp8OQSsfshJElnkbRxJAK4MQ,859
45
+ codecov_cli/helpers/ci_adapters/github_actions.py,sha256=Mj_LbPsvUVTjMRuNmcJ-7YrPkA0UU6lJ8GQJr5uZWV8,2263
46
+ codecov_cli/helpers/ci_adapters/gitlab_ci.py,sha256=6Afl043BO9BUvdmA6kC7ZwkbILVfjVSctwqKPhkwQtA,1533
47
+ codecov_cli/helpers/ci_adapters/heroku.py,sha256=pw48B8cKM-y6L56S999EhKeTgrlZea1TLeAiHScTcMk,880
48
+ codecov_cli/helpers/ci_adapters/jenkins.py,sha256=48DGunO0IdlTJ_kTXx0oOX3eYFle7IBF9R0hyETyxCY,887
49
+ codecov_cli/helpers/ci_adapters/local.py,sha256=Jq5TYlIvf_gPjLdvdX8_O2FmTE8lpCRV8-957nHr5Fc,810
50
+ codecov_cli/helpers/ci_adapters/teamcity.py,sha256=je0bOSx0vszAC23oy2gHlugroJxXpmGmCecxxoGls90,850
51
+ codecov_cli/helpers/ci_adapters/travis_ci.py,sha256=hPhoh4DJSkDMJTYY0PdU70h9R1mudKggj5HDs7NnzmA,1373
52
+ codecov_cli/helpers/ci_adapters/woodpeckerci.py,sha256=MPn6cScquVT3Za6AwNtT9GpW52KHbxAiuc-bXITn1-Y,930
53
+ codecov_cli/helpers/git_services/__init__.py,sha256=7iSDnN5HYkEaNtQ-7zzqsIzZy8su6m7OJQWfwID-bj4,199
54
+ codecov_cli/helpers/git_services/github.py,sha256=bE54Wzt4xDyUw6d0_GLQ35gZbx37AtEH1PTlWk4tzYo,1453
55
+ codecov_cli/plugins/__init__.py,sha256=EJvHAjxyUvpecRxO072SjAVnRmrWn8ffk7O0ZYZMGUM,3079
56
+ codecov_cli/plugins/compress_pycoverage_contexts.py,sha256=_cENQXbZt0FHMs5ymCoxZnNzXdnR7RysqY5QHaDbpro,5844
57
+ codecov_cli/plugins/gcov.py,sha256=MrckoSbDS3Czy1nV25ICSQ-iweSwjMXBQnUD8-qpDSA,2562
58
+ codecov_cli/plugins/pycoverage.py,sha256=poMDLXBparHeKdqGare9tGsXkk3CJIkiSjaZx75Hg6k,5020
59
+ codecov_cli/plugins/types.py,sha256=VH32t8kitANzSMKVPszLB0iO3B71IJVNRXUI65Z7FCU,149
60
+ codecov_cli/plugins/xcode.py,sha256=_NGZuv3jPJCikdv4NbSJpsTxjoGgIHS_eqq7YjhLBMM,4149
61
+ codecov_cli/runners/__init__.py,sha256=JDdJ0CI_djgXq2hvH6P1cKACNrfkXsxNt-7B6hTL3Xs,2822
62
+ codecov_cli/runners/dan_runner.py,sha256=3OCbPqMTAolvKN5yeCbg5_E8oj-tFcs15OEGITc7AB4,2212
63
+ codecov_cli/runners/pytest_standard_runner.py,sha256=AtXnq5jtTTK3KKbBABJ6KDwpFy1-nNyao3fFmxy5WwA,7084
64
+ codecov_cli/runners/types.py,sha256=Cd3OMJtw6YXqinmp6bqN6l2NroKCOpgX5wDCWJmZeNs,927
65
+ codecov_cli/services/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
66
+ codecov_cli/services/commit/__init__.py,sha256=Hzp6Jw83XQmG10lCQayVTYEvsmFr81OATDMuSijG31E,2295
67
+ codecov_cli/services/commit/base_picking.py,sha256=4NvGOFig04QR88zRM-6MHBOe9QIKcczLeYVqriPgcio,729
68
+ codecov_cli/services/empty_upload/__init__.py,sha256=FJT0AuuOdzvIVFchj8nyfuJfpTLrJTMRnfnOJBSY7f0,1198
69
+ codecov_cli/services/report/__init__.py,sha256=07mz0Gq2dJuHOPFaKxhRGcWzjS9ZFKc0R2LgzTvx72Q,4734
70
+ codecov_cli/services/upload/__init__.py,sha256=L_mcFwuJNwuiCrdyy8jKs_AuABzu5qf1fM8JZZbFcb4,5985
71
+ codecov_cli/services/upload/file_finder.py,sha256=QsrgHtruuQ_nlwXEQkbhDQZWeK5asUpnbGsV6V0uoZM,8665
72
+ codecov_cli/services/upload/legacy_upload_sender.py,sha256=kyUHLLUUDpeT1vj2xu1gfGNA6nc7ufsE2pIDeHva6Aw,4532
73
+ codecov_cli/services/upload/network_finder.py,sha256=DUHL7UhEz_mBl1C5xe2ojc34HZfZaDdtehjqCybq1Vg,1545
74
+ codecov_cli/services/upload/upload_collector.py,sha256=Umkgxm9IlU0DA42FfTF77McaOCIydiIJ6mStM_hmAFc,7806
75
+ codecov_cli/services/upload/upload_sender.py,sha256=ypjkvKxcVD_Uwp3ivApNyRRSDCH4IUDtqdsq83nrcK8,8376
76
+ codecov_cli/services/upload_completion/__init__.py,sha256=iUCk_wxVvRPI0fliyPjsK8RPsqa55axIo6xJbqT3-14,1070
77
+ codecov_cli/services/upload_coverage/__init__.py,sha256=Zceram9t3AjpOZQn4Lgd9_nZxH7XElr6gZYgYvrYnE4,3253
78
+ codecov_cli-11.0.0.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
79
+ codecov_cli-11.0.0.dist-info/METADATA,sha256=ueG622YZkIpy-4TnaJevH5tAXwvB8HEeRsKKCtlc-kY,16890
80
+ codecov_cli-11.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
81
+ codecov_cli-11.0.0.dist-info/entry_points.txt,sha256=u2LV1TxZeZWZLVaKWqhZiWOJD-YTTZbpjDe_Wdh978Q,83
82
+ codecov_cli-11.0.0.dist-info/top_level.txt,sha256=i6wm_EVtDJx03NxSPWllvpvh14DTWHgh_8XhixsnLi0,12
83
+ codecov_cli-11.0.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,3 @@
1
+ [console_scripts]
2
+ codecov = codecov_cli.main:run
3
+ codecovcli = codecov_cli.main:run
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1 @@
1
+ codecov_cli