Skip to content
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

Fix python persist crash if there is no global python block #4572

Commits on Aug 9, 2023

  1. python: extract PythonBinding from PythonParser

    The PythonBinding class encapsulates the basic parameters for interacting
    with the Python object that contains the parsing logic. It will also
    allow centralizing python related functionality across all of our
    python components (e.g. destination, source, etc)
    
    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    b3e5656 View commit details
    Browse the repository at this point in the history
  2. python: use the PythonBinding helper in PythonSource

    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    f2144eb View commit details
    Browse the repository at this point in the history
  3. python: use the PythonBinding helper in PythonFetcher

    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    efa6cf5 View commit details
    Browse the repository at this point in the history
  4. python: use the new PythonBinding layer in PythonDestination

    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    14a2214 View commit details
    Browse the repository at this point in the history
  5. python: use the new PythonBinding layer in PythonHttpHeader

    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    f3b490f View commit details
    Browse the repository at this point in the history
  6. python: move interpreter startup to a separate module

    python-main contains multiple logical layers, let's split them.
    
    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    ce051fc View commit details
    Browse the repository at this point in the history
  7. python: drop unused _py_get_current_main_module() function

    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    6616227 View commit details
    Browse the repository at this point in the history
  8. python: move global code block support to python-global.{c,h}

    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    8494c1f View commit details
    Browse the repository at this point in the history
  9. python: return gboolean for _py_perform_imports()

    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    218ce09 View commit details
    Browse the repository at this point in the history
  10. python: clean up python-main interface to use PythonConfig

    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    afa5f76 View commit details
    Browse the repository at this point in the history
  11. python: fix crash in Persist() in case there's no global python code …

    …block
    
    Signed-off-by: Balazs Scheidler <balazs.scheidler@axoflow.com>
    bazsi authored and MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    fde6d78 View commit details
    Browse the repository at this point in the history
  12. copyright: update policy file

    Signed-off-by: László Várady <laszlo.varady@anno.io>
    MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    4b1ac53 View commit details
    Browse the repository at this point in the history
  13. news: add bugfix syslog-ng#4572

    Signed-off-by: László Várady <laszlo.varady@anno.io>
    MrAnno committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    97d3424 View commit details
    Browse the repository at this point in the history