- 
  Notifications
 You must be signed in to change notification settings 
- Fork 141
Started major rewrite for 1.0 #151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
 
  Open
 
 
 
 
  Open
 Changes from all commits
 Commits
 
 
 Show all changes
 
 
 10 commits
 
 
 Select commit
 Hold shift + click to select a range
 
 e00bcdd
 
 Merge pull request #159 from arcivanov/release/0.9.5
 
 
 arcivanov 258b445
 
 Add queue overflow handler in asyncsender.
 
 
 8e70e6a
 
 Fix tests.
 
 
 84808c3
 
 Execute queue overflow handler in case of no errors.
 
 
 eb68481
 
 Merge pull request #162 from arcivanov/release/0.9.6
 
 
 arcivanov 478bd02
 
 Respect multithreading in asynchandler test.
 
 
 pguz d1b81ba
 
 Merge pull request #156 from pguz/queue_overflow_handler
 
 
 arcivanov 0568a26
 
 Unpin msgpack version
 
 
 arcivanov ace80f4
 
 Merge pull request #173 from arcivanov/unpin_msgpack
 
 
 arcivanov 949837f
 
 Started major rewrite for 1.0
 
 
 arcivanov File filter
Filter by extension
Conversations
 Failed to load comments. 
 
 
 
  Loading
 
 Jump to
 
 Jump to file
 
 
 
 Failed to load files. 
 
 
 
  Loading
 
 Diff view
Diff view
There are no files selected for viewing
 
 
 
 8 changes: 0 additions & 8 deletions
 
 
 
 .coveragerc
 
 
 
 
  
 
 
 
 
 
 Oops, something went wrong.
 
 
 
 
 
 
 51 changes: 51 additions & 0 deletions
 
 
 
 .github/workflows/build.yml
 
 
 
 
  
 
 
 
 
 
 
 This file contains hidden or 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,51 @@ | ||
| name: fluent-logger | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - master | ||
| jobs: | ||
| build-stable: | ||
| runs-on: ${{ matrix.os }} | ||
| continue-on-error: false | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| os: | ||
| - ubuntu-latest | ||
| - windows-latest | ||
| - macosx-latest | ||
| python-version: | ||
| - '3.10' | ||
| - '3.9' | ||
| - '3.8' | ||
| - '3.7' | ||
| - '3.6' | ||
| - 'pypy-3.7' | ||
| env: | ||
| DEPLOY_PYTHONS: "3.9" | ||
| DEPLOY_OSES: "Linux" | ||
| TWINE_USERNAME: __token__ | ||
| TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| steps: | ||
| - shell: bash | ||
| if: | | ||
| github.event_name == 'push' && | ||
| contains(env.DEPLOY_OSES, runner.os) && | ||
| contains(env.DEPLOY_PYTHONS, matrix.python-version) | ||
| run: | | ||
| echo "PYB_EXTRA_ARGS=+upload" >> $GITHUB_ENV | ||
| - uses: pybuilder/build@master | ||
| with: | ||
| python-version: ${{ matrix.python-version }} | ||
| pyb-extra-args: ${{ env.PYB_EXTRA_ARGS }} | ||
| build-stable-summary: | ||
| if: success() || failure() | ||
| runs-on: ubuntu-latest | ||
| name: Build Stable Summary | ||
| needs: build-stable | ||
| steps: | ||
| - name: Check build matrix status | ||
| if: needs.build-stable.result != 'success' | ||
| run: exit 1 | 
 
 
 This file contains hidden or 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 | ||
 
 
 
 35 changes: 0 additions & 35 deletions
 
 
 
 .travis.yml
 
 
 
 
  
 
 
 
 
 
 Oops, something went wrong.
 
 
 
 File renamed without changes.
 
 
 
 
 
 4 changes: 0 additions & 4 deletions
 
 
 
 MANIFEST.in
 
 
 
 
  
 
 
 
 
 
 Oops, something went wrong.
 
 
 
 
 
 This file contains hidden or 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
 
 
 
 
 
 
 
 
 85 changes: 85 additions & 0 deletions
 
 
 
 build.py
 
 
 
 
  
 
 
 
 
 
 
 This file contains hidden or 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,85 @@ | ||
| # -*- 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", "kazuki.ohta@gmail.com")] | ||
| maintainers = [Author("Arcadiy Ivanov", "arcadiy@ivanov.biz")] | ||
|  | ||
| 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.6" | ||
|  | ||
| default_task = ["analyze", "publish"] | ||
|  | ||
|  | ||
| @init | ||
| def set_properties(project): | ||
| project.build_depends_on("docker", ">=5.0") | ||
| project.build_depends_on("cryptography", ">=2.9.0") | ||
|  | ||
| project.set_property("verbose", True) | ||
|  | ||
| project.set_property("coverage_break_build", False) | ||
| 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.
 
 
 
 Add this suggestion to a batch that can be applied as a single commit.
 This suggestion is invalid because no changes were made to the code.
 Suggestions cannot be applied while the pull request is closed.
 Suggestions cannot be applied while viewing a subset of changes.
 Only one suggestion per line can be applied in a batch.
 Add this suggestion to a batch that can be applied as a single commit.
 Applying suggestions on deleted lines is not supported.
 You must change the existing code in this line in order to create a valid suggestion.
 Outdated suggestions cannot be applied.
 This suggestion has been applied or marked resolved.
 Suggestions cannot be applied from pending reviews.
 Suggestions cannot be applied on multi-line comments.
 Suggestions cannot be applied while the pull request is queued to merge.
 Suggestion cannot be applied right now. Please check back later.