-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support all the latest and greatest protocol features Async buffer with disk persistence Signed-off-by: Arcadiy Ivanov <[email protected]>
- Loading branch information
Showing
28 changed files
with
1,303 additions
and
370 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,7 @@ | |
/.tox | ||
/build | ||
/dist | ||
.idea/ | ||
/.idea | ||
/.pybuilder | ||
__pycache__ | ||
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,34 @@ | ||
sudo: false | ||
language: python | ||
python: | ||
- "2.7" | ||
- "3.4" | ||
- "3.5" | ||
- "3.6" | ||
- "3.7" | ||
- "3.8" | ||
- pypy | ||
- pypy3 | ||
- nightly | ||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors | ||
install: | ||
- "pip install -e ." | ||
- "pip install 'coverage~=4.5.4' coveralls" | ||
script: | ||
- "PYTHONFAULTHANDLER=x timeout -sABRT 30s nosetests -vsd" | ||
after_success: | ||
- coveralls | ||
language: c | ||
dist: bionic | ||
os: | ||
- linux | ||
# - osx | ||
# - windows | ||
#osx_image: xcode11.3 | ||
services: | ||
- docker | ||
addons: | ||
apt: | ||
packages: | ||
- docker-ce | ||
env: | ||
jobs: | ||
- PYTHON_VERSION="3.8.3" | ||
- PYTHON_VERSION="3.7.7" | ||
- PYTHON_VERSION="3.6.10" | ||
- PYTHON_VERSION="3.5.9" | ||
- PYTHON_VERSION="3.9.0b1" | ||
global: | ||
- DEPLOY_BRANCHES: "'master'" | ||
- DEPLOY_PYTHONS: "'3.8.3'" | ||
- DEPLOY_OSES: "'linux'" | ||
- PYB_ARGS: "'-E ci -v -X analyze install'" | ||
- TWINE_USERNAME: repeatedly | ||
- secure: CpNaj4F3TZvpP1aSJWidh/XexrWODV2sBdObrYU79Gyh9hFl6WLsA3JM9BfVsy9cGb/P/jP6ly4Z0/6qdIzZ5D6FPOB1B7rn5GZ2LAMOypRCA6W2uJbRjUU373Wut0p0OmQcMPto6XJsMlpvOEq+1uAq+LLAnAGEmmYTeskZebs= | ||
|
||
deploy: | ||
provider: pypi | ||
user: repeatedly | ||
server: https://upload.pypi.org/legacy/ | ||
password: | ||
secure: CpNaj4F3TZvpP1aSJWidh/XexrWODV2sBdObrYU79Gyh9hFl6WLsA3JM9BfVsy9cGb/P/jP6ly4Z0/6qdIzZ5D6FPOB1B7rn5GZ2LAMOypRCA6W2uJbRjUU373Wut0p0OmQcMPto6XJsMlpvOEq+1uAq+LLAnAGEmmYTeskZebs= | ||
on: | ||
tags: true | ||
condition: '"$TRAVIS_PYTHON_VERSION" = "3.8" || "$TRAVIS_PYTHON_VERSION" = "2.7"' | ||
distributions: "sdist bdist_wheel" | ||
cache: | ||
directories: | ||
- $HOME/.pyenv | ||
|
||
matrix: | ||
allow_failures: | ||
- python: nightly | ||
install: travis_wait 30 python travis/travis_shim.py install | ||
script: travis_wait 60 python travis/travis_shim.py build |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# -*- coding: utf-8 -*- | ||
from pybuilder.core import use_plugin, init, Author | ||
|
||
use_plugin("python.core") | ||
use_plugin("python.unittest") | ||
use_plugin("python.flake8") | ||
use_plugin("python.coverage") | ||
use_plugin("python.coveralls") | ||
use_plugin("python.distutils") | ||
use_plugin("python.pycharm") | ||
use_plugin("copy_resources") | ||
|
||
|
||
name = "fluent-logger" | ||
summary = "A Python logging handler for FluentD event collector" | ||
|
||
authors = [Author("Kazuki Ohta", "[email protected]")] | ||
maintainers = [Author("Arcadiy Ivanov", "[email protected]")] | ||
|
||
url = "https://github.com/fluent/fluent-logger-python" | ||
urls = {"Bug Tracker": "https://github.com/fluent/fluent-logger-python/issues", | ||
"Source Code": "https://github.com/fluent/fluent-logger-python", | ||
"Documentation": "https://github.com/fluent/fluent-logger-python" | ||
} | ||
license = "Apache License, Version 2.0" | ||
version = "1.0.0.dev" | ||
|
||
requires_python = ">=3.5" | ||
|
||
default_task = ["analyze", "publish"] | ||
|
||
|
||
@init | ||
def set_properties(project): | ||
project.set_property("verbose", True) | ||
|
||
project.set_property("coverage_break_build", True) | ||
project.get_property("coverage_exceptions").extend(["setup"]) | ||
|
||
project.set_property("flake8_break_build", True) | ||
project.set_property("flake8_extend_ignore", "E303") | ||
project.set_property("flake8_include_test_sources", True) | ||
project.set_property("flake8_max_line_length", 130) | ||
|
||
project.set_property("frosted_include_test_sources", True) | ||
project.set_property("frosted_include_scripts", True) | ||
|
||
project.set_property("copy_resources_target", "$dir_dist/fluent") | ||
project.get_property("copy_resources_glob").append("LICENSE") | ||
project.include_file("fluent", "LICENSE") | ||
|
||
# PyPy distutils needs os.environ['PATH'] not matter what | ||
# Also Windows needs PATH for DLL loading in all Pythons | ||
project.set_property("integrationtest_inherit_environment", True) | ||
|
||
project.set_property("distutils_readme_description", True) | ||
project.set_property("distutils_description_overwrite", True) | ||
project.set_property("distutils_readme_file", "README.rst") | ||
project.set_property("distutils_upload_skip_existing", True) | ||
project.set_property("distutils_setup_keywords", ["fluentd", "logging", "logger", "python"]) | ||
|
||
project.set_property("distutils_classifiers", [ | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only" | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: Microsoft :: Windows", | ||
"Operating System :: OS Independent", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: System :: Logging" | ||
"Intended Audience :: Developers", | ||
"Development Status :: 5 - Production/Stable", | ||
]) | ||
|
Oops, something went wrong.