From a374009835230f66b9c74337ce7c2e3cc6283999 Mon Sep 17 00:00:00 2001 From: rohitsud Date: Sun, 27 Sep 2020 13:06:24 -0700 Subject: [PATCH 1/4] Fix readme param and spelling --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 25e8221..32d867c 100644 --- a/README.rst +++ b/README.rst @@ -174,7 +174,7 @@ Similar methods exist for individual cameras: Download videos ---------------- -You can also use this library to download all videos from the server. In order to do this, you must specify a ``path``. You may also specifiy a how far back in time to go to retrieve videos via the ``since=`` variable (a simple string such as ``"2017/09/21"`` is sufficient), as well as how many pages to traverse via the ``page=`` variable. Note that by default, the library will search the first ten pages which is sufficient in most use cases. Additionally, you can specidy one or more cameras via the ``camera=`` property. This can be a single string indicating the name of the camera, or a list of camera names. By default, it is set to the string ``'all'`` to grab videos from all cameras. +You can also use this library to download all videos from the server. In order to do this, you must specify a ``path``. You may also specifiy a how far back in time to go to retrieve videos via the ``since=`` variable (a simple string such as ``"2017/09/21"`` is sufficient), as well as how many pages to traverse via the ``stop=`` variable. Note that by default, the library will search the first ten pages which is sufficient in most use cases. Additionally, you can specify one or more cameras via the ``camera=`` property. This can be a single string indicating the name of the camera, or a list of camera names. By default, it is set to the string ``'all'`` to grab videos from all cameras. Example usage, which downloads all videos recorded since July 4th, 2018 at 9:34am to the ``/home/blink`` directory: From 1b1c30bff0f54fe555629f8d20dbff819cb21df2 Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Mon, 5 Oct 2020 09:08:15 -0400 Subject: [PATCH 2/4] Add codecov token to workflow to fix upload issue --- .github/workflows/coverage.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 570efdc..c260f40 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -34,6 +34,8 @@ jobs: tox -r -e cov - name: Codecov uses: codecov/codecov-action@v1.0.6 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: flags: unittests file: ./coverage.xml From 7aef8570a574a0a2d2a59d3084e1730e8d189481 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Mon, 5 Oct 2020 13:24:47 +0000 Subject: [PATCH 3/4] Bump pylint from 2.5.3 to 2.6.0 Bumps [pylint](https://github.com/PyCQA/pylint) from 2.5.3 to 2.6.0. - [Release notes](https://github.com/PyCQA/pylint/releases) - [Changelog](https://github.com/PyCQA/pylint/blob/master/ChangeLog) - [Commits](https://github.com/PyCQA/pylint/compare/pylint-2.5.3...pylint-2.6.0) Signed-off-by: dependabot-preview[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 0de9e16..a1f09f5 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -3,7 +3,7 @@ coverage==5.3 flake8==3.8.3 flake8-docstrings==1.5.0 pre-commit==2.6.0 -pylint==2.5.3 +pylint==2.6.0 pydocstyle==5.0.2 pytest==6.0.1 pytest-cov==2.10.1 From 190cef875ec34522435aeb0ed2643b0798771b90 Mon Sep 17 00:00:00 2001 From: Kevin Fronczak Date: Mon, 5 Oct 2020 09:38:15 -0400 Subject: [PATCH 4/4] Attempt to fix coverage --- .github/workflows/coverage.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c260f40..ddb7c9c 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -33,10 +33,9 @@ jobs: run: | tox -r -e cov - name: Codecov - uses: codecov/codecov-action@v1.0.6 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v1 with: + token: ${{ secrets.CODECOV_TOKEN }} flags: unittests file: ./coverage.xml name: blinkpy