Hello community, here is the log from the commit of package python-codecov for openSUSE:Factory checked in at 2020-09-17 14:52:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-codecov (Old) and /work/SRC/openSUSE:Factory/.python-codecov.new.4249 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-codecov" Thu Sep 17 14:52:30 2020 rev:5 rq:835104 version:2.1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-codecov/python-codecov.changes 2020-07-09 13:21:20.397643642 +0200 +++ /work/SRC/openSUSE:Factory/.python-codecov.new.4249/python-codecov.changes 2020-09-17 15:04:30.716691231 +0200 @@ -1,0 +2,8 @@ +Thu Sep 17 06:50:15 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- update to 2.1.9: + * Remove token restriction as it is changed server-side + * support for CODECOV_FLAGS + * ability to specify number of upload retries + +------------------------------------------------------------------- Old: ---- codecov-2.1.7.tar.gz New: ---- codecov-2.1.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-codecov.spec ++++++ --- /var/tmp/diff_new_pack.2wkdX2/_old 2020-09-17 15:04:42.196702134 +0200 +++ /var/tmp/diff_new_pack.2wkdX2/_new 2020-09-17 15:04:42.200702137 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-codecov -Version: 2.1.7 +Version: 2.1.9 Release: 0 Summary: Hosted coverage reports License: Apache-2.0 ++++++ codecov-2.1.7.tar.gz -> codecov-2.1.9.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/codecov-2.1.7/CHANGELOG.md new/codecov-2.1.9/CHANGELOG.md --- old/codecov-2.1.7/CHANGELOG.md 2020-06-14 20:20:48.000000000 +0200 +++ new/codecov-2.1.9/CHANGELOG.md 2020-08-20 04:28:08.000000000 +0200 @@ -1,3 +1,12 @@ +### `2.1.9` + +- []()Remove token restriction as it is changed server-side + +### `2.1.8` + +- [#285](https://github.com/codecov/codecov-python/pull/285)Add support for CODECOV_FLAGS +- [#276](https://github.com/codecov/codecov-python/pull/276)Add ability to specify number of upload retries + ### `2.1.7` - [#279](https://github.com/codecov/codecov-python/pull/279) Fix pinned coverage version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/codecov-2.1.7/PKG-INFO new/codecov-2.1.9/PKG-INFO --- old/codecov-2.1.7/PKG-INFO 2020-06-14 20:21:38.835204800 +0200 +++ new/codecov-2.1.9/PKG-INFO 2020-08-21 18:52:12.549248000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: codecov -Version: 2.1.7 +Version: 2.1.9 Summary: Hosted coverage reports for GitHub, Bitbucket and Gitlab Home-page: https://github.com/codecov/codecov-python Author: Codecov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/codecov-2.1.7/README.md new/codecov-2.1.9/README.md --- old/codecov-2.1.7/README.md 2020-06-03 17:05:24.000000000 +0200 +++ new/codecov-2.1.9/README.md 2020-08-20 04:21:02.000000000 +0200 @@ -1,7 +1,10 @@ -Codecov Global Python Uploader ![PyPI](https://img.shields.io/pypi/v/codecov) [![codecov.io](https://codecov.io/github/codecov/codecov-python/coverage.svg?branch=master)](https://codecov.io/github/codecov/codecov-python) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +Codecov Global Python Uploader +[![codecov.io](https://codecov.io/github/codecov/codecov-python/coverage.svg?branch=master)](https://codecov.io/github/codecov/codecov-python) +![PyPI](https://img.shields.io/pypi/v/codecov) +[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) ======= -| [https://codecov.io/][1] | [@codecov][2] | [he...@codecov.io][3] | -| ------------------------ | ------------- | --------------------- | +| [Support][1] | [Documentation][2] | [Community Boards][3] | [Twitter][4] | +| ------------ | ------------------ | --------------------- | ------------ | Find coverage reports for all the [languages below](#languages), gather them and submit them to Codecov. @@ -75,34 +78,35 @@ ## CI Providers | Company | Supported | Token Required | -| --------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | -| [Travis CI](https://travis-ci.org/) | Yes [![Build Status](https://secure.travis-ci.org/codecov/codecov-python.svg?branch=master)](https://travis-ci.org/codecov/codecov-python) | Private only | -| [CircleCI](https://circleci.com/) | Yes | Private only | -| [Codeship](https://codeship.com/) | Yes | Public & Private | -| [Jenkins](https://jenkins-ci.org/) | Yes | Public & Private | -| [Semaphore](https://semaphoreci.com/) | Yes | Public & Private | -| [Drone.io](https://drone.io/) | Yes | Public & Private | -| [AppVeyor](https://www.appveyor.com/) | Yes [![Build status](https://ci.appveyor.com/api/projects/status/sw18lsj7786bw806/branch/master?svg=true)](https://ci.appveyor.com/project/stevepeak/codecov-python/branch/master) | Private only | -| [Wercker](http://wercker.com/) | Yes | Public & Private | -| [Magnum CI](https://magnum-ci.com/) | Yes | Public & Private | -| [Shippable](https://www.shippable.com/) | Yes | Public & Private | -| [Gitlab CI](https://about.gitlab.com/gitlab-ci/) | Yes | Public & Private | -| Git / Mercurial | Yes (as a fallback) | Public & Private | -| [Buildbot](https://buildbot.net/) | `coming soon` [buildbot/buildbot#1671](https://github.com/buildbot/buildbot/pull/1671) | | -| [Bamboo](https://www.atlassian.com/software/bamboo) | `coming soon` | | -| [Solano Labs](https://www.solanolabs.com/) | `coming soon` | | +| ----------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------- | +| [AppVeyor](https://www.appveyor.com/) | Yes [![Build status](https://ci.appveyor.com/api/projects/status/sw18lsj7786bw806/branch/master?svg=true)](https://ci.appveyor.com/project/stevepeak/codecov-python/branch/master) | Private only | +| [Bamboo](https://www.atlassian.com/software/bamboo) | `coming soon` | | +| [Buildbot](https://buildbot.net/) | `coming soon` [buildbot/buildbot#1671](https://github.com/buildbot/buildbot/pull/1671) | | +| [CircleCI](https://circleci.com/) | Yes | Private only | +| [Codeship](https://codeship.com/) | Yes | Public & Private | +| [Drone.io](https://drone.io/) | Yes | Public & Private | +| [GitHub Actions](https://github.com/features/actions) | Yes [![Build status](https://github.com/codecov/codecov-python/workflows/Python%20package/badge.svg?branch=master)](https://github.com/codecov/codecov-python/actions?query=workflow%3A%22Python+package%22) | Public & Private | +| [Gitlab CI](https://about.gitlab.com/gitlab-ci/) | Yes | Public & Private | +| [Jenkins](https://jenkins-ci.org/) | Yes | Public & Private | +| [Magnum CI](https://magnum-ci.com/) | Yes | Public & Private | +| [Semaphore](https://semaphoreci.com/) | Yes | Public & Private | +| [Shippable](https://www.shippable.com/) | Yes | Public & Private | +| [Solano Labs](https://www.solanolabs.com/) | `coming soon` | | +| [Travis CI](https://travis-ci.org/) | Yes [![Build Status](https://secure.travis-ci.org/codecov/codecov-python.svg?branch=master)](https://travis-ci.org/codecov/codecov-python) | Private only | +| [Wercker](http://wercker.com/) | Yes | Public & Private | +| Git / Mercurial | Yes (as a fallback) | Public & Private | ## Troubleshooting -If you're seeing an **HTTP 400 error when uploading reports to S3**, make sure you've updated to at least version 2.1.3. +If you're seeing an **HTTP 400 error when uploading reports to S3**, make sure you've updated to at least version 2.1.3. -[1]: https://codecov.io/ -[2]: https://twitter.com/codecov -[3]: mailto:he...@codecov.io +[1]: https://codecov.io/support/ +[2]: https://community.codecov.io/ +[3]: https://twitter.com/codecov ## Copyright -> Copyright 2014-2019 codecov +> Copyright 2014-2020 codecov diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/codecov-2.1.7/codecov/__init__.py new/codecov-2.1.9/codecov/__init__.py --- old/codecov-2.1.7/codecov/__init__.py 2020-06-14 01:48:23.000000000 +0200 +++ new/codecov-2.1.9/codecov/__init__.py 2020-08-20 04:26:21.000000000 +0200 @@ -331,7 +331,7 @@ "--flags", "-F", nargs="*", - default=None, + default=os.getenv("CODECOV_FLAGS"), help="Flag these uploaded files with custom labels", ) basics.add_argument( @@ -407,6 +407,12 @@ help="Specify a custom pr number, provided automatically for supported CI companies", ) advanced.add_argument("--tag", default=None, help="Git tag") + advanced.add_argument( + "--tries", + default=3, + type=int, + help="Specify the total number of attempts to make when uploading coverage report", + ) enterprise = parser.add_argument_group( "======================== Enterprise ========================" @@ -947,8 +953,6 @@ if _slug: query["slug"] = _slug.groups()[1] - assert query.get("job") or query.get("token"), "Missing repository upload token" - # Processing gcov # --------------- if "gcov" in codecov.disable: @@ -1108,6 +1112,7 @@ res = retry_upload( "%s/upload/v4?%s" % (codecov.url, urlargs), requests.post, + retries=codecov.tries, break_codes=(200, 400, 406), verify=codecov.cacert, headers={ @@ -1128,6 +1133,7 @@ s3 = retry_upload( upload_url, requests.put, + retries=codecov.tries, verify=codecov.cacert, data=reports_gzip, headers={ @@ -1149,6 +1155,7 @@ res = retry_upload( "%s/upload/v2?%s" % (codecov.url, urlargs), requests.post, + retries=codecov.tries, verify=codecov.cacert, data=reports_gzip, headers={ @@ -1180,13 +1187,6 @@ "Tip: See all example repositories: https://github.com/codecov?query=example" ) - write("Support channels:", "green") - write( - " Email: he...@codecov.io\n" - " IRC: #codecov\n" - " Gitter: https://gitter.im/codecov/support\n" - " Twitter: @codecov\n" - ) sys.exit(1 if codecov.required else 0) else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/codecov-2.1.7/codecov/__version__.py new/codecov-2.1.9/codecov/__version__.py --- old/codecov-2.1.7/codecov/__version__.py 2020-06-14 20:20:48.000000000 +0200 +++ new/codecov-2.1.9/codecov/__version__.py 2020-08-20 04:27:36.000000000 +0200 @@ -5,4 +5,4 @@ __license__ = "Apache 2.0" __title__ = "codecov" __url__ = "https://github.com/codecov/codecov-python" -__version__ = "2.1.7" +__version__ = "2.1.9" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/codecov-2.1.7/codecov.egg-info/PKG-INFO new/codecov-2.1.9/codecov.egg-info/PKG-INFO --- old/codecov-2.1.7/codecov.egg-info/PKG-INFO 2020-06-14 20:21:38.000000000 +0200 +++ new/codecov-2.1.9/codecov.egg-info/PKG-INFO 2020-08-21 18:52:12.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: codecov -Version: 2.1.7 +Version: 2.1.9 Summary: Hosted coverage reports for GitHub, Bitbucket and Gitlab Home-page: https://github.com/codecov/codecov-python Author: Codecov