Commit Graph

80 Commits

Author SHA1 Message Date
bastimeyer 9a0c64a78a chore: update Gitter link in issue template config 2023-02-14 12:31:58 +01:00
bastimeyer a0a5af60b0 docs: remove Open Collective
- Rewrite the documentation's donate page
  - Remove donation infos from individual team members
  - Add all team members
  - Fix GitHub username regex in Sphinx extension
- Rewrite the project README
  - Use HTML for centered text, add logo, update badges
  - Rephrase text sections
  - Remove Open Collective and update support section
- Replace all links to Open Collective with a link to the latest docs
2023-02-11 12:10:36 -08:00
bastimeyer 98596e9331 tools: replace flake8 with ruff 2023-02-09 09:54:14 -08:00
bastimeyer b135552df6 chore: add templates for GitHub discussions 2023-01-27 09:45:24 -08:00
bastimeyer 2f7396ba24 tools: check typing in docs dir separately 2023-01-26 09:42:34 -08:00
bastimeyer faece22c35 ci: revert deploy-pypi changes
Partially reverts de5bda806d
2023-01-23 23:27:39 +01:00
bastimeyer de5bda806d build: update auth in sign+deploy scripts 2023-01-08 12:04:13 -08:00
bastimeyer ec42682da8 build: update build script
Use `build` to build sdist and wheels instead of calling setuptools
directly, which is deprecated.
2023-01-07 17:59:42 -08:00
bastimeyer c81ceff571 ci.github: ubuntu-20.04 -> ubuntu-latest 2023-01-01 15:12:22 -08:00
bastimeyer 29d1f3921e docs: fix man page links in HTML docs
- Update Makefile and define DOCSDIR variable
- Add `man` sphinx build tag to the `man` make-target
- Exclude `_man.rst` if the `man` build tag is set
- Revert b45e685f
2022-11-23 13:43:22 -08:00
bastimeyer b45e685ff6 ci.github: temporarily downgrade Sphinx to 5.2.3 2022-11-22 09:54:58 -08:00
bastimeyer 7039b4b3a1 tools: move list of files to mypy config
- Move list of files from CI config to mypy config in pyproject.toml,
  so that mypy can be run locally without having to specificy the same
  inputs as CLI arguments. Keep --no-incremental exclusive to CI runner.
- Update Python version of mypy CI runner.
- Fix typing ignore comment when importing importlib_metadata fallback
  in the streamlink_cli.compat module.
2022-11-08 13:24:47 +01:00
bastimeyer 7bcba1bcfc ci.github: add regular Python 3.11 runners 2022-10-28 22:09:25 -07:00
bastimeyer 2aecef7d7f chore: update issue forms 2022-10-24 09:43:01 -07:00
bastimeyer facf193437 ci.github: bump actions to latest version 2022-09-22 21:14:30 -07:00
bastimeyer 1d9fd76374 chore: update GitHub release message body 2022-08-02 15:57:46 -07:00
bastimeyer a0573c653b ci: add cpython 3.11-dev test runners 2022-07-10 12:24:03 -07:00
bastimeyer b7a8da256f ci: fix push filter ignoring tags 2022-07-09 05:14:59 +02:00
bastimeyer cc455586c5 ci: lint sphinx extensions and setup.py 2022-06-23 09:35:00 -07:00
bastimeyer 2f101a8172 ci: add useragents workflow
- Update user agents once a month, open pull request via streamlinkbot
- Ignore CI runs when pushing branches with automated changes
2022-06-14 15:40:29 +02:00
bastimeyer 888ad665c6 ci: update deploy-docs script
- Replace SSH key with new streamlinkbot PAT
- Update and refactor deploy-docs.sh
- Update CI workflow
2022-06-13 22:49:48 -07:00
bastimeyer 588cb1da7c ci: new linting config
- Move linting CI steps to dedicated workflow
- Check file encodings
- Add mypy job
2022-05-24 14:07:47 -07:00
bastimeyer bcd624c175 ci: use GITHUB_TOKEN for deploying to GitHub 2022-05-07 12:20:56 +02:00
bastimeyer b77cf7883e script: rename github release script 2022-05-07 12:20:56 +02:00
bastimeyer 5249900b3e script: rewrite github release script
- Completely rewrite GitHub release script
  - Remove --dry-run and make it implicit when no API key is set
  - Remove --api-key and read from RELEASES_API_KEY or GITHUB_TOKEN
  - Add --template, --changelog, --no-contributors and --no-shortlog
  - Refactor GitHub API stuff
  - Update release template logic and use Jinja2
  - Get list of contributors (with support for commit co-authors):
    GitHub highlights usernames in releases, which this is meant for
  - Generate git shortlog automatically
  - Always close open file handles
- Update release template based on Jinja2 logic
- Update release CI job
  - Install Jinja2
  - Upgrade Python to 3.10 and setup-python to v2
  - Fetch entire repo
  - Don't upload wheels to GitHub releases
2022-05-07 12:20:56 +02:00
bastimeyer a081f3adb2 ci: fix github deploy config 2022-05-01 15:16:24 +02:00
bastimeyer 7359444dcb chore: update GitHub release template 2022-04-23 16:55:36 -07:00
bastimeyer 75941e1c91 chore: clean up flake8 config 2022-04-22 10:45:08 -07:00
bastimeyer 89ab021c07 chore: drop support for Python 3.6 2022-04-10 07:35:19 +02:00
bastimeyer 2dd2f35930 installer: drop Windows installer build config
Drop installer build config in favor of the external build config at:
https://github.com/streamlink/windows-installer

- remove installer build scripts+configs
- remove Streamlink config file in win32 subdirectory
- remove windows-installer CI job
  - update steps of the release CI job
- remove removed-plugins file
  - remove src/streamlink/plugins/.removed
  - update package manifest
  - update tests
  - update developing docs
- rewrite install docs
2022-04-03 22:09:35 +02:00
bastimeyer 5d57bba104 installer: set pynsist to 2.7 and distlib to 0.3.3 2022-01-24 08:05:56 -08:00
bastimeyer 8fe3338f23 chore: add GH gist link to issue templates 2021-11-20 11:56:51 -08:00
bastimeyer b19458c7be installer: rewrite wheels config, fix pycountry 2021-11-17 15:28:03 +01:00
bastimeyer 5c9fa063e2 ci.github: check for unicode bidi control chars 2021-11-03 12:01:26 +01:00
bastimeyer 765f969dfd ci.github: switch to codecov-action@v2 2021-10-13 17:35:35 -07:00
bastimeyer 4253f88548 ci.github: add regular py310 test runners 2021-10-06 17:34:51 -07:00
bastimeyer 1549c41752 build: include bash and zsh completions in wheels 2021-09-26 10:22:40 +02:00
back-to 28c99c3d53 tests.mixins.stream_hls: increase TIMEOUT_AWAIT_WRITE timeout, use --durations 10 for pytest
`self.rebuild_proxies(request, self.proxies))` seems to slow down `requests`

60ea7f0c2d (diff-c80d84057edadb04b5615f7169c55f88ccda358d7c20af966afb20c0d0d1056a)

which results in a pytest timeout, because 5 seconds is not enough on windows

```
with kwargs.setdefault('proxies', self.proxies)

============================================================================================ slowest 10 durations =============================================================================================
0.86s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128
0.53s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_key_uri_override
0.43s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_with_map
0.36s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_incorrect_padding_content
0.30s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_incorrect_padding_length
0.30s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_incorrect_block_length
```

```
with kwargs.setdefault('proxies', self.rebuild_proxies(request, self.proxies))

============================================================================================ slowest 10 durations =============================================================================================
10.01s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128
9.80s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_key_uri_override
5.63s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_incorrect_padding_length
5.22s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_with_map
2.97s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_incorrect_block_length
2.95s call     tests/streams/test_hls.py::TestHLSStreamEncrypted::test_hls_encrypted_aes128_incorrect_padding_content
```

---

also show the 10 slowest tests on pytest
2021-08-22 12:31:59 +02:00
bastimeyer e5edba8664 chore: fix issue forms checklist 2021-07-11 18:18:28 +02:00
bastimeyer 1b517c7771 chore: replace issue templates with forms 2021-07-10 15:36:36 -07:00
bastimeyer 034173da30 ci.github: add python 3.10-dev to test runners 2021-05-15 10:30:40 -07:00
bastimeyer 1aba04c7d8 chore: remove square brackets from issue titles 2021-04-18 15:32:42 -07:00
bastimeyer a84aacf76b chore: reorder and improve issue templates
- add template for showing the "use the templates" note at the top
- reorder templates by prepending numbers to the file names
- add data for title templates and automatic labels (where applicable)
- make templates more consistent and add more descriptions
- improve debug log comments
- remove "expected/actual behavior" from feature request template
2021-02-19 18:39:42 -08:00
bastimeyer 572717319e ci.github: increase git fetch depth of tests
Set fetch depth to 300, like all the other CI runners do, and fix the
Codecov upload error/warning:
> Issue detecting commit SHA. Please run actions/checkout with
> fetch-depth > 1 or set to 0
2021-02-08 10:50:59 -08:00
bastimeyer 97205d2fa2 build: include man page in wheels 2020-12-30 11:40:48 +01:00
bastimeyer 374130a4de tools: force LF line endings via .gitattributes
https://stackoverflow.com/questions/29435156

- add additional linting steps to Github actions for checking the
  line endings and file permissions
- fix line endings and file permissions
2020-12-25 11:49:38 -08:00
bastimeyer 401440c34d chore: add issue template config with more links 2020-12-08 16:44:29 -08:00
bastimeyer c17b590a84 chore: add dev version checkbox to issue templates 2020-11-24 11:09:51 -08:00
bastimeyer f0b35b64d4 installer: switch back to latest pynsist release
2.6 has just been released, so we don't need to install a pre-release
version with the necessary bugfixes from git anymore.
2020-11-05 17:37:19 -08:00
bastimeyer bc78360c51 installer: upgrade to Python 3.9.0
- Install fixed pynsist pre-release version from git. This is necessary
  when trying to install wheels with an included Python ABI tag in their
  file name, as the tag naming scheme has been changed in Python 3.8.0.
- Bump the installer's Python version to 3.9.0
- Bump pycryptodome dependency to 3.9.9
2020-11-04 19:50:27 -08:00