This approach makes sure that if there's ever Python 4, it wouldn't
fall back to the Python 2 behavior silently.
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
* Add a no-op check job to GHA for branch protection
This patch adds an "empty" job that depends on all the important ones
making it possible to use just this `check` job in the branch
protection settings. This reduces the maintenance burden by preventing
the need to update these settings on any changes to the job
declarations.
* Add a config for YAMLLint
* Add a config for flake8
* Add an initial auto-generated PyLint config
* Align pylint line length settings in with flake8
* Colorize the pylint report output
* Correct spelling mistakes caught by `codespell`
* Disable all currently violated PyLint rules
* Start managing the linters setup with pre-commit
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
* Add an initial auto-generated PyLint config
* Align pylint line length settings in with flake8
* Colorize the pylint report output
* Disable all currently violated PyLint rules
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>
This patch adds an "empty" job that depends on all the important ones
making it possible to use just this `check` job in the branch
protection settings. This reduces the maintenance burden by preventing
the need to update these settings on any changes to the job
declarations.
* Invoke self-install via PEP517 in the CI
* Add tox envs for building dists via PEP 517
* Add linting dists via tox to GHA
* Upgrade `master` to `develop` in `setup.py`
* Simplify `python_requires` in `setup.py`
* Convert dynamic `setup.py` into static `setup.cfg`
* Async proxy pool
* Async proxy pool
* Late upstream initialization and exception guards
* Close upstream proxy connection on client connection close
* Refactor into EventManager
* Fix tests accounting in the event manager
* Ensure each process initializes logger
* pragma no cover
* Teardown connection when proxy pool upstream proxy closes
* Add ability to customize access log format and add additional context to it
* Maintain total size for response bytes in access logs
* Fix tests broken due to new plugin methods missing mock
* Update pubsub_eventing to use EventManager to avoid entire bootstrapping step
* Build docker from 3.10-alpine
* Bump version to 3.4.0
* Add instructions for how to run dashboard
* Order of menu
* Override dashboard png path until submitted
* Add some doc string for top-level Proxy class. Also some TODOs and warnings regarding PID file overwrite
* Allow HttpProxyBasePlugin implementations to register custom descriptors for read/write events
* Remove hardcoded adblock regex into json config. Update upstream filter to block facebook, not google
* ProxyPoolPlugin and ReverseProxyPlugin must now be updated to use get/read/write descriptor APIs
* Add get/read/write descriptor API for HttpWebServerBasePlugin too
* Surface actual listening port via flags.port