{"push_id":2395612880,"size":18,"distinct_size":0,"ref":"refs/heads/batch","head":"462eebb38af71412a05272b39945798b96b23041","before":"7cc8f668f7d229838d0cc7c7e05bf95ff4ac17ef","commits":[{"sha":"f1c309005b399cdf6ebb5cfa27756aff8ee84f95","author":{"name":"Balazs Scheidler","email":"dcdbeec593d63c312787688b932aee771682ec3e@balabit.com"},"message":"logpipe: add support for drop-unmatched flag\n\nThis patch adds a new flag to log statements, \"drop-unmatched\" will cause\nmessages to be dropped along a specific log path, should it not match the\nfilter or be dropped by a parser.  Normally in such cases, syslog-ng would\ncontinue to process the message along alternative paths.\n\nThis is basically saying that a filter/parse error is final and is to be used\nby our if statement.\n\nSigned-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/f1c309005b399cdf6ebb5cfa27756aff8ee84f95"},{"sha":"9ebd925d7a252ffc39e936fada9077539edc64b7","author":{"name":"Balazs Scheidler","email":"dcdbeec593d63c312787688b932aee771682ec3e@balabit.com"},"message":"cfg-grammar: add implementation for if {} elif {}  else {} blocks\n\nWe are already able to do conditional evaluation with a bit arcane syntax:\n\n    junction {\n      channel {\n        filter { EXPR1 };\n        ...\n        flags(final);\n      };\n      channel {\n        filter { EXPR2 };\n        ...\n        flags(final);\n      };\n      channel {\n        flags(final);\n      };\n    };\n\nHowever, this is not very intuitive. This patch adds syntactic sugar using\nthe if / else keywords to achieve the same, such as:\n\n    if (message('foo')) {\n       ...\n    } elif (message('bar')) {\n       ...\n    } else {\n       ...\n    }\n\nWe actually have two formats of the conditional expressions:\n\n1) the one with an explicit filter expression\n\n    if (message('foo')) {\n       parser { date-parser(); };\n    } else {\n        ...\n    };\n\n2) the one where the condition is embedded in the log path\n\n    if {\n        filter { message('foo')); };\n        parser { date-parser(); };\n    } else {\n        ...\n    };\n\nThe difference between the two is that the second format would consider all\nfilters and all parsers as the condition, combined.  The first one only uses the\nfilter expression in if().\n\nThe difference in evaluation of the two formats are:\n\n  1) if the message contains 'foo' and the date-parser() fails, the message\n     is dropped and execution does not continue along the else path.  If if\n     does not contain 'foo' the else is obviously taken.\n\n  2) if the message contains 'foo' and the date-parser() fails the else\n     branch is taken, just as if the message does not contain 'foo'.\n\nThis change should make the configuration for complex of stuff a lot\nsimpler.\n\nSigned-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/9ebd925d7a252ffc39e936fada9077539edc64b7"},{"sha":"f613abc72e1d88b64d67ad07903fc35d022c9613","author":{"name":"Balazs Scheidler","email":"dcdbeec593d63c312787688b932aee771682ec3e@balabit.com"},"message":"scl/cisco: use if/elif in cisco-timestamp-parser()\n\nInstead of using a complicated junction/channel construct, use the more\ndescriptive if, making the parser a lot easer to read.\n\nSigned-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/f613abc72e1d88b64d67ad07903fc35d022c9613"},{"sha":"9339ecb91b001528c47ff055f021d450bba30353","author":{"name":"Balazs Scheidler","email":"dcdbeec593d63c312787688b932aee771682ec3e@balabit.com"},"message":"scl/solaris: simplify configuration using if expressions\n\nSigned-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/9339ecb91b001528c47ff055f021d450bba30353"},{"sha":"7163eefb4656ced88a9c3f843c9d34827b3a65ab","author":{"name":"Balazs Scheidler","email":"dcdbeec593d63c312787688b932aee771682ec3e@balabit.com"},"message":"logmatcher: remove POSIX regexp support\n\nSigned-off-by: Balazs Scheidler <balazs.scheidler@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/7163eefb4656ced88a9c3f843c9d34827b3a65ab"},{"sha":"a4f7b9dc75c2b678466cc104d8ca111bd90fba11","author":{"name":"László Várady","email":"35d74ef41ec877cc6f9aa491e06ffc0cd8234b93@balabit.com"},"message":"tls: fix tls_context_load_key_and_cert()\n\nkey_file and cert_file are optional (the client cert is not mandatory).\n\nSigned-off-by: László Várady <laszlo.varady@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/a4f7b9dc75c2b678466cc104d8ca111bd90fba11"},{"sha":"9e3eae23330442c9e58ae5ccc732457f2d0e694e","author":{"name":"László Várady","email":"35d74ef41ec877cc6f9aa491e06ffc0cd8234b93@balabit.com"},"message":"tlscontext: fix error logging of cert_file\n\nfile_exists() has a side effect: it logs when the file can't be opened.\n\nSince the && operator is evaluated lazily, the error messages of cert_file\nwere not displayed when the first invocation of file_exists failed\n(on key_file).\n\nSigned-off-by: László Várady <laszlo.varady@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/9e3eae23330442c9e58ae5ccc732457f2d0e694e"},{"sha":"3eef78b6ac8016d3eb33b36bd98419d5b086767f","author":{"name":"László Várady","email":"35d74ef41ec877cc6f9aa491e06ffc0cd8234b93@balabit.com"},"message":"tlscontext: rename file_exists() to is_file_accessible()\n\nSigned-off-by: László Várady <laszlo.varady@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/3eef78b6ac8016d3eb33b36bd98419d5b086767f"},{"sha":"e77db1a8118a6ae058973ce38924d17d8df6a73f","author":{"name":"Vivek Raj","email":"64c298169555054fb9bbee2f68fc7df07705254e@gmail.com"},"message":"compat: added g_list_free_full for glib<=2.26","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/e77db1a8118a6ae058973ce38924d17d8df6a73f"},{"sha":"6108e4783ce4bcd012f1f6205f76de6a6b518a81","author":{"name":"Budai Laszlo","email":"4fc05848b45c2f4d99dd8f90cc81a7f3b06fdcb3@balabit.com"},"message":"Merge pull request #1917 from MrAnno/tls-error-impr\n\nFix TLS-based destinations in case of a missing client key/cert","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/6108e4783ce4bcd012f1f6205f76de6a6b518a81"},{"sha":"3752666eda6e5c9dd59f3d9e01856fd1ffbad9c6","author":{"name":"Andras Mitzki","email":"863adc861ee4f3d793697daa70506731835c0947@balabit.com"},"message":"Dbld/Jessie: Update package list for Debian Jessie\n\n * Without this we can not generate proper *.deb packages\nfor Jessie\n\nSigned-off-by: Andras Mitzki <andras.mitzki@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/3752666eda6e5c9dd59f3d9e01856fd1ffbad9c6"},{"sha":"0e22ec509c1d1543907464c5f420f321cac6fdc8","author":{"name":"Andras Mitzki","email":"863adc861ee4f3d793697daa70506731835c0947@balabit.com"},"message":"Dbld/debchange: display \"snapshot\" instead of \"-1\" in package name\n\n\nSigned-off-by: Andras Mitzki <andras.mitzki@balabit.com>","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/0e22ec509c1d1543907464c5f420f321cac6fdc8"},{"sha":"e485f70b86d12c30930d7bebc2e0c2411aeb33b8","author":{"name":"László Szemere","email":"3c543b882edff7c7fc89bd125e0e9652eb230f51@balabit.com"},"message":"Merge pull request #1918 from mitzkia/dbld_jessie_package_updates\n\nDbld: Update package list for Debian Jessie","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/e485f70b86d12c30930d7bebc2e0c2411aeb33b8"},{"sha":"b656cde45cab6831810c20f49cbf730b4c768eb1","author":{"name":"Gábor Nagy","email":"05e33d54c99d92d4c9df23a4e320c5479c61fa6c@balabit.com"},"message":"Merge pull request #1897 from definit3/f/g_list_free_full\n\nAdded g_list_free_full in lib/compat/glib & configure.ac","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/b656cde45cab6831810c20f49cbf730b4c768eb1"},{"sha":"42633df8a5e5778889e7117c6cb1c0a29e62c222","author":{"name":"Budai Laszlo","email":"4fc05848b45c2f4d99dd8f90cc81a7f3b06fdcb3@balabit.com"},"message":"Merge pull request #1856 from balabit/if-elif-else-in-grammar\n\nadd conditionals into the config syntax","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/42633df8a5e5778889e7117c6cb1c0a29e62c222"},{"sha":"970da150fbf54e6a34835507ca8053367b0c2250","author":{"name":"SZALAY Attila","email":"1c4ed034f4401604f557facbe9cfd582e54c37cb@ubainba.hu"},"message":"Make the data type explicit in transport mock\n\nPreviously there were a heuristic in that object\nwhich tried to detect if the data is a string or an\nerror code. But this heuristic was failing in GNU Hurd.\nWith this patch the heuristic is replaced with a\ntype field in a structure.","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/970da150fbf54e6a34835507ca8053367b0c2250"},{"sha":"a9f3d6747dc802c94e054bc801a079075fb2e742","author":{"name":"Kókai Péter","email":"b4b612203ce3ba8eb97db4623dfac85cb34dce01@balabit.com"},"message":"Merge pull request #1914 from mochrul/hurd_compile_fix\n\nMake the data type explicit in transport mock","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/a9f3d6747dc802c94e054bc801a079075fb2e742"},{"sha":"462eebb38af71412a05272b39945798b96b23041","author":{"name":"Gábor Nagy","email":"05e33d54c99d92d4c9df23a4e320c5479c61fa6c@balabit.com"},"message":"Merge pull request #1899 from balabit/remove-posix-re-support\n\nlogmatcher: remove POSIX regexp support","distinct":false,"url":"https://api.github.com/repos/ketankr9/syslog-ng/commits/462eebb38af71412a05272b39945798b96b23041"}]}
{"actor":{"display_login":"ketankr9"}}