summaryrefslogtreecommitdiffstats
path: root/recipes-devtools
Commit message (Collapse)AuthorAgeFilesLines
* yq_git: add back apply=no for SRC_URI diffChen Qi2025-05-191-1/+1
| | | | | | | | | | | This apply=no was dropped during last upgrade. This causes do_patch error when using git shallow tarball. The original patch that added apply=no is: https://lists.yoctoproject.org/g/meta-virtualization/message/8804 Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: drop uneeded do_compile_prependPeter Kjellerstedt2025-04-201-15/+1
| | | | | | | | remove the do_compile:prepend(). It is not needed and removing it allows yq to be built after devtooling it. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: Correct the version (4.45.1+)Peter Kjellerstedt2025-04-201-4/+4
| | | | | | | | | The current version of yq is actually based on 4.45.1. Also remove ${SRCREV_yq} from PV to allow `devtool modify yq` to work. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* notary: drop recipeBruce Ashfield2025-04-181-41/+0
| | | | | | | Notary has had the depreciated warning for quite some time, dropping the recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* devtools: update to latestBruce Ashfield2025-04-1712-151/+23
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* gunicorn: update to 23.0.0Bruce Ashfield2025-04-171-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As well as the update, we move away from pure setuptools to pyproject.toml and the meta backend. Bumping gunicorn to version 23.0.0-13-ga86ea1e4, which comprises the following commits: 411986d6 fix doc 9357b28d keep document user in access_log_format setting 79fdef08 bump to 23.0.0 256d474a docs: revert duped directive ffa48b58 test: default change was intentional 52538ca9 docs: recommend SCRIPT_NAME=/subfolder 687b78d2 config defaults: PATH_NAME and ::1 for proxy 5bbf373e undocumented allow-all for forwarder-headers 3e042e82 Configurable list of forwarder headers 01bcdb1d Exempt SCRIPT_NAME from newly introduced --header-map treatment 2bc931e7 whitespace handling in header field values ce039ca7 Swap error/debug severity 6c3296e1 update docs e3562c94 doc: news for 2024 6245e2c0 docs: unresolved reference (the reference is not named after the class name) 2a3dfdd2 CI: verify docs up to date 2c38b036 Update design.rst 555d2fa2 don't tolerate wrong te headers 5e39f886 Update tornadoapp.py cabc6662 chunked encoding: example invalid requests a3d130ae gracefully handle chunked encoding missing size 70a1e437 forbid lone CR/LF and NUL in headers (docs) 7c3e9c9c docs: clarify Makefile is generated 2669016a docs: https-capable sphinx homepage entry point 4b48ebe8 no docs/build in sdist 9ca4f1fd refuse empty request-target in HTTP request eda9d456 forbid lone CR/LF and NUL in headers e3fa50d1 update docs 0f200191 Document server hooks in a custom application 8fe034ef CI: run entry point tests without deps, run lint without package build steps 9949e34e CI: also try Python 3.13 (at this time beta 1) 3d006963 CI: revert macos-14 for Github runners 97f87ec1 Fix InvalidHTTPVersion exception str method 4f776658 Python 3.3+: replace deprecated aliases ec85b32d Pythn 2.7+: open arg defaults to r 78ef73b6 Python3: super() args not typically needed 422b18ac class Name(object): -> class Name: 4323027b drop long-default - coding: utf-8 5b68c17b fix license year f63d59e4 bump to 22.0 0243ec39 fix(deps): exclude eventlet 0.36.0 628a0bcb chore: fix typos 1954fb63 update example_config with latest settings 08364f03 Issue #3079, add unit test deae2fc4 CI: back off the agressive timeout f4703824 docs: promise 3.12 compat 5e30bfa6 add changelog to project.urls (updated for PEP621) 481c3f95 remove setup.cfg - overridden by pyproject.toml 89dcc5c5 CI: stop testing EoL PyPy 184e36f9 skip eventlet, not yet supported on python 3.12 b39c5b7e CI: style 0bb96d17 CI: tests may hang on PyPy 660fd8d8 Fix references to non-existent 20.2 version in configuration settings e0c3390f Typo and email in Security.md e710393d HTTP parser: stricter chunk-ext OBS handling b6c7414f briefly document security fixes in 2023 news 7ebe442d strict HTTP version validation f5501111 strict HTTP header field name validation fd67112f Ignore secure_scheme_headers in Trailer section ac29c9b0 fail-safe on unsupported request framing 0b10cbab unconditionally log request error 72b8970d silently drop or refuse header names w/ underscore b2846783 strict: header field validation: stop casefolding 42dd4190 test: verify TOKEN_RE against common HTTP Methods 13027ef7 Create SECURITY.md f0c91cca Check SCRIPT_NAME is at the request path's beginning 72238fcf RFC compliant request line and header parsing 735e9e86 Disallow empty header names. 2dbe49de RFC compliant header field+chunk validation 559caf92 pytest: raise on malformed test fixtures 611746ed CI: check entry points c3396b97 github actions: cache and test run_module (-m) 40232284 let's exception not bubble ensure we can catch correctly exceptions based on BaseException. 7acd83bf pyproject.toml: fix license-files field 0dd6b635 Use `utime` instead of `fchmod` in WorkerTmp.notify 237f3e6f Remove Python2 note a265b9cf news.rst: fix minor typo 4ce82358 Add Python 3.12 to test matrix and add classifiers afe06802 Document Python 3.7 requirement ca2ce2c7 Fix for issue #3079, worker_class parameter accepts a class 7d69222b Bump actions/checkout from 3 to 4 fdd23e82 migrate to pyproject.toml 7033f27e remove exclusion of tests and examples dir 760e8642 migrate to setup.cfg ab9c8301 bump to 21.2.0 bc905859 revert change considering connection as idle 4e12ebe3 bump to 21.1.0 60b78e3d fix setup.cfg: use new license_files property 86d85cb3 fix gthread worker 547f8561 bump 21.0.1: fix doc 033dca60 fix doc path to conf.py in readthedocs.yaml 1dd24e6e fix .readthedocs.yaml path b6eb01ba add readthedocs.yaml 543628eb remove pypy-3.7 from tests 91cb3dc6 Revert "remove cryptography from requirements" 471a6f80 remove cryptography from requirements f628dd97 fix import error cac38b42 bump doc version 0304f006 add minitimal changelog f72acb6c add missing depedency for eventlet tests 1ff10ff9 remove useless dep 378f0d04 bump to 21.0.0 2f17eb50 Add a Dependabot config to keep GitHub action versions updated fa94f705 Updating Content-Length Handling dd0aebfc add to THANKS :) cc15967c tox.ini deps 48d670f0 update pylint version, and fix linter issues 7f480daf replace pkg_resources.load_entry_point 858b743d remove double finally 6d4faab6 Log access even when connection is closed d8c3b149 Deprecate ssl_version option 2b98f5e7 Fix username parsing for basic auth ed9729a8 add missing double quote 0b5c4aea Fix LogRecord pre-formatting, closes #2801 a7ead983 fix basic auth logging f19e31fe utils.py: fix code reference e7781d2c gthread: consider intial connectino as idle 98653df9 Update setup.py b8d6b1e9 Add myself to THANKS 72faa11e Replace pkg_resources.parse_version with packaging.version.parse d04ddfd1 Docs: add link to configuration file 4d532c96 Update THANKS 2ea4699f Fixing errors reported by pycodestyle f5d73aa7 GA workflows cleanup Working Matrix for both lint/tox Fixing tox v4 issues Adjust pylint to working version 30baeebf Revert "get address from tuple" 48eda22a Update tox.yml 0b2c6fd9 bump uses 0ebb73aa gthread: only read sockets when they are readable 2f9eb19b prepare for release 1efc5d91 irc is on libera 61d643f9 add myself to THANKS file a41ee75c update irc channel docs 008d81d0 Update setup.py b42af98e Add contributor 6766c086 Fix HTTP status code for Request Header Fields Too Large 91fee380 Remove Travis CI configuration 137b77d3 build: harden lint.yml permissions 4cf30b79 build: harden tox.yml permissions 9f159f7c docs: Add section for Gthread workers c9d01c80 get address from tuple 69bf1d0c remove changes by isort and lint 4dff334f fix LevelLog in Arbiter.run() 7ef281fa readme: IRC channel has moved to libera.chat 1754d33e Add Python 3.10 classifier f186fa3a Make loggers function atomic 7d8f68c1 Solving issue #2692 ac8bc3a4 Regenerated rst docs cc3238c6 Prevent unnecessary setuid call 99447b08 Fix typo in deploy.rst 362a52bd Added parameter to ssl_context hook for constructing default context 71d6388f Replaced Travis CI badge with 2x gh actions badges for test and lint 19fb762b Split main tox test build and linters into two workflows. 80a62afc Updated THANKS. eaebf6d7 Revert the xfail for Python 3.10 1feb7c59 Revert the xfail for Python 3.10 f587bfaf GitHub Action to run tox a16b8975 GitHub Action to run tox 230cd034 Updated THANKS. 0b6939de Undo changes that make -R branch logic behave the same as non -R branch, that is, to close(0) and open /dev/null as fd=0 instead of fd=3. e9c4f744 Revert "Refactoring: common stdin </dev/null." eedc3a38 Refactoring: common stdin </dev/null. 835a4fc4 Ensure fd 0 stdin </dev/null is always inheritable. e5a97150 fix chdir documentation typo (#2656) cf3619f8 Fix typos 76f8da24 Revert "Log a warning when a worker was terminated due to a signal" c30b0d9d Fix problem that may happen after interrupted chunk-encoding request f639128b Fix sendfile behaviour for open files with non-zero offset. 141a8f3d docs: gthread is a sync worker e3b0b1f9 integral? that took me a while to figure out 3a6649a9 Fix link 5a581c0b Update SSLContext handling df82cac7 fix: gunicorn run tornado app failed 0215f5dc docs: add examples for cert-reqs 45687c35 Replace deprecated unittest alias daacf39c Improve access-log-format documentation section 7d50d61f Fix calling condition for Arbiter.log.reopen_files() 90ef9a6a Add nginx documentation for proxy_ignore_client_abort 6a8ebb48 eventlet worker: ALREADY_HANDLED -> WSGI_LOCAL 927c604f Set daemon attribute instead of using setDaemon method that was deprecated in Python 3.10 cf55d2ce bump version 917ebcdd Fixes #1695 b83448bf Clarify the secure scheme behaviour, with examples (#2492) fb05e333 Fix a naming error for gthread worker 3b8ce3df Added a line to the documentation to further explain the use of logconfig_dict 01f5d4dd Remove 2020 unreleased changelog 1cfb59ca Fix changelog lint 6fbe6a11 Clarify grammar in FAQ about worker restarts 426fe70a link to 2021 61ccfd6c bump to 20.1.0 540b7100 Use warning level for 'Bad request' logs d1f0f11b fix inline code syntax in news f87882e4 add an empty line in news.rst 7a79808d update changeslog 6fd97b95 Document that WEB_CONCURRENCY is set by, at least, Heroku dad99a1b Update gunicorn_ext.py 32734928 Improve settings documentation a4407abf Default to Python 3 version of gunicorn in Stretch 00e73b7e Update Debian and Ubuntu distribution information 28a4c1b2 Typo fixed in the AsyncIO docs d7ff6053 Add Python 3.9 to PyPI classifiers 2ad21734 Enable Python 3.8 and Python 3.9 testing in AppVeyor f376da2e Test on Python 3.9 37994e14 Remove the --log-config-dict flag 3573fd38 Capture peer name from accept b695b497 Log a warning when a worker was terminated due to a signal d8a12560 Document that gthread also uses worker_connections da3b89b7 The signature of __init__ on the "fall through" InotifyReloader was missing the extra_files paramater, so specifying the inotify reload engine on the command line when one did not have inotify installed would, instead of a nice message about needed inotify installed would result in the following traceback: 548d5828 Remove reference to gunicorn/six.py in tox.ini (#2427) 5175471f be more explicit in the description of USR2 flow. 1d6f9029 Disable pylint raise-missing-from ca36d410 Fix format call 28df9926 Add additional logs when worker exits abnormally 83319f75 fix: repair django wsgi running error b3f9815a fix: don't enforce the content length f2d8b6d1 Split long line b80a3293 Correction on default value for config file (#2408) d81c6cef Warn in the case of bad systemd configuration 2a16fcd3 Test and defend against the specific case where the statsd hostname is 'unix' 15abac7e Allow specifying a UDS socket address through --statsd-host 7e16d130 Port websocket examples to Python 3 (#2371) e60a5591 Add project_urls and update to https 4b9afb47 Probably a typo 17e70dac ✨ Add support for python -m gunicorn 0d28529c Fixed two bugs related to gevent + gunicorn + statsd. 6aab4dec Add additional missing docs d4339979 Update desc for Timeout 4ababc36 Correct systemd socket activation example 57a9e2eb Specify wsgi_app in config #1359. 79fc9a3b Log abnormal arbiter shutdown at error level ee1e5c19 Log abnormal worker exit codes 4ae2a05c Disable keepalive during graceful shutdown ebb41da4 Make force close on max requests consistent 8c5613b1 Revert "Exit async keepalive request loop when self.alive is False" 78960570 Exit keepalive request loop when self.alive is False 57b8cdff Document --timeout 0 3bf93193 Update gthread.py f626830c Fix simple typo: convertable -> convertible f8b1e84d Do not raise and crash worker on ENOTCONN error f145e90e Set `max_accept` on `gevent` worker-class to 1 when workers > 1 f39b065d Validate directory before watching it with inotify 27d1e988 Fix issues #2133 and #2244 93bcf5a4 Replace and run the sitemap generator 83b78e09 Document the default name and path for the configuration file a648f8a8 Document how environment variables impact configuration c82996f7 Add documentation for the $PORT environment variable d3070459 Add milliseconds option to request_time in access_log (#2218) 287916a5 Remove dead code: find_library and _findWalk_ldpath 9219da52 Updated setup Development Status metadata to 5 - Production/Stable (was 4 - Beta). c1bea68f Added a set of pip requirements files to cover the examples in examples/frameworks. f74f926f remove trailing new line dcfd0f04 fix SERVER_SOFTWARE property 2f944c9b remove version from the Server header 2d40e6da Use socket.sendfile() instead of os.sendfile(). 2ec7493b Updated requires Python to >= 3.5. 7cce20e9 Don't build universal wheel, since Python 2 support has been removed. e5310d15 add os.path.abspath() in dirname generation of the reloader cfc93ad7 Update FAQ - Workers Silently Killed. 5a57d595 Fix sample command syntax highlighting in run.rst 4ef01b1c Bumped py3 min version in setup.py to 3.5 (was 3.4). 9c147f66 Added Brett Randall to MAINTAINERS. ed901637 Enable pycodestyle ff1dbfec update site with the new version 00b58979 Update faq.rst c5a254ad Update faq.rst 5858f815 Update faq.rst 9545e01d Update faq.rst 74cf2ce0 Update faq.rst and fix technical mistake on ulimit b014fa78 Various code improvements contributed by dilyanpalauzov. d1f6a778 Code style 5803f835 Added a possibility of logging the metrics to a Unix domain socket instead of UDP 000236aa Docs. 93d2687d f-strings only date back to Py3.6 13c5d72b Add --print-config option to print the resolved settings at startup. 2a0433e7 Update gunicorn/workers/workertmp.py 54d35d73 Fix #1965: About gunicorn [CRITICAL] Worker Timeout d20a26a3 updated styling e98f6a03 added capability to take JSON as log's config Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: update to v4.30.8Bruce Ashfield2025-04-161-45/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We also drop the -dev package avoidance of bash dependency as many more vendor'd packages now require it. Bumping yq to version 1.13.1-1767-gde2f77b4, which comprises the following commits: 8bf425b4 Bumping version f755755b Updated release notes 0f390b27 Bumping goccy 31ad7fba Bump github.com/magiconair/properties from 1.8.7 to 1.8.9 566cf82d Bump github.com/goccy/go-json from 0.10.3 to 0.10.4 2c9f8331 Bump github.com/elliotchance/orderedmap from 1.7.0 to 1.7.1 c02d44de Bump golang.org/x/net from 0.32.0 to 0.33.0 f73c862c feat: Create parent directories if --split-exp is used. 294a1709 Bumping version 342efb23 Fixed panic on multipling string by very large number #2211 22013812 Fixed multiply string by negative number panic #2211 52737154 Fixed panic error #2211 e204677f Fixed no-colors regression #2218 f7681595 Create docker image for armv7 / raspberry pi3 c16b1800 Make sure to update the key when deleting array elements 3bca3a23 Bump github.com/elliotchance/orderedmap from 1.6.0 to 1.7.0 70bef5b9 Bump golang.org/x/net from 0.31.0 to 0.32.0 ea2ba18e Bump golang from 1.23.3 to 1.23.4 80310eaa Removing temp docker fix 83911937 Temp fix docker version d858ab16 Removing riscv64 from docker build as its not supported by the base golang:1.23.2 image f1c7e5ca Updated release notes bc5b54cb Bumping version 129e5973 Fixing release pipeline 42db154e Bumping version f06c7c6b Updating release notes b710fadf Regenerating go mod 58cc9db7 Updated release notes 4af292f0 Fixed handling of nulls with sort_by expressions #2164 f238f018 Bump github.com/fatih/color from 1.17.0 to 1.18.0 58a4d240 Bump golang.org/x/net from 0.30.0 to 0.31.0 887b4a56 Fixed linting f2cc2ea5 Bump golang from 1.23.2 to 1.23.3 95e7b35f Fixed spelling of coloured f071a25f cmd: force no color output when NO_COLOR env presents b8607bac Prefer not having nolint 6908161f replace error creation f168172b remove unused variable parameters from functions 3ce266bf fix parameter order in error type comparison 7eef1a45 exclude lint errors to keep cobra params unchanged 072491c6 remove lint exception no longer required 18972b29 replace deprecated megacheck with specific linters 9d60c796 update golangci-lint to the last version 9caeb429 Format comments with a gray foreground 39a81da1 Bump golang.org/x/net from 0.29.0 to 0.30.0 b84e23e1 Bump golang from 1.23.1 to 1.23.2 f654fbf4 Fixed array subtraction update bug #2159 5df71072 Fixed index out of range error cc7738bb Bump golang.org/x/net from 0.28.0 to 0.29.0 302ce129 Bump golang from 1.23.0 to 1.23.1 f57de74c Bump github.com/pelletier/go-toml/v2 from 2.2.2 to 2.2.3 383cd0f1 Bump golang from 1.22.5 to 1.23.0 3727b3e6 Fixed unecessary int64 to int conversion c477fc08 Updated readme to include x-cmd 18460060 Can traverse straight from parent operator (parent.blah) dff01224 Regen kind docs 42b92aff Added pick including all keys example c76e432d Bump golang.org/x/net from 0.27.0 to 0.28.0 19e2591b Only use podman if CLI can execute. Use docker if non-Linux podman has no connection to Linux system. 6eb2ae75 Create kind.md header doc 82fca30e Fix cspell errors c46c1a71 build: use goreleaser for building cross-compiled binaries and add riscv64 target (#2135) bbdd9748 Bumping version 99406687 Preparing release 95aaccee Add Flox to installation methods (#2117) b9c3ff6f convert file ext to lowercase for format detection (#2121) b80e1cb3 Use static bin in snap (#2090) 0ff84152 Bump golang.org/x/net from 0.26.0 to 0.27.0 (#2099) e8dcf3f1 Bump github.com/goccy/go-yaml from 1.11.3 to 1.12.0 (#2108) 208302cf Bump golang from 1.22.4 to 1.22.5 (#2091) ef6fb92e Log printing follow no-colors flag #2082 28646c7b Skip and warn when interpolating strings and theres a unclosed bracket #2083 0b7d4b79 Fixed CSV content starting with # issue #2076 7e172251 Bump github.com/spf13/cobra from 1.8.0 to 1.8.1 (#2075) f15500b2 Bumping version b8aec71e Preparing release 68aafb6a Handle numbers with underscores #2039 d58870b0 Adding splat[] short hand to explode,collect,flatten,groupby,path,pivot,select and more f1964dec Adding splat[] short hand to collect,eval,map,omit,path,pick 45eda8db Added support for shorthand splat[] for filter,reverse,sort,shuffle d9af2dd9 Support env[] expression #2071 7bad2f4f Adding back in commented tests :facepalm 3ea19ad2 clean code 42120e13 Unique now works on maps and arrays #2068 1147113f Bump github.com/goccy/go-json from 0.10.2 to 0.10.3 (#2046) 2edfa834 Bump github.com/elliotchance/orderedmap from 1.5.1 to 1.6.0 (#2053) 8c7cfb72 Bump golang.org/x/net from 0.25.0 to 0.26.0 (#2061) 356c60f4 Bump golang from 1.22.3 to 1.22.4 (#2062) 4cc646b1 Bump github.com/fatih/color from 1.16.0 to 1.17.0 (#2043) 2e44ab45 Bump golang.org/x/net from 0.24.0 to 0.25.0 (#2035) 557dcb87 Bumping version 2daa39e3 Updating release notes 0c15cf35 Added properties convert to numbers example #2023 d9adcdb6 Update instructions for Alpine Linux (#2034) 9010809d Bump github.com/pelletier/go-toml/v2 from 2.2.1 to 2.2.2 (#2024) 8250f0c2 Bump golang.org/x/text from 0.14.0 to 0.15.0 (#2036) 8ac9f605 Bump golang from 1.22.2 to 1.22.3 (#2037) 17481714 Bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1 (#2014) 21ba506e Fix: shell-completion (#2006) b54d7eb2 handle escaped backslashes (#1997) db6f2dc6 Bump golang from 1.22.1 to 1.22.2 (#1998) 1411f450 Bump golang.org/x/net from 0.22.0 to 0.24.0 (#2008) c7baa8bc Fix: linux (w/ selinux) build (#2004) a4b9c304 Removed unused debian directory #2000 fe84f622 Docs 28c40670 Fixes npe when given filename ending with "." #1994 101cf14b min/max operators (#1992) 3283c65d pivot operator (#1993) 2ee7508b typos 2ecd8b60 updated contribe guide 021d5f05 Fixing omit docs 19a0e6dd Bumping version fbd4c842 Remove old JSON warning d9ef03a2 Bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0 (#1986) f5bfe5a2 omit operator (#1989) 3b85cef3 support string X int multiplication as jq (#1988) 76a0da39 Refactoring load op 2b2c2854 Adding release notes 8a07e3da Can specify parent levels #1970 9e9cb65e Fixed CSV line break issue #1974 29056ee8 Bump golang from 1.22.0 to 1.22.1 (#1968) 8f4e9718 Bump golang.org/x/net from 0.21.0 to 0.22.0 (#1969) b4463e29 Adding a EvaluateAll function to StringEvaluator #1966 93ed6660 yqlib, default to colors off when using yaml library #1964 b5e3a014 Added comment to goccy decoder, its will WIP b6ea54ba Updating release notes e092329b String interpolation! #1149 152b1584 Uncomment tests - oops 72a78472 Added tostring #72 706424a4 Improving column docs 9adde1ac Bumping version ef24680e Updating release notes 447bf28c Introduced 'format' to encapsulate encoding and decoding formats together 8f6d6420 Refactoring encoding configuration 1d371b71 Refactoring encoding configuration 55f6a3a4 Refactoring JSON encoder prefs 7a01e216 Refactoring Yaml encoder prefs f44d47a2 Refactoring Props encoder prefs 2866e90c Refactoring XML encoder prefs 571caa69 Refactoring Output types 8a538394 Updating release notes 3b84aaab Updating release notes 311c9afe Bump github.com/alecthomas/repr from 0.3.0 to 0.4.0 (#1953) abef92d7 Added prune recipe 9f3822fb Improving property docs b24b484e Added --properties-array-brackets flag for properties encoder #1933 2865022c Add --properties-separator option (#1951) 9a8151d3 Added csv separator flag #1950 42439b7d Adding shebang documentation 796b4a09 Adding shebang documentation 86bb90f9 Can shebang yq scripts! #1851 04769454 Bumping version 3c3f1180 Cleaning up log message formats 9142c93d Improved log format d9e1a789 Fixed Toml decoding when table array defined before parent #1922 c32a9cea Added new CSV option to turn off auto-parsing #1947 e81b6007 Fixing with_entries context #1925 8cde0c83 Can now retrieve the alias names of merge anchors #1942 b55f52f3 Improve merge docs 1d06d8b4 Another comment example 2871fa05 Release notes for next release 2dda0a20 Comments in yq expressions! #1919 24bd5636 Updating style docs bf2bc29e Dont run release build on v4 branch 7781edda Updating release notes c9722c22 Re-releasing for latest dependency updates bb66c9c8 Bumping version 279d9a69 Bump golang.org/x/net from 0.20.0 to 0.21.0 (#1940) 1b17de13 Bump golang from 1.21.6 to 1.22.0 (#1939) e1904627 Bumping version 5513ac8a Empty TOML table is an empty object d4e16a41 fix: empty TOML table (#1936) 6e21c9f7 Need to escape single quotes in bash, updated docs #1932 2473068a Attempt to use the latest snapcraft build 61833501 Bump github.com/goccy/go-yaml from 1.11.2 to 1.11.3 (#1930) 33a3bb3b Bump golang from 1.21.5 to 1.21.6 (#1915) c06e1604 Bump golang.org/x/net from 0.19.0 to 0.20.0 (#1916) 010750da Updated to latest golint 8af3e46f Fixed bump version to move v4 tag 84890ae3 Add arg and flag completions a69c1b52 Generate v2 bash completions aaef2714 Bump github.com/pelletier/go-toml/v2 from 2.1.0 to 2.1.1 (#1904) 16bab889 Bump github/codeql-action from 2 to 3 (#1903) dea8f956 Fixed "all" error message #1845 eb427878 Added another new recipe cbd03f8a Added new recipe 4cf123fe Fixed to_entries[] eff7d99e Added sample yq script dd648994 Bumping version 755becdd Release notes 7f26d91c Fixed handling of --- #1890, #1896 fa322aec Bump golang from 1.21.4 to 1.21.5 (#1895) c7b14eac Bump actions/setup-go from 4 to 5 (#1894) 2fd1537b Bump github.com/alecthomas/participle/v2 from 2.1.0 to 2.1.1 (#1893) 1db4b52c Bump github.com/yuin/gopher-lua from 1.1.0 to 1.1.1 (#1892) d474bb8b Fixing sef fault on bad XML #1888 1c3d5510 Bumping version d16b6fbb Release notes 54a6978e Release notes a988cd90 Updating JSON doc: NDJSON spec deprecated, prefer JSON Lines 779b2631 Updating references to yq being a YAML processor 638deed0 Bump golang.org/x/net from 0.18.0 to 0.19.0 (#1887) 730f240d Fixed to_entries and del bug #1886 c11a5332 Bumping version 430a6d52 Release notes eecc1065 Update JSON to YAML example for new JSON input output default (#1875) 998b4edb Grammar fixes (#1877) 26effddb Fixed empty array json bug #1880 1cf9ecc7 Bumping version 8024470b Updating release notes e5cc57be Do not panic when StdIn is closed (#1867) 3d64bdad Fixes issue when update against self #1869 4b8c8506 Updating release notes f789740f Bump github.com/elliotchance/orderedmap from 1.5.0 to 1.5.1 (#1854) 0523c9df Bump golang.org/x/net from 0.17.0 to 0.18.0 (#1856) c7ef9460 Fixed multi doc anchor bug #1861 79a50b9c Fixes dos line separator issue when reading expression file #1860 b75dc078 Bump github.com/fatih/color from 1.15.0 to 1.16.0 (#1857) fc940689 Bump github.com/spf13/cobra from 1.7.0 to 1.8.0 (#1858) 7892d38f Bump golang from 1.21.3 to 1.21.4 (#1859) 5f4c1fbd Bumping version 8122c9ed Release notes d6e099f7 Formatting bbe196ba feat: upgrade go.mod to 1.21 (#1830) a60d2797 add tests for root node unwrap bug in previous versions (#1837) c8f4ba7f Removing copier lib 13d1bbb4 Generic ast (#1829) 74304194 fix: Missing dependencies to build application (#1825) 5ac95e54 Bump golang from 1.21.1 to 1.21.3 (#1823) aaa81ac4 Bump golang.org/x/net from 0.15.0 to 0.17.0 (#1822) 7c78a15b Lua output fixes (#1811) 610896e5 Bump github.com/alecthomas/repr from 0.2.0 to 0.3.0 (#1813) d113344a Added tonumber support #71 6e65d44a Can build yq with no lua 5fa41624 Add support for Lua input (#1810) ee900ec9 Added kind operator a198f723 Bumping version 9f355b93 Release notes 0cf3adf5 Adding another xml test; spelling fixes 05ad1dad Fix typos (#1798) c750f1a4 Bump github.com/goccy/go-yaml from 1.11.1 to 1.11.2 (#1794) cdb9b560 Spellig with cspell 980b0e6d Bump golang.org/x/net from 0.14.0 to 0.15.0 (#1775) 0667500b Bump docker/setup-qemu-action from 2 to 3 (#1785) fa8cfd04 Bump docker/setup-buildx-action from 2 to 3 (#1786) 974ded5a Bump github.com/alecthomas/participle/v2 from 2.0.0 to 2.1.0 (#1787) e126344c Bump github.com/goccy/go-yaml from 1.11.0 to 1.11.1 (#1788) e09779e0 Fixed number parsing as float bug in JSON #1756 0a0182da Bump actions/checkout from 3 to 4 (#1776) 594a0be8 Bump golang.org/x/text from 0.12.0 to 0.13.0 (#1774) 95f61c6f Bump golang from 1.21.0 to 1.21.1 (#1773) de55fb39 Bump github.com/pelletier/go-toml/v2 from 2.0.9 to 2.1.0 (#1768) 62b25b1b Added recipes documentation c6648044 Added recipes documentation cda69bff Adding recipes e5564c18 Another xml example 55c0d485 Fixed string, null concact consistency #1712 71f95ab8 Fixed .a!= parsing issue #1711 1e84d7ef Bump github.com/jinzhu/copier from 0.3.5 to 0.4.0 (#1763) d18a5e3a Fixed new linting issue CWE-118 596dda8c improve community supported installation options for Windows (#1761) 6609ed76 Bumping version 44c7f3ae Preparing release notes aaf805d8 Added checksum in bsd format ba1d5c1a Bump golang.org/x/net from 0.13.0 to 0.14.0 (#1751) 1c4f92ec Bump golang.org/x/text from 0.11.0 to 0.12.0 (#1752) 804b204f Bump golang from 1.20.7 to 1.21.0 (#1753) d302d75c Implement basic Lua output support (#1745) 9b408291 Bump golang from 1.20.6 to 1.20.7 (#1749) 1d611f04 Bump golang.org/x/net from 0.12.0 to 0.13.0 (#1750) 1dee08aa Bump github.com/pelletier/go-toml/v2 from 2.0.8 to 2.0.9 (#1732) a68be7de Bump golang from 1.20.5 to 1.20.6 (#1725) 0b34c9a0 Bumping version 9cb09182 Release notes dde18338 Bump golang.org/x/net from 0.11.0 to 0.12.0 (#1719) b762da38 Bump golang.org/x/net from 0.10.0 to 0.11.0 (#1695) cb521fd0 Bump golang from 1.20.4 to 1.20.5 (#1690) 22ad68d1 Bump golang.org/x/text from 0.9.0 to 0.10.0 (#1696) 845d4ae3 Bump github.com/pelletier/go-toml/v2 from 2.0.7 to 2.0.8 (#1673) fcc04823 Added docs on base64 only working with utf8 content 5950329e Added docs on yes/no being strings in yaml spec 1.2 5ef537f3 Bumping version f7fc4edc Preparing release notes af177f96 Bump golang.org/x/net from 0.9.0 to 0.10.0 (#1667) 4d50b001 Added test for null array json example d14eaa9b fix: runtime error: invalid memory address or nil pointer dereference (#1649) 91f47ff3 Bump golang from 1.20.3 to 1.20.4 (#1658) 80b42b81 Implement shell output format (#1645) bbe30550 Bump golang.org/x/net from 0.8.0 to 0.9.0 (#1638) d2f1ae9d Bumping version 3aa4c833 Release notes 385921a3 Fixed passing of readonly context in pipe 9d3c4029 Bump golang from 1.20.2 to 1.20.3 (#1628) cb907647 Bump github.com/spf13/cobra from 1.6.1 to 1.7.0 (#1629) a7934680 Bump github.com/goccy/go-yaml from 1.10.1 to 1.11.0 (#1630) f58b1e52 Update README command for converting JSON to YAML (#1627) eba07529 Added scalar output for TOML (#1617) a389bb64 Fixed bug when splatting empty array #1613 496035c7 toml docs d00ffd9c Updating release notes d5bbe5be Bumping version 6a527604 Bump github.com/pelletier/go-toml/v2 from 2.0.6 to 2.0.7 (#1623) 1fa88041 Bump github.com/alecthomas/participle/v2 from 2.0.0-beta.5 to 2.0.0 (#1624) 4cbede61 Bump github.com/goccy/go-yaml from 1.10.0 to 1.10.1 (#1625) 5fd2890d Add ``--nul-output|-0`` flag to separate element with NUL character (#1550) 311622d1 Add removable-media interface plug declaration to the snap packaging(#1618) (#1619) 8d516ce5 Handle scalars in csv, xml files 1b0a62d0 Handle scalars in property files ac5346b1 Release notes ebd1548e Bumping version aebdbb41 Added warning for auto-input json files 7103b78d Draft: Toml (#1439) 47f4ddc9 Bump github.com/goccy/go-json from 0.10.1 to 0.10.2 (#1614) 4ee4b09e Bumping version df5737ab Updating release notes 48b481b6 Unknown file type should default to yaml, Fixes #1609 7305b50f Fixed release notes - toml not released yet 875cfdc9 Bumping version 95aafdd8 Fixed modulo docs fdce8fce Added docs d8324dee Release notes dccba109 added another base64 test 69d3e3f3 Add support for decoding base64 strings without padding (#1604) 99b2ab61 Bump github.com/goccy/go-json from 0.10.0 to 0.10.1 (#1602) cbe84232 Bump actions/setup-go from 3 to 4 (#1601) dd4306b0 Bump github.com/fatih/color from 1.14.1 to 1.15.0 (#1603) ac8ffa28 doc gen fa6fac1a Minor typos (#1595) a6f0495b Stripped debugging info from binary e7f4c6ca Update README.md f2dd2999 Removed debain as a installation method 3404cc0d Removed debain as a installation method 9d2210b1 Removed debain as a installation method a466821e Added divide and modulo operators (#1593) 360a47fd Fixed npe in log #1596 08a6cb65 Auto output format (#1599) 2c14c984 Bump golang from 1.20.1 to 1.20.2 (#1589) eafcc3ba Bump golang.org/x/net from 0.7.0 to 0.8.0 (#1590) 9539877f Add filter operation (#1588) d30941b5 Detect input format based on file name extension (#1582) fed96f67 Bump github.com/goccy/go-yaml from 1.9.8 to 1.10.0 (#1581) 2340ce6a Release notes e5260d85 Release notes 47f4f8c7 Bumping version 2195df9e Fixed xml encoding of ProcInst #1563, improved XML comment handling fdb14875 Preparing release notes 3f1f66a8 Fixed merged anchor reference problem #1482 cf8cfbd8 Allow build without json and xml support (#1556) 62d167c1 Variable loop - Fixes #1566 (#1577) cb27444e Bump golang.org/x/net from 0.1.1-0.20221104162952-702349b0e862 to 0.7.0 (#1576) ce3d8378 Bump github.com/a8m/envsubst from 1.4.1 to 1.4.2 (#1569) 9949a237 v4.31.1 b86fb0ae Bumping version b369de66 Bump golang from 1.20.0 to 1.20.1 (#1557) 75483fe9 Fix github action attempt f4e7203a Fix github action attempt d17fd942 Added shuffle command #1503 a1698b74 Added ability to sort by multiple fields #1541 5cb3c876 bump to go 1.20 0f2a84d2 Bump golang from 1.19.5 to 1.20.0 (#1542) bbb149b3 Bumped linter 18a51ca5 Bump github.com/a8m/envsubst from 1.3.0 to 1.4.1 (#1551) 93b7c999 Use a lazy-quoting @sh encoder (#1548) f64f73a0 Updated gosec 88a6b20b Fixed date comparison with string date #1537 915ab699 Added to_unix operator f9f340b6 Github pipeline not in AU tz :D 75920481 Added from_unix operator #1535 d21bb920 Added shell string encoder (@sh) #1526 d119dbc2 Upgrading golang.org/x/net package (#1540) 7eda4a51 Bump github.com/fatih/color from 1.13.0 to 1.14.1 (#1531) 3b1bcac5 review feed back on URI 6d7d76a3 Adds @uri/@urid #1529 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* metadata: add whitespace around assignmentsMartin Jansa2025-04-031-1/+1
| | | | | | | | | | With: https://lists.openembedded.org/g/bitbake-devel/message/17508 there are many WARNINGs from this layer will cover src_uri.inc files in next commit. Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-cached-property: drop recipeBruce Ashfield2025-01-171-10/+0
| | | | | | | There's a newer recipe in meta-python and there are no longer any references to this in meta-virt. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-cli: use main branchMartin Jansa2024-11-121-1/+1
| | | | | | | * master was renamed to main long time ago Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python: drop python3-docoptBruce Ashfield2024-10-281-2/+0
| | | | | | The meta-python is good enough for our needs. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-colorama: drop recipeBruce Ashfield2024-09-091-14/+0
| | | | | | | We no longer need our own pinned version of this recipe, and it causes us issues with meta-python. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq_git: Set apply=no for SRC_URI diffRobert Yang2024-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | Fixed a do_patch error use git shallow tarball (BB_GIT_SHALLOW = "1"): $ bitbake yp -cpatch ERROR: do_patch: Importing patch 'github.com.pkg.diff' with striplevel '1' The github.com.pkg.diff is ud.clonedir of git://github.com/pkg/diff: * When use regular git repo as source, oe.patch.patch_path() will NOT handle it as a patch since the directory github.com.pkg.diff exists, and nothing is wrong. * When use git shallow tarball, the github.com.pkg.diff doesn't exist since it is fetched as a tarball, then oe.patch.patch_path() will handle it as a patch, then the error happens. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}Bruce Ashfield2024-05-291-5/+8
| | | | | | | | | | | As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this variable in our go recipes. We also symlink our unpacked vendor clones into the build directory since they are no longer directly placed in WORKDIR. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-build: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}Bruce Ashfield2024-05-291-1/+1
| | | | | | | | As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this variable in our go recipes. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-md2man: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}Bruce Ashfield2024-05-291-1/+1
| | | | | | | | As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this variable in our go recipes. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* devtools: depreciate the go source-only packagesBruce Ashfield2024-03-1514-0/+28
| | | | | | | | | | | We are now using vendoring from the upstream repos, or creating our own vendor directory. We no longer need these source only recipes. Add an inherit to each recipe to warn that it will be removed in the future. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* layer-wide: drop PYTHON_PNBruce Ashfield2024-02-214-14/+14
| | | | | | | | | | | Similar to OE core commit b566b1e32c7993d1ab7795562f648e52ce186a70, we no longer need PYTHON_PN for any abstraction of python2 vs python3. Our similar / dup recipes are now causing signature differences, so we go ahead and make the substitution, even if it isn't stricly required. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-docker: Update to 7.0.0Pavel Zhukov2024-02-011-4/+5
| | | | | | | Update package to fix compatibility fix docker from the layer. Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* grpc-go: Upgrade 1.41.0 -> 1.59.0Peter Marko2023-11-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CVE: CVE-2023-44487 Bumping grpc-go to version v1.59.0, which comprises the following commits: 7765221f Change version to 1.59.0 (#6695) e88f12e0 server: prohibit more than MaxConcurrentStreams handlers from running at once (#6703) (#6704) be7919c3 transport: Pass Header metadata to tap handle. (#6652) e3f1514c Reapply "status: fix/improve status handling (#6662)" (#6673) (#6688) 696faa98 client: add a test for NewSubConn / StateListener / cc.Close racing (#6678) 318c717a readme: fix badges (#6687) 39972fdd github: add code coverage with codecov.io (#6676) 93dbc059 xds: move virtual host matcher test to the xdsresource package (#6680) 2c004697 github: update actions/setup-go and actions/checkout (#6675) 1f73ed5f Replace the gRFC pull request with the permanent link. (#6674) 9e1fc3e9 Revert "status: fix/improve status handling (#6662)" (#6673) 0772ed73 status: fix/improve status handling (#6662) 1466283c internal/idle: add a test that invokes ClientConn methods concurrently (#6659) fd9ef726 interop: implement rpc-behavior for UnaryCall() (#6575) c6264a9f examples: add an example of flow control behavior (#6648) ee4b62c7 encoding: fix mention of DecompressedSize in docstring (#6665) 09792b58 test: move codec tests to a separate file (#6663) 57cb4d80 internal/backoff: add a helper to run a function with backoff (#6661) 5e4402ff attributes: avoid the use of %#v formatting verb (#6664) 147bd859 balancer: add a warning for balancer names that contain upper case letters (#6647) 4ced6016 googlec2p: remove support for the experimental scheme (#6645) a758b625 xds/googledirectpath: fix google-c2p resolver test case involving bootstrap env config (#6657) e61a14d7 fix testing parameter on xds_client_custom_lb_test (#6646) 58e2f2b1 attributes: print typed nil values instead of panic (#6574) fe0dc227 interop/grpc_testing: regenerate pb.gos (#6653) 130bc428 Improve testutils.MarshalAny (#6617) 3156151a grpclb: teach the manual resolver to handle restarts (#6635) 1457a961 balancer/weightedroundrobin: fix ticker leak on update (#6643) 92f5ba97 xdsclient: completely remove the old WatchCluster API (#6621) 94d8074c grpclb: some minor cleanups (#6634) 1880bd6f resolver/manual: support restarts, required for channel idleness (#6638) 9deee9ba idle: use LB policy close event as a proxy for channel idleness (#6628) 2d1bb21e grpc: ensure transports are closed when the channel enters IDLE (#6620) 552525e5 interop/xds_federation: remove binary file (#6622) 82a568dd cdsbalancer: switch cluster watch to generic xDS client API (#6600) 03172006 health/grpc_health_v1: update pb.go (#6616) 57dcb71f interop/xds: improve error message (#6614) 254bccb3 idle: decrement active call count for streaming RPCs only when the call completes (#6610) b0a946cf xds: fix hash policy header to skip bin headers and use extra metadata (#6609) 1e0d82e9 balancer/leastrequest: Cache atomic load and also add concurrent rpc test (#6602) 8eb4ac4c grpc: Change server stream context handling (#6598) e498bbc9 leastrequest: fix data race in leastrequest picker (#6587) 778e6381 balancergroup: improve observability around balancer cache behavior (#6597) aa6ce35c vet: ensure all usages of grpc_testing package are renamed when importing (#6595) d045b41c interop/grpc_testing: regenerate pb.gos (#6596) 61b7baa4 grpc_test: rename import for grpc_testing (#6594) 18059002 deps: update dependencies for all modules (#6582) 9362f261 grpc: re-enable channel idleness by default (#6585) 8b1a6710 stream: swallow Header errors as we used to; RecvMsg can still return it (#6586) 23ac72b6 update pb.gos by running regenerate.sh (#6584) 2ce7ecd1 cdsbalancer: test cleanup part 3/N (#6564) 7afbb9b9 Change version to 1.59.0-dev (#6581) 4c9777ce clusterresolver: fix deadlock when dns resolver responds inline with update or error at build time (#6563) 81b9df23 idle: move idleness manager to separate package and ~13s of tests into it (#6566) 7d35b8ec test: speed up TestServiceConfigTimeoutTD from 1.8s to 0.03s (#6571) d51b3f41 interop/grpc_testing: update protos from grpc-proto repo (#6567) fe1519ec client: fix ClientStream.Header() behavior (#6557) 8a2c2205 cdsbalancer: test cleanup part 2/N (#6554) 7f66074c vet.sh: fix interface{} check for macos (#6561) b07bf5d0 cdsbalancer: test cleanup part 1/N (#6546) 33f9fa2e test: speed up two tests (#6558) aca07ce9 xds/internal/xdsclient: Add least request support in xDS (#6517) e5d8eac5 test: improve and speed up channelz keepalive test (#6556) ebf0b4e3 idle: speed up test by 5x even while running 2x more iterations (#6555) 7d3996fd grpctest: use an interface instead of reflection (#6553) cc705fe4 interop: regenerate pb.gos (#6551) 3e925040 status: optimize GRPCStatus() calls (#6539) 402ba09a pick_first: de-experiment pick first (#6549) 2821d7fa resolver: remove outdated Target examples (#6547) 53d1f23a benchmark: update proper benchmark binary to use larger buffers (#6537) fbff2abb *: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) e40da661 clientconn: release lock when returning from enterIdleMode() (#6538) dbbc983c balancer/leastrequest: Add least request balancer (#6510) a0100790 *: remove references to old versions of go (#6545) 03d32b9c orca: update example and interop to use StateListener (#6529) c2bc22c7 testing: update Go versions tested to 1.19-1.21 (#6543) 879faf6b test: update client state subscriber test to be not flaky and more stressful about rapid updates (#6512) f3e94ec1 xds: improve error message when matched route on client is not of type RouteActionRoute (#6248) bb410670 balancergroup: do not cache closed sub-balancers by default (#6523) 68704f8e gracefulswitch, stub: remove last UpdateSubConnState references (#6533) 49006996 balancer/rls, xds/wrrlocality: stop forwarding UpdateSubConnState calls (#6532) ebc3c514 internal/balancergroup: remove usage of UpdateSubConnState (#6528) 5da2731c balancer/weightedtarget: stop forwarding UpdateSubConnState calls (#6525) 182b0add interop/grpc_testing: regenerate protos (#6534) e2741524 rls: fix flaky test introduced by #6514 (#6535) 61a1f779 balancer/weightedroundrobin: migrate to StateListener (#6530) 175c84c1 xds/ringhash: use StateListener instead of UpdateSubConnState (#6522) 3fa17cc1 test: speed up test that was taking 10 seconds to timeout (#6531) 694cb64c xds/clusterresolver: stop forwarding UpdateSubConnState calls (#6526) 8f51ca8f tests: stop using UpdateSubConnState (#6527) cea77bb0 xds/clustermanager: stop forwarding UpdateSubConnState calls (#6519) ce684134 xds/priority: stop forwarding UpdateSubConnState calls (#6521) dceb6eef xds/clusterimpl: stop forwarding UpdateSubConnState calls (#6518) 8def12a4 xds/outlierdetection: Stop handling UpdateSubConnState forwarding (#6520) 67a8e73f multiple/test: use stub balancer instead of defining wrapped balancers (#6514) 92b481a6 test: allow set request/response size in interop soak test (#6513) 07609e1b benchmark: restore old buffer size values for published benchmarks (#6516) 2059c6e4 grpc: report connectivity state changes on the ClientConn for Subscribers (#6437) 4832debd test: clean up deadlines set in tests (#6506) 9c46304f xds/cdsbalancer: stop handling subconn state updates (#6509) e9a4e942 base: update base balancer for new APIs (#6503) 6c0c69ef all: replace RemoveSubConn with Shutdown as much as possible (#6505) 28ac6efe xdsclient: make watch timer a no-op if authority is closed (#6502) d06ab0d4 pickfirst: receive state updates via callback instead of UpdateSubConnState (#6495) 7aceafcc balancer: add SubConn.Shutdown; deprecate Balancer.RemoveSubConn (#6493) 4fe8d3d3 balancer: fix tests not properly updating subconn states (#6501) 8ebe4620 outlierdetection: fix unconditional calls of child UpdateSubConnState (#6500) 5d3d9d7c grpc: perform a blocking close of the balancer in ccb (#6497) ecc5645b clusterresolver: fix a flaky test (#6499) b9356e3d client: fix race between connection error and subconn shutdown (#6494) 2db7b17a test/xds: increase default test timeout (#6498) 8f496b2a test/kokoro: Add bootstrap generator test into Go Kokoro script (#6463) 02463732 testutils: remove TestSubConns for future extensibility (#6492) c6354049 balancer: add StateListener to NewSubConnOptions for SubConn state updates (#6481) 94df716d resolver: State: add Endpoints and deprecate Addresses (#6471) 20c51a9f pickfirst: add tests for resolver error scenarios (#6484) b8d36caf pickfirst: add prefix logging (#6482) 5ce5686d pickfirst: guard config parsing on GRPC_EXPERIMENTAL_PICKFIRST_LB_CONFIG (#6470) 41d12327 resolver/weighted_round_robin: remove experimental suffix from name (#6477) 2aa26156 clusterresolver: comply with A37 for handling errors from discovery mechanisms (#6461) d7f45cdf xds/server: create the xDS client when the xDS enabled gRPC server is created (#6446) f1fc2ca3 clientconn: add channel ID to some idleness logs (#6459) 9bb44fbf transport: use a sync.Pool to share per-connection write buffer (#6309) d524b409 multiple: update dependencies after 1.57 branch cut (#6452) 7aab9c05 stats: Add RPC event for blocking for a picker update (#6422) 02946a3f resolver: remove deprecated AddressType (#6451) 919fe359 Change version to 1.58.0-dev (#6450) 94890820 github: replace deprecated command with environment file (#6417) d1868a53 clusterresolver: add logs for dns discovery mechanism error cases (#6444) 8e9c8f8e grpc: do not use balancer attributes during address comparison (#6439) db32c5bf Fix preloader mode in benchmarks (#6359) f0280f9d xds: require EDS service name in new-style CDS clusters (gRFC A47) (#6438) bf5b7aec clusterresolver: handle EDS nacks and resource-not-found errors correctly (#6436) fc0aa468 client: encode the authority by default (#6428) 11feb0a9 resolver: delete Target.Scheme and Target.Authority (#6363) df3e0214 status: fix panic when servers return a wrapped error with status OK (#6374) acbfcbb8 internal/grpcsync: refactor test (#6427) 51042db7 internal/grpcsync: Provide an internal-only pub-sub type API (#6167) 620a118c xds/internal/balancer/clusterimpl: Switch cluster impl child to graceful switch (#6420) 6b8f4274 orca: remove useless log statement (#6424) ea492f55 xdsclient: indicate authority serverURI in authority + transport logs (#6425) 67e881c3 xds: E2E Test for Audit Logging (#6377) 07718ef6 internal/xds/rbac: Add support for string matcher in RBAC header matching (#6419) 575a9365 xds: Fail xDS Server Serve() if called after Stop() or GracefulStop() (#6410) 7eb57278 xds: switch EDS watch to new generic xdsClient API (#6414) e8599844 server: with TLS, set TCP user timeout on the underlying raw connection (#5646) (#6321) 1634254a rpc_util: Reuse memory buffer for receiving message (#5862) 789cf4e3 reflection: rename proto imports for disambiguation in import script (#6411) 0673105e clusterresolver: switch a couple of tests to e2e style (#6394) 0b3a81ea clusterresolver: remove priority LB related tests (#6395) dd931c80 xds: clusterresolver e2e test cleanup (#6391) 10f5b50a [PSM interop] Don't fail target if sub-target already failed (#6390) 963238a6 clusterresolver: move tests around to different files (#6392) f24b4c7e clusterresolver: remove redundant tests (#6388) a9c79427 benchmark: Add support for Poisson load in benchmark client (#6378) dd350d02 stats/opencensus: Fix flaky metrics test (#6372) 642dd63a reflection: expose both v1 and v1alpha reflection services (#6329) 3c6084b7 xds/outlierdetection: fix config handling (#6361) 3e8eca80 Revert "client: encode the authority by default (#6318)" (#6365) 1c0572a5 benchmark: fix package used to reference service to use grpc suffix instead of pb (#6362) 7a7caf36 protoc-gen-go-grpc: Update README.md file (#6349) 89790ea9 grpclb: fix typo (#6356) 907bdaa1 alts: Read max number of concurrent ALTS handshakes from environment variable. (#6267) 2ac1aaed weightedroundrobin: prefer application_utilization to cpu_utilization (#6358) 7aeea8f4 orca: add application utilization and range checking (#6357) 6578ef72 client: handle empty address lists correctly in addrConn.updateAddrs (#6354) 761c084e xds/ringhash: cache connectivity state of subchannels inside picker (#6351) 1b666637 benchmark: Add sleepBetweenRPCs and connections parameters (#6299) 81c513a4 opencensus: stop overwriting ctx parameter in tests (#6350) 68576b3c client: encode the authority by default (#6318) c9d3ea56 deps: google.golang.org/genproto to latest in all modules (#6319) 02188e64 Change version to 1.57.0-dev (#6346) 8edfa1a1 authz: End2End test for AuditLogger (#6304) 2b1d70be xds: enable RLS in xDS by default (#6343) 47f8ed81 interop: Don't fail target if sub-target already failed (#6332) 1f23f6c2 client: fix Connect to handle channel idleness properly (#6331) 3ea58ce4 client: disable channel idleness by default (#6328) 6c2529bc xds: support pick_first custom load balancing policy (A62) (#6314) 9b9b364f internal/envconfig: Set Custom LB Env Var to true by default (#6317) e325737c alts: Fix flaky ALTS TestFullHandshake test. (#6300) 4d3f221d xds/internal/xdsclient: Add support for String Matcher Header Matcher in RDS (#6313) 157db190 stats/opencensus: Fix flaky test span (#6296) f19266cc xds: support built-in Stdout audit logger type (#6298) 59134c30 client: add support for pickfirst address shuffling from gRFC A62 (#6311) a6e1acfc grpc: support sticky TF in pick_first LB policy (#6306) 2ae10b28 xdsclient: remove interface check related to ResourceData (#6308) e9799e79 client: support a 1:1 mapping with acbws and addrConns (#6302) 2a266e78 authz: use pointer to to structpb.Struct instead of value (#6307) 511a9635 interop: let the interop client send additional metadata, controlled by a flag (#6295) 9b7a947c grpc: support channel idleness (#6263) 098b2d00 xds/internal/balancer/outlierdetection: Switch Outlier Detection to use new duration field (#6286) 417d4b68 examples: add error_handling example; move errors to error_details (#6293) 390c392f authz: Rbac engine audit logging (#6225) 52fef6da authz: Stdout logger (#6230) 92e65c89 test/kokoro: Add custom_lb_test to the xds_k8s_lb job (#6290) 756119c7 xds/outlierdetection: forward metadata from child picker (#6287) 8eba9c2d github: upgrade to v3 of checkout & setup-go (#6280) 24fd2521 proto: update generated code to match grpc-proto changes (#6283) 4eb88d7d cleanup: use new Duration type in base ServiceConfig (#6284) 1230f0e4 xds/internal/xdsclient: Split registry up and two separate packages (#6278) 0bdae480 interop: fix interop_test.sh shutdown (#6279) 5dcfb37c interop: hold lock on server for OOB metrics updates; share 30s timeout (#6277) 68381e7b xds: WRR in xDS (#6272) fd376a5c test: fix flaky TimeoutOnDeadServer test; some cleanups (#6276) 1db474c8 weightedroundrobin: fix duration format in lb config (#6271) 523dcddf weightedroundrobin: fix test race accessing timeNow (#6269) 1536887c interop/xds: Add Custom LB needed for interop test (#6262) 7d613442 examples: fix authz example to receive streaming error properly (#6270) afcbdc9a xds/internal/xdsclient/xdslbregistry: Continue in converter if type not found (#6268) b3fbd87a interop: add ORCA test cases and functionality (#6266) 5e587344 xds: Add support for Custom LB Policies (#6224) 5c4bee51 balancer/weightedroundrobin: add load balancing policy (A58) (#6241) c44f77e1 grpc: use CallbackSerializer in balancer wrapper (#6254) f193ec01 orca: fix race when calling listeners coincides with updating the run goroutine (#6258) 417cf846 test: deflake TestBalancerProducerHonorsContext (#6257) 1f3fe1c8 Update ClientStream.SendMsg doc (#6247) ccad7b75 grpc: use CallbackSerializer in resolver_wrapper (#6234) 47b3c554 orca: fix race at producer startup (#6245) 56b33d5c server/transport: send appropriate debug_data in GOAWAY frames (#6220) add90153 orca: allow a ServerMetricsProvider to be passed to the ORCA service and ServerOption (#6223) 40d01479 googledirectpatph: enable ignore_resource_deletion in bootstrap (#6243) ed3ceba6 balancer: make producer RPCs block until the SubConn is READY (#6236) b153b006 multiple: standardize import renaming for typed structs (#6238) 713bd041 orca: minor cleanups (#6239) 21a339ce grpc: handle RemoveSubConn inline in balancerWrapper (#6228) b1538271 xds: make glaze happy for test packages (#6237) 019acf2e stubserver: add option for allowing more services to be registered (#6240) cf89a0b9 authz: Swap to using the correct TypedConfig in audit logger parsing (#6235) df821471 internal: Document gcp/observability 1.0 dependencies in /internal (#6229) da1a5eb2 tests: nix TestClientDoesntDeadlockWhileWritingErroneousLargeMessages (#6227) e853dbf0 authz: add conversion of json to RBAC Audit Logging config (#6192) 497436ce xds/internal/balancer/outlierdetection: Change string to String (#6222) de11139a clusterresolver: improve tests (#6188) eff0942e xds/internal/xdsclient: Custom LB xDS Client Changes (#6165) 8628e075 xds/internal/balancer/outlierdetection: Add Channelz Logger to Outlier Detection LB (#6145) 83c460b8 authz: Move audit package (#6218) 8c70261b grpc: ClientConn cleanup in prep for channel idleness (#6189) 2cd95c75 gcp/observability: remove redundant import (#6215) 16651f60 go.mod: update all dependencies (#6214) ca604628 stubserver: Stop server when StartClient failed (#6190) 7dfd7183 internal/buffer: add Close method to the Unbounded buffer type (#6161) ebeda756 tests: defalke TestTimerAndWatchStateOnSendCallback (#6206) 0ed709c4 Change version to 1.56.0-dev (#6213) 875c97a9 examples/features/observability: use observability module v1.0.0 (#6210) aa8c137d authz: add audit logging APIs (#6158) b91b8842 gcp/observability: Have o11y module point to grpc 1.54 and opencensus 1.0.0 (#6209) eab9e20d test/kokoro: increase PSM Security test timeout to 4h (#6193) d90621f9 remove the unnecessary call to ResetTimer and StopTimer (#6185) fe72db95 testing: add helpers to start test service, and retrieve port (#6187) 5a50b970 Revert "Revert "credentials/alts: defer ALTS stream creation until handshake …" (#6179) 89ec9609 grpc: read the service config channel once instead of twice (#6186) 6237dfe7 internal/stubserver: Close Client Conn in error handling of Start (#6174) 06de8f85 alts: Add retry loop when making RPC in ALTS's TestFullHandshake. (#6183) 6eabd7e1 server: use least-requests loadbalancer for workers (#6004) 8374ff8f Export the unwrapResource method, to allow callers outside of the package (#6181) efb2f459 test/xds: Fix test_grpc import path (#6180) 81b30924 security/advancedtls: add TlsVersionOption to select desired min/max TLS versions (#6007) 17b693d7 alts: Perform full handshake in ALTS tests. (#6177) 01f8b866 Add documentation on some anti-patterns (#6034) 3489bb7d xdsclient/test: deflake TestWatchResourceTimerCanRestartOnIgnoredADSRecvError (#6159) bfb57b8b testing: delete internal copy of test service proto, and use canonical one (#6164) 10401b92 stats/opencensus: the backend to Sent. Attempt. and Recv. (#6173) b0a8b1b9 Use string instead of enum for xds resource type (#6163) 1d5b73a1 xds: add stop to avoid hanging in TestServeWithStop (#6172) ea0a0383 xds/xdsclient: ignore resource deletion as per gRFC A53 (#6035) a51779df xdsclient/test: deflake TestTimerAndWatchStateOnSendCallback (#6169) e9799199 internal/grpcsync: move CallbackSerializer from xdsclient/internal to here (#6153) c2899ddd examples/features/observability: Point o11y example to latest gcp/observability module (#6162) 113d75fb gcp/observability: Add isSampled bool to log entries (#6160) 4a125956 stats/opencensus: Switch helper to return Span Context from context (#6156) c3f1d5e5 gcp/observability: Set the opencensus_task label only for metrics, not tracing and logging (#6155) 42dd7ac9 Use anypb.New instead of ptypes.MarshalAny (#6074) 415ccdf1 go.mod: update all dependencies after 1.54 branch cut (#6132) a357bafa status: FromError: return entire error message text for wrapped errors (#6150) 44cebb8f xds: enable XDS federation by default (#6151) c018273e examples: Add observability example (#6149) 277bb642 Revert "credentials/alts: defer ALTS stream creation until handshake time (#6077)" (#6148) 0fdfd402 gcp/observability: Generate unique process identifier unconditionally (#6144) 1d20f1b5 security/advancedtls: swap from deprecated pkix.CertificateList to x509.RevocationList (#6054) a8a25ce9 transport: use prefix logging (#6135) 9c25653b cdsbalancer: improve log messages (#6134) a02aae61 CONTRIBUTING.md: remove duplicated bullet point (#6139) cdab8ae5 clusterresolver: push empty config to child policy upon removal of cluster resource (#6125) 7651e620 transport: add a draining state check before creating streams (#6142) a2ca46c4 examples: organize READMEs better (#6121) 4efec30e stats/opencensus: remove leading slash for per call metrics (#6141) 78099db0 gcp/observability: Switch hex encoding to string() method (#6138) 70c52915 observability: remove import replace directive and switch it to point to latest commit (#6122) 66e35339 status: handle wrapped errors (#6031) a75fd73d Change version to 1.55.0-dev (#6131) b638faff stats/opencensus: Add message prefix to metrics names (#6126) c84a5005 credentials/alts: defer ALTS stream creation until handshake time (#6077) 6f44ae89 metadata: add benchmark test for FromIncomingContext and ValueFromIncomingContext (#6117) a1e657ce client: log last error on subchannel connectivity change (#6109) 36fd0a43 gcp/observability: Add compressed metrics to observability module and synchronize View data with exporter (#6105) 52ca9571 xds: make comparison of server configs in bootstrap more reliable (#6112) 7507ea6b gcp/observability: Change logging schema and set queue size limit for logs and batching delay (#6118) 16c3b7df examples: add example for ORCA load reporting (#6114) b458a4f1 transport: stop always closing connections when loopy returns (#6110) 11e2506c tests: Scale down keepalive test timings (#6088) 5796c409 interop/observability: Pass interop parameters to client/server as-is (#6111) abd4db22 xdsclient/tests: fix flaky test NodeProtoSentOnlyInFirstRequest (#6108) 3633361c tests: support LRS on the same port as ADS (#6102) 0558239a Update CONTRIBUTING.md (#6089) 22608213 go.mod: upgrade golang.org/x/net to address CVE-2022-41723 (#6106) 60a1aa38 testutils: add support for creating endpoint resources with options (#6103) 92d9e77a xds: NACK route configuration if sum of weights of weighted clusters exceeds uint32_max (#6085) d02039b6 Deflake the integration test. (#6093) 55d87834 gcp/observability: Link logs and traces by logging Trace and Span IDs (#6056) ad4057fc transport: stop returning errors that are always nil (#6098) 558e1b6f examples/authz: add token package docstring (#6095) 33df9fc4 credentials/xds: improve error message upon SAN matching failure (#6080) 32921935 xdsclient: handle race with watch timer handling (#6086) e83e34be xds/resolver/test: use a non-blocking send instead of closing the channel (#6082) b46bdef1 interop/observability: add GCP Observability Testing Client/Server (#5979) f3116846 stats/opencensus: New uncompressed metrics and align with tracing spec (#6051) cc320bf8 grpc: Log server trailers before writing status (#6076) b9e6d59a xdsclient: send Node proto only on first discovery request on ADS stream (#6078) ae4a2315 ringhash: ensure addresses are consistenly hashed across updates (#6066) 52dcd147 xdsclient: move tests from `e2e_test` to `tests` directory (#6073) d8f80bb0 stats/opencensus: Added client api latency and upgrade go.mod (#6042) a8b32264 gcp/observability: Disable logging and traces on channels to cloud ops backends (#6022) 20141c25 examples: add an example to illustrate authorization (authz) support (#5920) 8c374f76 clusterresolver: cleanup resource resolver implementation (#6052) 1d16ef5b metadata: Lowercase appended metadata (#6071) 8ba23be9 cmd/protoc-gen-go-grpc: bump -version to 1.3.0 for release (#6064) a1693ec5 fakeserver: remove ADS and LRS v2 support (#6068) 832ecc25 channelz: use protocmp.Transform() to compare protos (#6065) 28b6bcf9 xds/xdsclient: improve failure mode behavior (gRFC A57) (#5996) d53f0ec3 test: move compressor tests out of end2end_test.go (#6063) dba41efd metadata: fix validation issues (#6001) 75bed1de test: move e2e health checking tests out of end2end_test.go (#6062) 0586c51d internal/transport: reduce running time of test from 5s to 1s (#6061) 7437662f internal/transport: Fix flaky keep alive test (#6059) 681b1338 admin/test: split channelz imports (#6058) 1093d3ac channelz: remove dependency on testing package (#6050) 3775f633 xdsclient/transport: reduce chattiness of logs (#5992) 6fe609da xdsclient: minor cleanup in eds parsing (#6055) 5353eaa4 testing: add helpers to configure cluster specifier plugin type (#5977) 8702a2eb stats/opencensus: Add top level call span (#6030) 85b95dc6 gcp/observability: Register new views (#6026) abff344e stats/opencensus: Add per call latency metric (#6017) 0f02ca5c gcp/observability: Switch observability module to use new opencensus instrumentation code (#6021) 6d612a3e resolver: update Resolver.Scheme() docstring to mention requirement of lowercase scheme names (#6014) 30d8c0a0 xds/internal/xdsclient: NACK empty clusters in aggregate clusters (#6023) 081499f2 xds: remove support for v2 Transport API (#6013) dd12def8 stats/opencensus: Add OpenCensus traces support (#5978) f4feddb3 github: update tests to use go version 1.20 (#6020) 81534105 client: Add dial option to disable global dial options (#6016) 55dfae6e resolver: document handling UpdateState errors by resolvers (#6002) ceb3f071 client: Revert dialWithGlobalOption (#6012) d655f404 internal/transport: fix severity of log when receiving a GOAWAY with error code ENHANCE_YOUR_CALM (#5935) b81e8b62 metadata: slightly improve operateHeaders (#6008) e9d9bd04 tests: reduce the degree of stress testing in long running tests (#6003) f8552261 github: update codeQL action to v2 (#6009) f69e9ad8 stats/opencensus: Add OpenCensus metrics support (#5923) 3151e834 cmd/protoc-gen-go-grpc: export consts for full method names (#5886) d6dabba0 xds/server: reduce chattiness of logs (#5995) 09540972 server: expose API to set send compressor (#5744) a7058f7b xds/csds: switch tests to use the new generic xdsclient API (#6000) 37111547 xdsclient/bootstrap: reduce chattiness of logs (#5991) d103fc70 xdsclient/xdsresource: reduce chattiness of logs (#5993) 6a707eb1 client: add an option to disable global dial options (#5990) c813c17a Change version to 1.54.0-dev (#5985) 2a1e9348 server: after GracefulStop, ensure connections are closed when final RPC completes (#5968) e2d69aa0 tests: fix spelling of variable (#5966) a6376c98 xds/resolver: cleanup tests to use real xDS client 3/n (#5953) bf8fc46f xds/resolver: cleanup tests to use real xDS client 5/n (#5955) 3930549b resolver: replace resolver.Target.Endpoint field with Endpoint() method (#5852) 894816c4 grpclb: rename `grpclbstate` package back to `state` (#5962) e5a0237a encoding: fix duplicate compressor names (#5958) 4adb2a7a xds/resolver: cleanup tests to use real xDS client 2/n (#5952) 52a8392f gcp/observability: update method name validation (#5951) 4075ef07 xds: fix panic involving double close of channel in xDS transport (#5959) 7bf6a58a gcp/observability: Cleanup resources allocated if start errors (#5960) bc9728f9 xds/resolver: cleanup tests to use real xDS client 4/n (#5954) 6e749384 xds/resolver: cleanup tests to use real xDS client (#5950) 9b9b3812 server: fix a few issues where grpc server uses RST_STREAM for non-HTTP/2 errors (#5893) ace80823 xdsclient: close func refactor (#5926) 9326362a transport: fix maxStreamID to align with http2 spec (#5948) 4e4d8288 xds interop: Fix buildscripts not continuing on a failed test suite (#5937) 379a2f67 *: add missing colon to errorf messages to improve readability (#5911) cde2edce Revert "xds interop: Fix buildscripts not continuing on a failed test suite (#5932)" (#5936) 78ddc05d xdsclient: fix race in load report implementation (#5927) 2a9e970f xds interop: Fix buildscripts not continuing on a failed test suite (#5932) 9228cffc rls: fix a data race involving the LRU cache (#5925) be06d526 binarylog: consistently rename imports for binarylog proto (#5931) bf3ad352 *: update all dependencies (#5924) 6de8f50f transport: drain client transport when streamID approaches maxStreamID (#5889) 42b7b633 stats/opencensus: OpenCensus instrumentation api (#5919) 974a5ef8 grpc: document defaults in MaxCallMsgSize functions (#5916) 9b73c42d test/xds: add tests for scenarios where authority in resource name is not specified in bootstrap config (#5890) 3b2da532 xdsclient: handle resource not found errors correctly (#5912) f2fbb0e0 Deprecate use of `ioutil` package (#5906) 8ec85e42 priority: improve and reduce verbosity of logs (#5902) 12b8fb52 test: move e2e HTTP header tests to http_header_end2end_test.go (#5901) f1a9ef9c stream: update ServerStream.SendMsg doc (#5894) c90744f1 oauth: mark `NewOauthAccess` as deprecated and update examples to use `TokenSource` (#5882) 0e5421c1 internal/envconfig: add convenience boolFromEnv to improve readability (#5887) 4565dd70 ringhash: allow overriding max ringhash size via environment variable (#5884) 94a65dca rls: deflake tests (#5877) 08479c5e xdsclient: resource agnostic API implementation (#5776) 07ac97c3 transport: simplify httpClient by moving onGoAway func to onClose (#5885) 5ff7dfcd rls: propagate headers received in RLS response to backends (#5883) f94594d5 interop: add test client for use in xDS federation e2e tests (#5878) 68b388b2 balancer: support injection of per-call metadata from LB policies (#5853) 4f16fbe4 examples: update server reflection tutorial (#5824) b2d4d5db test: fix raceyness check to deflake test http server (#5866) 54b7d03e grpc: Add join Dial Option (#5861) 70617b11 vet & github: run vet separately from tests; make vet-proto only check protos (#5873) 81ad1b55 *: update all dependencies (#5874) 357d7afc Change version to 1.53.0-dev (#5872) a0e8eb9d test: rename race.go to race_test.go (#5869) ae86ff40 benchmark: fix typo in ClientReadBufferSize feature name (#5867) e53d28f5 xdsclient: log node ID with verbosity INFO (#5860) 9373e5cb transport: Fix closing a closed channel panic in handlePing (#5854) 2f413c45 transport/http2: use HTTP 400 for bad requests instead of 500 (#5804) 5003029e testutils: do a better job of verifying pick_first in tests (#5850) 3e27f899 binarylog: Account for key in metadata truncation (#5851) f54bba9a test/xds: minor cleanup in xDS e2e test (#5843) a9709c3f Added logs for reasons causing connection and transport close (#5840) aba03e1a xds: pass options by value to helper routines which setup the management server in tests (#5833) 638141fb examples: add feature/cancellation retry to example test script (#5846) 22c1fd2e deps: update golang.org/x/net to latest in all modules (#5847) 19490352 ringhash: add logs to surface information about ring creation (#5832) f7c110af test: remove use of deprecated WithInsecure() API (#5836) a2054471 examples: add new example to show updating metadata in interceptors (#5788) 001d234e rls: Fix regex in rls test (#5834) 73619713 rls: use a regex for the expected error string (#5827) 617d6c8a security/advancedtls: add test for crl cache expiration behavior (#5749) ef51864f grpclb: improve grpclb tests (#5826) fa99649f xdsclient: deflake new transport ack/nack tests (#5830) 99ba9823 transport/server: flush GOAWAY before closing conn due to max age (#5821) 20c937ee transport: limit AccountCheck tests to fewer streams and iterations to avoid flakes (#5828) 110ed9e6 xdsclient: resource-type-agnostic transport layer (#5808) c91396d4 pickfirst: do not return initial subconn while connecting (#5825) 94f0e7fa benchmark: add a feature for read and write buffer sizes (#5774) 087387ca Deflake Outlier Detection xDS e2e test (#5819) dd123b7f testutils/pickfirst: move helper function to testutils (#5822) be202a26 examples: add an example to illustrate the usage of stats handler (#5657) 9f97673b test: move e2e goaway tests to goaway_test.go (#5820) 0fe49e82 grpc: Improve documentation of read/write buffer size server and dial options (#5800) 09fc1a34 interop: update Go version in docker container used for psm interop (#5811) adfb9155 server: fix ChainUnaryInterceptor and ChainStreamInterceptor to allow retrying handlers (#5666) e0a9f111 reflection: split grpc and pb imports (#5810) 6f96f961 reflection: update proto (#5809) 6e43203e reflection: generate protobuf files from grpc-proto (#5799) 0abb6f9b xdsclient: resource type agnostic WatchResource() API (#5777) 3011eaf7 test/tools: update staticcheck version to latest (#5806) fefb3ec0 test/tools: update everything to latest versions except staticcheck (#5805) 50be6ae2 go.mod: update all dependencies (#5803) ff146806 Cap min and max ring size to 4K (#5801) 0238b6e1 transport: new stream with actual server name (#5748) 817c1e8c passthrough: return error if endpoint is empty and opt.Dialer is nil when building resolver (#5732) 56ac86fa xdsclient: wait for underlying transport to close (#5775) 457c2f54 benchmark: use default buffer sizes (#5762) 689d061d Cleanup usages of resolver.Target's Scheme and Authority (#5761) 5331dbd3 outlierdetection: remove an unused variable in a test (#5778) 81db2506 Change version to 1.52.0-dev (#5784) 72812fe3 gcp/observability: filter logging from cloud ops endpoints calls (#5765) 0ae33e69 xdsclient: remove unused test code (#5772) 824f4491 go.mod: upgrade x/text to v0.4 to address CVE (#5769) 7f23df02 xdsclient: switch xdsclient watch deadlock test to e2e style (#5697) 32f969e8 o11y: Added started rpc metric in o11y plugin (#5768) b597a8e1 xdsclient: improve authority watchers test (#5700) e41e8940 orca: create ORCA producer for LB policies to use to receive OOB load reports (#5669) 36d14dbf Fix binary logging bug which logs a server header on a trailers only response (#5763) fcb8bdf7 xds/google-c2p: validate url for no authorities (#5756) 040b795b xdsclient/e2e_test: use SendContext() where appropriate (#5729) 0d6481fb target: replace parsedTarget.Scheme to parsedTarget.URL.Scheme (#5750) fdcc01b8 transport/test: implement staticcheck suggestion (#5752) aa44ccaf google-c2p: use new-style resource name for LDS subscription (#5743) c858a770 balancer/weightedtarget: fix ConnStateEvltr to ignore transition from TF to Connecting (#5747) 64df6526 google-c2p: include federation env var in the logic which determines when to use directpath (#5745) 3c09650e balancer/weightedtarget: use ConnectivityStateEvaluator (#5734) 3fd80b0c Fix flaky test MultipleClientStatsHandler (#5739) 26071c24 google-c2p resolver: add authority entry to bootstrap config (#5680) 9127159c client: synchronously verify server preface in newClientTransport (#5731) f51d2126 xdsclient: improve RDS watchers test (#5692) 7c168026 tests: refactor tests to use testutils helper functions (#5728) 28fae96c xdsclient: improve federation watchers test (#5696) f88cc659 xdsclient: improve EDS watchers test (#5694) 439221d8 xdsclient: add a convenience type to synchronize execution of callbacks (#5702) dbb8e2bf xdsclient: improve CDS watchers test (#5693) 79ccdd8f clientconn: go idle if conn closed after preface received (#5714) 778860e6 testing: update Go to 1.19 (#5717) eb8aa319 weightedtarget: return a more meaningful error when no child policy is reporting READY (#5391) bb3d7394 fakeserver: add v3 support to the xDS fakeserver implementation (#5698) 912765f7 xds: move bootstrap config generating utility package to testutils (#5713) f52b910b o11y: Fixed o11y bug (#5720) 00d1830c Fix o11y typo (#5719) e163a908 xds/xdsclient: add EDS resource endpoint address duplication check (#5715) 9eba5743 xds: de-experimentalize google c2p resolver (#5707) 8b3b10bd gcp/observability: implement public preview config syntax, logging schema, and exposed metrics (#5704) 8062981d vet: workaround buggy mac git grep behavior (#5716) e81d0a27 xdsclient: improve LDS watchers test (#5691) 7b817b4d client: set grpc-accept-encoding to full list of registered compressors (#5541) c6724519 xds/xdsclient: add sum of EDS locality weights check (#5703) c03925db priority: release references to child policies which are removed (#5682) 5fc798be Add binary logger option for client and server (#5675) 12db695f grpc: restrict status codes from control plane (gRFC A54) (#5653) 202d355a Change version to 1.51.0-dev (#5687) 1451c62c internal/transport: optimize grpc-message encoding/decoding (#5654) be4b63b1 test: minor test cleanup (#5679) d83070ec Changed Outlier Detection Env Var to default true (#5673) 54521b22 client: remove trailing null from unix abstract socket address (#5678) 36e48107 orca: cleanup old code, and get grpc package to use new code (#5627) e8866a83 build: harden GitHub Workflow permissions (#5660) 8458251c xdsclient: ignore routes with cluster_specifier_plugin when GRPC_EXPERIMENTAL_XDS_RLS_LB is off (#5670) a238ceba xDS: Outlier Detection Env Var not hardcoded to false (#5664) b1d7f56b transport: Fix deadlock in transport caused by GOAWAY race with new stream creation (#5652) 9c3e589d rls: delegate pick to child policy as long as it is not in TransientFailure (#5656) 7da8a056 xds: Enable Outlier Detection interop tests (#5632) 21f0259e test: loosen metadata error check to reduce dependence on exact library errors (#5650) 552de120 orca: fix package used to reference service to use pb suffix instead of grpc (#5647) 87d1a90a orca: fix package used to reference service to use grpc suffix instead of pb (#5645) 60eecd91 metadata: add ValueFromIncomingContext to more efficiently retrieve a single value (#5596) 2ebd5943 Documentation/proxy: update due to Go 1.16 behavior change (#5630) 1530d3b2 gcp/observability: fix End() to cleanup global state correctly (#5623) f7d20367 xds: add Outlier Detection Balancer (#5435) 182e9df1 Grab comment from proto file, similar to protoc-gen-go (#5540) 60a3a7e9 cleanup: fixes for issues surfaced by vet (#5617) 99ae81bf roundrobin: optimization of the roundrobin implementation. (#5607) aee9f0ed orca: server side custom metrics implementation (#5531) ddcda5f7 alts: do not set WaitForReady on handshaker RPCs (#5620) d875a0e8 xdsclient: NACK cluster resource if config_source_specifier in lrs_server is not self (#5613) c351f37d chore: remove duplicate word in comments (#5616) f0f9f00f test/kokoro: enable pod log collection in the buildscripts (#5608) 1dd02563 ringhash: implement a no-op ExitIdle() method (#5614) fe592260 clusterresolver: deflake eds_impl tests (#5562) d5dee5fd xds/ringhash: make reconnection logic work for a single subConn (#5601) b225ddaa transport: update http2 spec document link (#5597) 641dc871 transport: add peer information to http2Server and http2Client context (#5589) 02fbca0f xds/resolver: generate channel ID randomly (#5591) 97cb7b16 xds/clusterresolver: prevent deadlock of concurrent Close and UpdateState calls (#5588) c56f196d internal/fakegrpclb: don't listen on all adapters (#5592) 3f5b7ab4 internal/transport: fix typo (#5566) c11858e8 Publish arm64 binaries to GitHub releases (#5561) 802b32e0 Change version to 1.50.0-dev (#5585) 92cee344 gcp/observability: Add logging filters for logging, tracing, and metrics API calls (#5582) c7fe135d O11Y: Added support for custom tags (#5565) 7981af40 test/kokoro: add missing image tagging to the xDS interop url map buildscript (#5569) 6f34b7ad xdsclient: NACK endpoint resource if load_balancing_weight is specified and is zero (#5568) f9409d38 ringhash: handle config updates properly (#5557) 946dde00 xdsclient: NACK endpoint resources with zero weight (#5560) b89f49b0 xdsclient: deflake Test/LDSWatch_PartialValid (#5552) 9bc72deb grpc: remove mentions of WithBalancerName from comments (#5555) a077b946 Switched unlock to defer in newAddrConn (#5556) 57aaa10b test: move clientconn state transition test to test/ directory (#5551) 23f015c3 priority: sync priority with child in use (#5549) c14e29e6 rls: suppress picker updates from children when handling config updates (#5539) 02f1a7ac grpc: prevent a nil stats handler from causing a panic (#5543) 1ec054bb transport/server: fix race that could cause a stray header to be sent (#5513) 2f60cb8b test: improve the logic for checking round_robin (#5534) fd4700cf xdsclient: cleanup listener watchers test (#5506) e72cb1c1 xdsclient: organize existing contents better with new files (#5533) b695a7f2 test/interop: increase pick_first timeout (#5529) 9a689dc4 xdsclient: change receiver on BootstrapConfig() to be consistent (#5532) ae261b06 xds: Fixed GoLang regression for Outlier Detection (#5537) fdc5d2f3 xds/clustermanager: pause picker updates during UpdateClientConnState (#5528) 86117db5 balancer/weightedtarget: pause picker updates during UpdateClientConnState (#5527) 679138d6 gcp/observability: Add support for Environment Variable GRPC_CONFIG_OBSERVABILITY_JSON (#5525) d0f3c561 interop client: fixes for interop soak test (#5502) 6dd40ad6 Change the log-level when a new ServerTransport cannot be created (#5524) f601dfac test/kokoro: Add missing secondary_kube_context to xds LB tests (#5508) 3a77d291 xdsclient: fix LRS stream leaks when errors are encountered (#5505) 30d54d39 client: fix stream creation issue with transparent retry (#5503) 96aa657b xds: readd NewXDSResolverWithConfigForTesting() (#5504) 4f47c8c1 test/xds: wait for all ACKs before forcing stream restart (#5500) a094a109 Fix race between activeStreams and bdp window size (#5494) 5e15eac0 xdsclient: handle empty authority in new style resource names (#5488) c4023787 doc: remove comment about obsolete GRPC_GO_RETRY env var (#5495) 9ba66f1b xdsclient: use top-level server list if authority specific list is empty (#5491) e02f27d9 internal: move baseContentType comment where it should be (#5486) 50170888 internal/xds: generate an entry in the authorities map with empty string key (#5493) 2c0949c2 all: update to 'go 1.17' to enable module graph pruning (#5477) 38df45ca xdsclient: move XDSClient interface definition to client.go (#5479) 03fee09e balancer: fix connectivity state aggregation algorithm to follow the spec (#5473) 0d04c6f5 ringhash: don't recreate subConns when update doesn't change address information (#5431) a6dcb714 xdsclient: don't reset version info after stream restart (#5422) 8c494a9a Change version to 1.49.0-dev (#5484) 5770b1de xds: drop localities with zero weight at the xdsClient layer (#5476) 423cd8e3 interop: update proto to make vet happy (#5475) c9b16c88 transport: remove unused `bufWriter.onFlush()` (#5464) 755bf5a1 fix typo in the binary log (#5467) 15739b5c health: split imports into healthpb and healthgrpc (#5466) c075d201 interop client: provide new flag, --soak_min_time_ms_between_rpcs (#5421) 4b750055 clusterresolver: merge P(p)arseConfig functions (#5462) d883f3d5 test/xds: fail only when state changes to something other than READY and IDLE (#5463) c6ee1c71 xdsclient: only include nodeID in error strings, not the whole nodeProto (#5461) 06ad0b82 internal/proto: remove obsolete test and service_config.pb.go (#5459) 5cdb09fa outlierdetection: fix package level comments (#5457) 28de4866 interop: update grpc_testing proto (#5451) b288a240 interop testing: log the peer address in interop soak client (#5419) 3e7b97fe xds/priority: bug fix and minor behavior change (#5417) 29d9970c xds: Outlier Detection configuration in Cluster Resolver Balancer (#5371) 1dabf545 test/kokoro: use standard TESTING_VERSION in the new framework builds (#5434) f14d6112 resolver: minor improvements to AddressMap (#5426) c0198a9c ringhash: use grpctest.Tester in unit tests (#5428) f229f9c7 weightedroundrobin: update comments to indicate where addrInfo is stored (#5427) 71f16a1d internal/proto: pull in recent changes to service config proto (#5424) 584d9cd1 gcp/observability: update log name (#5414) 9ee2f146 gcp/observability: Implement tracing/metrics via OpenCensus (#5372) 34e4fc3b rls: use UNAVAILABLE instead of status from control plane (#5400) a0d5484e interop: remove duplicated xDS tests in GCE framework (#5395) ca5cc0bc credentials/google: support new-style xDS cluster names (#5399) cbcceaf7 gracefulswitch: fix exit idle race (#5384) ea86bf74 stats: add support for multiple stats handlers in a single client or server (#5347) 13b378bc internal: add global DialOptions and ServerOptions for all clients and servers (#5352) 70a80552 xds/priority: clean up tests (#5387) e41f8685 test/xds: move tests to a package with _test suffix (#5382) da6ef005 xds/clusterresolver: reuse child policy names for the same locality (#5367) 6e253e8a interop: update proto by running regenerate.sh (#5381) a45cd25f xds: Enable aggregate and logical dns clusters by default (#5380) c0e35731 xds: move e2e tests into grpc/test/xds directory (#5363) c6c0a06d Change version to 1.48.0-dev (#5379) ed752259 Don't call cmp in non testing file (#5370) 081c6884 client: fix hctx leakage in addrConn.createTransport (#5337) 30b9d59a client/SubConn: do not recreate addrConn if UpdateAddresses is called with the same addresses (#5373) 459729d6 xds/priority: avoid sending duplicate updates to children (#5374) 9f4b31a1 Added HTTP status and grpc status to POST check (#5364) 333a441e xds/ringhash: update connectivity state aggregation, and make sure at least one SubConn is connecting in TF (#5338) e23132c6 Added support for metadata matcher invert (#5345) d9b952b1 xds/resolver: use correct resource name in log message (#5357) db79903a xds/priority: start the init timer when a child switch to Connecting from non-transient-failure state (#5334) 462d8676 xds: Add Outlier Detection configuration and CDS handling (#5299) 5c46f1aa xdsclient/csds: fix leaked metadata (#5339) ee67b3d8 xds: Handle loops and ignore duplicates in aggregated cluster handling (#5317) 799605c2 client: fix potential panic during RPC retries (#5323) 78b13f27 xds/client: hold authority mutex before making a new authority (#5331) de73b2b6 examples: improve error messages (#5329) dc86d5de internal/proto: update generated code (#5332) 7567a5d9 documentation: fix typo in RegisterCodec godoc (#5306) 3bf6719f test/interop: register RLS to the interop test client (#5272) 8d68434c gcp/observability: correctly test this module in presubmit tests (#5300) ebd09839 xds/eds: reject EDS resources with multiple instances of the same locality in the same priority (#5303) 9711b148 server: clarify documentation around setting and sending headers and ServerStream errors (#5302) 924e4849 server: return better status for context err when writing header (#5292) 5682cc6a Change version to 1.47.0-dev (#5298) 4467a29d gcp/observability: implement logging via binarylog (#5196) 18fdf542 cmd/protoc-gen-go-grpc: allow hooks to modify client structs and service handlers (#5240) 337b815c interop: build client without timeout; add logs to help debug failures (#5294) e583b196 xds: Add RLS in xDS e2e test (#5281) 0066bf69 grpc: perform graceful switching of LB policies in the `ClientConn` by default (#5285) 3cccf6a4 xdsclient: always backoff between new streams even after successful stream (#5280) 4e780933 xds: ignore routes with unsupported cluster specifiers (#5269) 99aae344 cluster manager: Add Graceful Switch functionality to Cluster Manager (#5265) 42cadc17 test: cleanup balancer switching tests (#5271) b6873c00 grpc: move to `TransientFailure` in `pick_first` LB policy when all addresses are removed (#5274) 474948a9 github: run all testing jobs to completion even if one fails (#5282) c57d2b13 clientconn: fix target parsing tests to be tolerant to new url.URL field OmitHost (#5279) 562e12f0 test: use channelz instead of stats handler to determine RPC count (#5275) e63e1230 advancedtls: remove the usage of CDP in CRL enforcement (#5218) 3a74cd52 balancergroup: Add trigger point to gracefully switch a child (#5251) 34660d10 test: use `t.Fatal` instead of `panic` for service config parsing errors (#5266) 96bdede4 pickfirst: cleanup tests (#5263) e49486de test: add a test for clientConn close with pending RPC (#5264) 2fccb822 metadata: copy slices in FromContext() functions (#5267) 9d088969 github: update to test with Go 1.18 (#5262) 597e5d1b don't apply defaultSC upon receipt of invalid service config (#5257) 51ddcbad xds: suppress redundant updates only when we are SERVING (#5258) 4635bf28 make the RLS LB policy name available in the internal package (#5259) 50d0d0a5 server: set TCP_USER_TIMEOUT socket option for linux (#5219) 7840bd63 grpc: add a comment explaining why updateClientConnState is handled inline (#5261) 7ea4af98 internal/googlecloud: refactor OS-dependent code (#5239) 1ffd63de binarylog: generalize binarylog's MethodLogger preparing for new observability features (#5244) 63bdcbcc xds/interop: add xds_k8s_lb test suite (#5250) 89f31959 interop/client: simplify fallback test client and parameterize fallback deadline (#5248) 8078d1d5 balancergroup: Switched subBalancerWrapper to wrap a gracefulswitch.Balancer (#5245) 6131e9d4 examples: regenerate certs to use SHA256 signing algorithm (#5256) f95b001a xds: avoid log spam during server mode switches (better A36 compliance) (#5215) 97c31434 xds/client: accept resources wrapped in discoverypb.Resource message (#5242) 6c3ccbe8 grpc: remove remaining usages of grpc.WithInsecure() (#5246) fbe4ccbc xds/client: include Node ID in error messages from the XdsClient (#5223) c4cabf78 grpc: handle invalid service configs by applying the default if available (#5238) 94ee3865 test: cleanup roundrobin tests to use stubserver (#5236) 23cc28fd security/authorization: upgrade cel-v0.10.1 and fix breaking API change. (#5243) 84793b56 xds/client: reset backoff when a message is received, even when the message is invalid (#5241) 722367c4 proto: regenerate proto to pick up latest (#5237) eead9a82 grpc: delete deprecated API WithBalancerName() (#5232) cf6d4d5a grpc: document ClientConn fields (#5227) 431ea809 internal/balancer: Add graceful switch LB policy (#5207) 63af9747 internal: update service config proto (#5222) 87b0a8d6 test: use real grpc.Server in call tests (#5213) 6b15b135 channelz: replace deprecated timestamp API with recommended ones (#5212) 6f314bd7 reflection: add comments on protos (#5209) 328efcc9 example: add mutual TLS example (#5194) e601f1ae fix: does not validate metadata keys and values (#4886) a73725f4 channelz: include channelz identifier in logs (#5192) 02f384d4 xds: rename rls proto import (#5205) fd1f9881 Change version to 1.46.0-dev (#5204) 011544f7 authz: add additional logs to sdk authz (#5094) 18564ff6 reflection: improve server implementation (#5197) ec717cad xds: minor cleanup in xdsclient bootstrap code (#5195) ebc30b8f reflection: use protobuf/reflect instead of go reflection, fix dynamic messages (#5180) 46009ac9 transport: Add an Unwrap method to ConnectionError (#5148) 75fd0240 remove sdk term from grpc authz (#5191) a354b1ee channelz: rename NewChannelzStorage to NewChannelzStorageForTesting (#5190) 0e055491 Format directory/file references (#5184) c44f627f cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 91967153 xds/priority: log warnings instead of errors (#5185) 1a633098 xds: Add support for Outlier Detection configuration in xdsclient (#5183) 2af7b5e6 xds/interop: update RPC timeout in blackhole after fallback case (#5174) f664adfe benchmark: update client to include xds library (#5169) c7f7d3a7 xds/bootstrap: add plugin system for credentials specified in bootstrap file (#5136) 2209ed9e cmd/protoc-gen-go-grpc: add hooks to allow overriding generated code (#5056) f68fb05c leakcheck: ignore http read/write goroutine (#5182) 98079086 rls: support `routeLookupChannelServiceConfig` field (#5176) 593ff8d0 rls: service field in RLS request must not contain slashes (#5168) e2fc510d internal/proto: update generated code (#5172) 3b70fe08 xds: fix broken test "unknown field EnableLRS in struct" (#5170) d31dbe7a xds/resource: accept Self as LDS's RDS config source and CDS's EDS config source (#5152) 0a68f8af xds/federation: support federation in LRS (#5128) 61a6a06b server: handle context errors returned by service handler (#5156) e2771749 xds/bootstrap: escape authority when populating resource name template (#5160) 231ca3b2 security/advancedtls: fix CRL issuer comparison (#5130) 449f1b22 grpclb: rename LB policy config field to `serviceName` (#5166) 546e6aeb proto: incorporate recent service config proto definition changes (#5167) 5b376823 Let helloworld example listen to all hosts (#5089) 9cb41138 xdsclient: make Close() idempotent (#5149) 6f54b5dd recommend the use `go test` commands instead of `make test` (#5151) fa62572a rls: make the data cache purge ticker a field in rlsBalancer (#5154) f93e8e67 rls: return status error from server interceptor in test (#5153) 61a352e9 rls: move RLS LB policy implementation out of internal (#5143) 475c62a8 testing: fix potential problems in testFlowControlAccountCheck (#5105) 5350e746 xds/controller: fix test nil panic on stream errors (#5144) eb6ff1ae xds: update RPC timeout in blackhole case (#5126) aad573d8 rls: LB policy implementation (#4992) a0029942 internal/proto: update generated code (#5125) c1198288 xdsclient: allow overriding grpc.Dial function for the xDS controller. (#5108) f231ac52 wrr: improve randomWRR performance (#5067) 0145b50c use insecure.NewCredentials() instead of grpc.WithInsecure (#5087) b49c0c99 xds/clusterresolver: set ClusterName for DNS child (#5119) 9353ae3b credentials/google: stub out the oauth package in test (#5118) 13c41bce Change version to 1.45.0-dev (#5122) 77b478d7 xds/federation: e2e tests (#5103) 907a202a attributes: document that some value types (e.g. `map`s) must implement Equal (#5109) 2fb1ac85 test: fix potential goroutine leak in TestUpdateAddresses_RetryFromFirstAddr (#5023) afded723 xds/federation: update xdsclient to support multi authority (#5042) b0694409 credentials/google: use grpctest.Tester for tests in this package (#5098) fbaf7c55 authz: update representation of allow authenticated in SDK (#5052) 344b93a2 testdata: use SHA256 as signing algorithm in testdata certs (#5074) 4d58dd98 dialoptions.go: Fix WithBlock godoc (#5073) 78df8ec0 test/kokoro: Use xds-test-server-5 as the GCE interop server (#5071) db9fdf70 insecure: remove experimental notice (#5069) b3d19efe rls: move the data cache implementation into the rls package (#5060) ec7cf6c9 grpclb: fix possible nil before conversion in TestDropRequest (#5022) 8ae11f46 grpc: minor improvement on WithInsecure() document (#5068) 7506755e internal/resolver: fix possible goroutine leak in TestSafeConfigSelector (#5058) 956c5948 rls: minor config processing changes (#5061) c285fc70 cmd/protoc-gen-go-grpc: update version for release (#5070) 51835dc0 xds: Remove WithBlock option from the fallback test client (#5066) ce152f20 xds: Add xds dependency to the fallback test client (#5062) 029b8227 xds: Add RLS Cluster Specifier Plugin (#5004) 50f82701 rls: control channel implementation (#5046) 7c8a9321 testing: fix goroutine leak in TestClientUpdatesParamsAfterGoAway (#5024) a32d2778 xds/client: send connection errors to all watchers (#5054) c18e2a28 cmd/protoc-gen-go-grpc: update google.golang.org/protobuf to v1.27.1 (#5053) 5d90b32d authz: fix regex expression match (#5035) fd4e3bdc xds: Added env var for RLS in xDS (#5050) bd707697 test: cleanup roundrobin_test (#5005) d35aff3c xds/federation: resource name parsing (#4991) 62f73ecd xds/client: move xdsclient.New tests to controller.New (#5037) 40916aa0 transport: better error message when per-RPC creds fail (#5033) 1ec7a893 xds/client: send NewStream errors to the watchers (#5032) ccc060cb grpclog.DepthLoggerV2: Correct comment: formats like fmt.Println (#5038) a722e6aa xds/c2p: replace C2P resolver env var with experimental scheme suffix (#5044) f5dc086d internal/balancergroup: eliminate race in exitIdle (#5012) ac4edd2a Change version to 1.44.0-dev (#5041) 3786ae17 xds/resolver: Add support for cluster specifier plugins (#4987) 512e8947 rls: support extra_keys and constant_keys (#4995) f3bbd120 xds/bootstrap_config: add a string function to server config (#5031) 46935b96 fix possible nil before casting (#5017) c2bccd0b xds/kokoro: install go 1.17, and retry go build (#5015) 872a6f12 xds/c2p: fix default client resource template, and xds-client target scheme (#5010) 58beff18 balancergroup: add method to exitIdle a sub-balancer (#4994) 6f8796bc rls: double import rls protos (#5003) d542bfce status: support wrapped errors in FromContextError (#4977) f45e6179 rls: move pb.gos to grpc/internal/proto/grpc_lookup_v1 (#4993) 295d7e66 internal: move leakcheck to t.Cleanup (#4989) 23becb71 examples: Fix server port in route_guide example to work with client (#4975) bdf8336f xds/client: cleanup Dump to remove unnecessary version field (#4978) b2317c76 test/kokoro: rename xds_k8s to psm-security as part of tech-debt cleanup and name clarity (#4979) cf8b64e2 internal: add log when service config is disabled (#4973) 6e79bc8a xdsclient: add Cluster Specifier Name to Route (#4972) 82d8af8b balancer: add Authority field to balancer.BuildOptions (#4969) ea068ed2 rpc_util: Change error message to indicate size after decompression (#4918) d61c7ae8 internal: merge xds/envconfig into env package (#4923) 6a896a3e pickfirst: check b.sc before calling Connect (#4971) 52d94167 xds/client: move transport_helper from xdsclient to a separate struct (#4968) 6603e730 xds: Added validation and construction of RBAC matcher engine to ParseConfig (#4964) d57363ab xds: Add Cluster Specifier Plugin to xdsclient (#4967) dd767416 grpc: implement WithInsecure() using the insecure package (#4718) c25a52b7 config: remove retry disable via environment variable (#4922) 714ba8d5 xds: move balancergroup and weightedtarget our of xds directory (#4966) 14ebd917 lint: fix some unused parameter issues (#4956) 59e024e4 xds/client: move watchers from xdsclient to a separate struct (#4963) bac0a7e4 transport: pass handshake info with attributes to custom dialers (#4938) 82c28251 xds/federation: support new bootstrap fields and protect them by an env var (#4936) c53203c5 xds/federation: support populating resource template in xds-resolver (#4900) 79e9c957 xds/client: move unmarshal functions and types to a separate package (#4904) 3fa19881 internal: update pb.go (#4962) 878cea23 kokoro: Enable xds authz_test (#4954) 5841c8c7 xds/balancergroup: remove xds dependency from balancergroup (#4955) 3b94303f grpc: stabilize WithConnectParams DialOption (#4915) c105005d xds: NACK missing route specifier server side (#4925) 670c133e transport/http2_server : Move up streamID validation in operate headers (#4873) 29deb6bf xds/bootstrap: refactor to support top level and per-authority server config (#4892) 1163cfab xds: move LocalTCPListener to internal/testutils (#4920) 467630fc examples: remove usage of WithBlock in examples (#4858) 6d465fe9 grpclb: move restartableListener to testutils (#4919) d6aca733 Change version to 1.43.0-dev (#4912) bb655a91 internal: update rls.pb.go (#4913) 2d7bdf2d xds: Set RBAC on by default (#4909) d47437c9 xds: Fix invert functionality for header matcher (#4902) 9fa26982 xds/csds: populate new GenericXdsConfig field (#4898) 6e8625df doc: promote WithDisableRetry to stable; clarify retry is enabled by default (#4901) f1d87c14 client: properly disable retry if GRPC_GO_RETRY=off (#4899) 03753f59 creds/google: fix CFE cluster name check (#4893) 4f21cde7 authz: support empty principals and fix rbac authenticated matcher (#4883) f00baa6c resolver: replace AddressMap.Range with Keys (#4891) 2a312458 client: don't force passthrough as default resolver (#4890) bd0f8815 grpclb: recover after receiving an empty server list (#4879) 0d503075 xds/priority: handle new low priority when high priority is in Idle (#4889) fbf9b563 grpc: stabilize WithDefaultServiceConfig and improve godoc (#4888) 3b1d3e48 examples: update load balancing example to use loadBalancingConfig (#4887) 01ed6485 update go.mod to point to latest cncf/udpa repo (#4884) 3d9e9c42 logging: enable json logging in xds server container (#4885) 4757d024 xds: Make regex matchers match on full string, not just partial match (#4875) d590071c status: clarify FromError docstring (#4880) 36d87572 attributes: add Equal method; resolver: add AddressMap and State.BalancerAttributes (#4855) 3db1cb09 xds/clusterimpl: fix SubConn wrapper returned by picker during race (#4876) 7e5fcc68 rls: update rls proto (#4877) 3bae5f5b xds: use protos from cncf/xds instead of cncf/udpa (#4866) aaff9e7a grpc: better RFC 3986 compliant target parsing (#4817) 45097a8a Revert "kokoro: remove expired letsencrypt.org cert and update" (#4860) 2fe71180 xds/e2e: move flag check to each test, and call t.Skip() (#4861) ea41fbfa examples: unix abstract socket (#4848) 6c56e211 grpclb: add `target_field` to service config (#4847) 49f63887 grpclog: support formatting output as JSON (#4854) b99d1040 authz: create file watcher interceptor for gRPC SDK API (#4760) 03ca7b7d Added logs to rbac (#4853) 524d10cb kokoro: source test driver install script from core repo (#4825) b9d7c74e xds: local interop tests (#4823) 404d8fd5 Added imports for HTTP Filters (#4850) d16cfedb Rename env var (#4849) 4bd99953 xds: suppress redundant resource updates using proto.Equal (#4831) ee479e63 creds/google: replace NewComputeEngineCredsWithOptions with NewDefaultCredentialsWithOptions (#4830) 02da6251 github: increase timeout for codeql and disable for PRs (#4841) f2974e77 kokoro: remove expired letsencrypt.org cert and update (#4840) f068a13e server: add missing conn.Close if the connection dies before reading the HTTP/2 preface (#4837) 09970207 xds: remove race in TestUnmarshalCluster_WithUpdateValidatorFunc (#4836) b9f62538 rls: pull proto changes made in grpc-proto/pull/98 (#4832) 69e1b54d test: fix stayConnected to call Connect after state reports IDLE (#4821) 127c052c credentials/google: introduce a new API `NewComputeEngineCredsWithOptions` (#4767) 2ae5ac16 xds: nack if certprovider instance name is missing in bootstrap config (#4799) adb21c46 rls: improve config parsing (#4819) e6d0d281 internal: log SubConn type if it's not the expected type (#4813) 34df1b42 xds: Small RBAC Changes defined in A41 (#4818) 75f1d4b9 transport: call stats handler for trailers before closeStream (#4816) 08927214 xds/rds: NACK unknown route action cluster specifier (#4788) 710419d3 advancedtls: add revocation support to client/server options (#4781) 4555155a xds: Small changes at xDS RBAC Layer (#4815) 689f7b15 transport: logic specified in A41 to support RBAC xDS HTTP Filter (#4803) 11437f66 test: add option to make httpServer wait for END_STREAM; fix RetryStats race (#4811) 6ff68b48 channelz: recommend using admin.Register instead (#4797) 78d3aa8b grpc: cleanup parse target and authority tests (#4787) 83a34615 xds: have separate tests for RBAC on and off (#4807) d7208f02 github: set a shorter timeout on testing jobs (#4806) 32cd3d61 interop: don't use WithBlock dial option in the client (#4805) d623accd xds: fix parent balancers to handle Idle children (#4801) e6246c22 server: optimize chain interceptors (-1 allocation, -10% time/call) (#4746) 458ea764 xds: Added validations for HCM to support xDS RBAC Filter (#4786) 1f12bf44 transport: fix a typo in http2_server.go (#4745) 606403de transport: fix log spam from Server Authentication Handshake errors (#4798) 616977cc Change version to 1.42.0-dev (#4793) Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* grpc-go: add grpc to CVE_PRODUCTPeter Marko2023-11-071-0/+4
| | | | | | | | Some cves are reported with "cpe:2.3:a:grpc:grpc:*:*:*:*:*:go:*:*" See https://nvd.nist.gov/vuln/detail/CVE-2023-44487 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* devtools: fork python3-flask-corsBruce Ashfield2023-10-301-0/+0
| | | | | | | | | | | | | It is currently unclear if we have a hard dependency on this version of the module. meta-python has a newer version, so we are now breaking tests for yocto compliance (the layer changes the hash). For now, we fork the recipe to avoid the error and start preparing to drop it. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-nacl: drop recipeBruce Ashfield2023-10-251-26/+0
| | | | | | | | | | | | We introduced this to support python3-docker-compose, but docker compose has moved onto being a go application. meta-python has a newer version of the recipe, so our old one is causing signature issues. Dropping the recipe keeps everything happy Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-context: add CLEANBROKENMartin Jansa2023-09-041-0/+2
| | | | | | | | | | | | | * fixes: DEBUG: Executing shell function do_configure NOTE: make clean make: *** No rule to make target 'clean'. Stop. ERROR: oe_runmake failed WARNING: exit code 1 from a shell command. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-build: add SRCREV_FORMATBruce Ashfield2023-08-291-0/+1
| | | | | | | | | | | Javier Tia reported that go-build is now in breach of the oe-core requirement to have SRCREV_FORMAT when multiple SCMs are used. It should have always had this set, so we fix the build by adding a format to track our two SCMs. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-mux: update to v1.8.0Bruce Ashfield2023-08-241-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping mux to version v1.8.0-23-g85123bf, which comprises the following commits: 85123bf changed the routeVariables text content. (#708) 79f2f45 Clarify documentation examples of Route methods (#672) 395ad81 [BUG] Inconsistent HTTP status code on query mismatch (#712) 24c3e7f Fix `Single Page Application` example in `README.md` file (#678) 546dd0c run go fmt with Go 1.20 (#725) 651928c Update issues.yml (#727) cfc696d Update issues.yml (#726) 809d128 Update LICENSE (#723) 753457f Updated the logo in README.md (#724) ff63d0e Update LICENSE (#722) 2392d7d Delete AUTHORS (#721) 81b48a3 Delete stale.yml (#720) 96847b8 Delete release-drafter.yml (#719) 1fa2ee8 [GPT-95] Update go version, add tools for verification and testing (#718) 7456b4e Update README.md eb99d7a archive mode 5e1e8c8 archive mode 07eedff [docs] `authenticationMiddleware` initialization in the `README.md` file (#693) c889844 regexp: use iota instead of hardcoded values for regexType* (#679) 91708ff docs: update README w.r.t new maintainer ask (#660) 3cf0d01 Include "404" and "405" in the docs (#602) d07530f build: CircleCI 2.1 + build matrix (#595) 98cb6bf fix: regression in vars extract for wildcard host (#579) 948bec3 docs: Remove stale text from comment. (#568) 75dcda0 perf: reduce allocations in (*routeRegexp).getURLQuery (#544) 49c0148 lint: Remove golint warning (#526) 4de8a5a fix headers regexp test (#536) 946b623 Fix the CORSMethodMiddleware bug with subrouters f395758 Remove/cleanup request context helpers (#525) ff4e71f Guess the scheme if r.URL.Scheme is unset (#474) 884b5ff Added capacity to slice creation, when capacity is known (#516) e1863a6 Modified http status codes, using constants provided by the http package (#514) 9536e40 bugfix: subrouter custom methodNotAllowed handler returning 404 (#509) (#510) e0cdff4 Update README (self-host logo) (#513) e67b3c0 Remove TravisCI badge (#503) 7a1bf40 [docs] Add documentation for using mux to serve a SPA (#493) eab9c4f Simplify code (#501) 50fbc3e Avoid unnecessary conversion (#502) d83b6ff Update config.yml (#495) 00bdffe Update stale.yml (#494) 0534769 Improve CORS Method Middleware (#477) d70f7b4 Delete ISSUE_TEMPLATE.md (#492) 48f941f Use subtests for middleware tests (#478) 6495467 Delete .travis.yml (#490) 4248f5c Fix nil panic in authentication middleware example (#489) 212aa90 [WIP] Create CircleCI config (#484) ed099d4 host:port matching does not require a :port to be specified. c5c6c98 [build] Remove sudo setting from travis.yml (#462) 15a353a adding Router.Name to create new Route (#457) 8eaa9f1 fix go1.12 go vet usage (#458) 8559a4f [docs] typo (#454) a796238 replace rr.HeaderMap by rr.Header() (#443) 797e653 Call WriteHeader after setting other header(s) in the example (#442) 08e7f80 Ignore ErrNotFound while matching Subrouters (#438) f3ff42f getHost() now returns full host & port information (#383) ef912dd [bugfix] Clear matchErr when traversing subrouters. a31c178 Replace domain.com with example.com (#434) 6137e19 remove redundant code that remove support gorilla/context (#427) d2b5d13 Update and rename stale to stale.yml (#425) 419fd9f Add stalebot config (#424) 758eb64 Improve subroute configuration propagation #422 3d80bc8 Use subtests in mux_test.go (#415) 521ea7b Use constant for 301 status code in regexp.go (#412) deb579d README.md: Update site URL 9e1f595 Always run on the latest stable Go version. (#402) cf6680b Create release-drafter.yml (#399) 8771f97 Drop support for Go < 1.7: remove gorilla/context (#391) 962c5be Add 1.11 to build in travis (#398) e48e440 Add test for multiple calls to Name(). Fixes #394 815b8c6 Clarify behaviour of Name method if called multiple times. cb46983 Update LICENSE & AUTHORS files. (#386) e0b5aba Initialize user map (#371) c856192 [deps] Add go.mod for versioned Go (#376) e3702be [docs] Improve docstrings for middleware, skipclean (#375) fdeb7bc [docs] Doc fix for testing variables in path (#374) 5e55a4a Add CORSMethodMiddleware (#366) ded0c29 Fix linter issues (docs) (#370) b57cb16 [build] Update Go versions; add 1.10.x (#364) 94231ff Fix table-driven example documentation (#363) 4dbd923 Make Use() variadic (#355) 07ba1fd Modify http status code to variable in README (#350) d284fd8 Modify 403 status code to const variable (#349) c0091a0 Create authentication middleware example. (#340) 0fdf828 [docs] Clarify SetURLVars (#335) 077b44c [docs] Document route.Get* methods consistently (#338) dc83507 [docs] README.md: Improve "walking routes" example. (#337) (#323) 3dbb9ed README.md: add miss "time" (#336) ad87908 [docs] Fix doc.go (#333) 69dae3b [docs] Add testing example (#331) 63c5c2f [docs] Fix Middleware docs typos (#332) 85e6bff Update doc.go: r.AddMiddleware(...) -> r.Use(...) 0b74e3d Make shutdown docs compilable (#330) 53c1911 [feat] Add middleware support as discussed in #293 (#294) 5bbbb5b [docs] Add graceful shutdown example (#329) 512169e refactor routeRegexp, particularily newRouteRegexp. (#328) 5ab525f Public test API to set URL params (#322) 7904d2e [docs] Add example usage for Route.HeadersRegexp (#320) c572efe [docs] Note StrictSlash re-direct behaviour #308 (#321) 65ec724 Create ISSUE_TEMPLATE.md (#318) 4a3d4f3 [bugfix] Fix method subrouter handler matching (#300) (#317) 2d5fef0 [docs] fix outdated UseEncodedPath method docs (#314) 7f08801 MatchErr is set to ErrNotFound if NotFoundHandler is used (#311) 9f48112 [docs] Document router.Match (#313) bc452d9 [build] Allow tip failures (#312) 7625a85 .travis.yml: Remove versions < go1.5 from build matrix c9183aa use req.URL.EscapedPath() instead of getPath(req) (#306) 10490f5 GetQueryTemplates and GetQueryRegexp extraction (#304) 9bd9ff2 Added 1.9 build step (#303) bdd5a5a Fix WriteHeader in TestA301ResponseWriter. (#301) 3f19343 [docs] Document evaluation order for routes (#297) 24fca30 [docs] README.md: add missing `.` (#292) bb285ea [docs] Fix missing space in docstring (#289) a659b61 Fix #271: Return 405 instead of 404 when request method doesn't match the route ac112f7 Prefer scheme on child route when building URLs. 37b3a6c Use scheme from parent router when building URLs. 8c683ee Fix typo 18fca31 Add test and fix for escaped query values. c7a138d Update docs. f9aa23a Add tests for support for queries in URL reversing. 9c9af15 Add support for queries in URL reversing. 043ee65 Update Walking Routes Section 59ce668 Fix invalid example code 85b8c20 Removing half of conflict marker (#268) 456bcfa Update README with example for Router.Walk 4d814f7 Update ancestors parameter for WalkFunc for matcher subrouters a322b2c Update Walk to match all subrouters bcd8bc7 Support building URLs with non-http schemes. (#260) 751308a Updated README b552615 Added method Route.GetMethods 1856953 Added method Route.GetPathRegexp 4c1c395 fixed typo (#250) 599cba5 Fixing Regexp in the benchmark test (#234) ad4ce0e updating logic in route matcher, cleaner and saner (#235) 89d16fe Add sourcegraph badge 94e7d24 Add Go 1.8 to .travis.yml 392c28f [bugfix] fail fast if regex is incorrectly specified using capturing groups. (#218) cafdb65 [docs] Add route listing example to README b9ff34f Adding some extra tests, to hit all the use cases 293ebe1 Adding in a check for routes with just / 910dd3a Remove unnecessary line from example 239e05f Clarify how route variables work. (#151) 14f5df0 document non-capturing groups (closes #143) 0a192a1 Add useEncodedPath option to router and routes (#190) 0b13a92 Simplify extractVars, fixes edge cases. (#185) 34bf6dc make the getPath method safer, fixing panics within App Engine (#189) 674ef1c Add mechanism to route based on the escaped path (#184) cf79e51 .travis.yml: add go1.7 7804150 [docs] Add logo to README. (#180) 3b15f12 [docs] Add static file example to README; doc.go. (#179) 327d4b6 Clean up some naming in mux_test.go cf57124 Fix error handling in Router.Walk 198f95d fix README.md 9fa818a [ci] Update .travis-ci to skip install block. (#170) fdfca9f Support native context.Context when go1.7 is used. 5dd5699 Add failing context.Context test for go1.7. 0d753bb Log ListenAndServe's err response. 12a13f3 `go vet` is part of Go now 05d9d90 Add `SkipClean()` to `*Route` 9935257 Add test for `SkipClean` a41434a Clarify more of `SkipClean` 8e05c69 old_test: const DefaultRemoteAddr is unused. 65c2651 fixing regexp changes from PR #144 786d36e `go fmt` 8ac5cf9 Add SkipClean option f7ac725 Update doc strings based on feedback 02c98b3 [docs] Satisfied golint. f84ab9a Fix go fmt issues 0d60c4b Add tests for GetPathTemplate. Added GetHostTemplate and associated tests as well 5f42f0f [docs] Add http://www.gorillatoolkit.org/pkg/mux to README. 7872f90 Update .travis.yml to build Go 1.6 78fb8eb Added benchmark with deep path f489272 Named groups replaced with conditional wrapping of regexps 66181ed Update README.md 82a9c17 Covering change with unit test c329c7d Potential fix for #20 9a9f155 Travis: Perform gofmt, go vet checks; use race detector during tests. a90bbbc Correct a printf verb type ac3897e Fix a typo in the comments, add a few comment docs 8ae7a23 Fixed documentation from Issue 16 ee18154 Update .travis.yml f8220e0 travis-ci: more recent go versions e45852e Fixed GoDoc badge. b0b2bc4 Quote domain names in README.md. Use example.com instead of domain.com 5112c33 slightly improve printing of regexps in failed tests. d17b93c Refactoring for better performance 273db68 Fix regexp syntax error caused by variable names containing any characters except letters, digits, and underscores 577b9e4 Add tests for hyphenated variable names ca524fd Updated README w/ runnable example. Addresses #32. c3c5f00 Add test which used to fail for queries. 780d050 Update README e73f183 fix use of capturing subexpressions in pattern matches. 13c8226 Update comment and specify KeepContext option. 39cff34 Add note about the availability of CurrentRoute. 98fb535 Issue 16: Return the regexp compile error ba336c9 getUrlQuery: Use SplitN with a max of 2. 3339267 adding tests fe40f0d updating query match string 19f0a91 adding test and updating condition 2b32409 fix for empty query 92ae1d6 Update the walk method to walk matchers so it walks the full list of routers and child routers 8eb02a9 Add URLPathTemplate to Route to make it easier to generate a API page that lists all routes by template 9cb89f0 Add a couple of additional tests for query strings. 0c9d5c0 refactoring a710a8b adding ^ and $ to query pattern c21431a Fixed up commenting and removed unused code c0a5cbc Fix typo a063f14 Fix typo 77f424d Fix typo 9641367 Fix up doc formatting, use spaces for alignment (tabs are for indentation only). e98fd88 Add complementary test for patterns with pipe 00bf0e0 Add tests for patterns with pipe d7e4639 Rearrange rules for matching strict slash 8df3a80 Rearrange getHost function 8f1a419 Remove blank line to fix docs for Route.Queries 3351f60 gofmt 854d482 Fix racy modification of NotFoundHandler. 451fd8b Additional code cleanup (see comments on issue #56) 3505396 Code cleanup (see comments on issue #56) 69237ea Fix "Queries" matcher to support out-of-order query string parameters 0a0d6a1 Add tests for regexp variables in query strings Fix how regular expression gets built for query string so that order of parameters is always preserved c946952 Fix old tests Remove tests that don't apply anymore Fix scheme matcher tests 65cc9b5 Add ability to capture variables in query strings a883d5a Call parent BuildVarsFuncs cef3b0c Add BuildVarsFunc to allow modifying route variables before generating a route's URL b864f07 Propagate StrictSlash to subrouters instead of rudely turning it off 3509745 Add tests for all four StrictSlash cases bac1372 Convert TestStrictSlash to a table driven test 033224c Document behaviour of StrictSlash and PathPrefix better, and add tests to nail this down 525eff4 Improve docs about leading and trailing slashes We also update the license checksum, as it has a new date We also drop the configure/compile tasks, as this is a source only dependency package (and having them causes build issues). Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-mux: Switch to main branchMingli Yu2023-08-241-1/+1
| | | | | | | The project has renamed the master branch to main. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-context: update to v1.1Bruce Ashfield2023-08-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping context to version v1.1-14-g1cbd4c1, which comprises the following commits: 1cbd4c1 Update go version, add tools for verification and testing (#43) a01379d Update README.md 8559d4a Update README.md (#40) dc31bb2 Create config.yml (#39) 30a41ee Update README.md (#38) 51ce91d README.md: Update site URL 08b5f42 [docs] godoc fix. (#34) f81bcf7 [docs] Note http.Request.WithContext() conflict. (#33) 01ef6ff .travis.yml: Add go1.7 531bdb2 Fix typo ffc4422 [ci] .travis.yml go vet fix. b53bb42 Update .travis.yml to build Go 1.6 1c83b3e Update .travis.yml ecbca1c Add Travis-ci tests build on Go version 1.3 / 1.4 50c25fb benchmark: fix parallelWriter. 9af5636 Fix racy code in Get We tweak the license checksum, as the year has changed. We also drop do_compile, as go install is now being used to fetch linting modules at build time. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* devtools/go-context: update branch to mainBruce Ashfield2023-08-241-1/+1
| | | | | | | Upstream has changed the branch to main and deleted master, so we need to update our SRC_URI to match. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* recipes/classes/scripts: Drop SRCPV usageBruce Ashfield2023-08-2416-16/+16
| | | | | | | | | bitbake has been enhanced such that SRCPV is no longer needed in PV to handle updating git hashes and task signatures. We can simplify our PV by dropping SRCPV Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* qemu: adapt to OE-core qemu splittingBruce Ashfield2023-08-011-6/+31
| | | | | | | | | | | | | | Since oe-core commit 893846ead7ee54d53 [qemu: Split the qemu package], qemu now has a similar (but different) split to what meta-virt has been providing to vmsep enabled systems. We override the oe-core splitting function to restore our ability to separate functionality into logical groups. This commit also provided RDEPENDS for the new oe-core named packages to allow compatbility with updated images. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "yq: Redefine do_compile"Bruce Ashfield2023-05-291-2/+1
| | | | | | | | | This reverts commit 49a6827cbdb6e00d3af5e5c4a4479c47573a4533. The workaround is no longer needed, as oe-core has upgraded go to a version that has fixed the issue. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: Redefine do_compileMingli Yu2023-05-171-1/+2
| | | | | | | | | | | | | This reverts commit 9b87b12885243c8cbba933e218c325416ec4d19d which states the linkshared issue is resolved. Actually the issue still exists as build fails on qemuarm64 and we still need the fix [1]. So add the fix [1] back and it's also better define its own do_compile and not let the do_compile logic in go.bbclass affect the build. [1] https://git.yoctoproject.org/meta-virtualization/commit/?id=d2a630ce6cf67a145f218012fbf02e4d0d9648df Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "yq: drop {LINKSHARED}"Jose Quaresma2023-03-271-2/+1
| | | | | | | | | | This reverts commit d2a630ce6cf67a145f218012fbf02e4d0d9648df. The linkshared is fixed upstream and backported in oe-core. https://git.yoctoproject.org/poky/commit/?id=d5c79ca6a77af1a04992fff4300333e02d94d84d Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-botocore: add upstream-status to patchBruce Ashfield2023-03-231-0/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* botocore: Fix rejecting URLs with unsafe characters in is_valid_endpoint_url()Wentao Zhang2023-03-232-0/+60
| | | | | | | | | | | | | | | The function is_valid_endpoint_url() in botocore is designed to validate endpoint URLs, but it fails to detect unsafe characters with Python 3.9.5+ and other versions carrying bpo-43882 fix. The issue is caused by urlsplit() silently stripping LF, CR, and HT characters while splitting the URL, which disarms the validator in botocore. This patch detects unsafe characters in is_valid_endpoint_url() and is_valid_ipv6_endpoint_url() early, in order to fix rejecting invalid URLs with unsafe characters. Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: drop {LINKSHARED}Mingli Yu2023-03-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | Redefine do_compile logic to drop {LINKSHARED} to fix the below build failure. WARNING: /build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/temp/run.do_compile.923432:185 exit 1 from 'aarch64-wrs-linux-go install -linkshared -p 48 -v -ldflags="-r /usr/lib64/go/pkg/linux_arm64_dynlink -I /lib64/ld-linux-aarch64.so.1 -extldflags ' -mcpu=cortex-a53 -march=armv8-a+crc -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/recipe-sysroot -Wl,-rpath-link=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/recipe-sysroot/usr/lib64/go/pkg/linux_arm64_dynlink -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fmacro-prefix-map=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/yq-4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1=/usr/src/debug/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0 -fdebug-prefix-map=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/yq-4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1=/usr/src/debug/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0 -fmacro-prefix-map=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/build=/usr/src/debug/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0 -fdebug-prefix-map=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/build=/usr/src/debug/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0 -fdebug-prefix-map=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/recipe-sysroot= -fmacro-prefix-map=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/recipe-sysroot= -fdebug-prefix-map=/build/tmp-glibc/work/cortexa53-wrs-linux/yq/4.30.8+gitdd6cf3df146f3e2c0f8c765a6ef9e35780ad8cc1-r0/recipe-sysroot-native= -Wl,-z,relro,-z,now'" -trimpath -buildmode=pie `go_list_packages`' Before the patch: # rpm -ql yq /usr /usr/bin /usr/bin/yq # du -sh /usr/bin/yq 5.2M /usr/bin/yq After the patch: # rpm -ql yq /usr /usr/bin /usr/bin/yq # du -sh /usr/bin/yq 9.0M /usr/bin/yq Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: remove .git suffix for cobra componentMingli Yu2023-03-021-1/+1
| | | | | | | | | | Remove the '.git' suffix of the cobra in SRC_URI to make the cobra SRC_URI exactly the same among the recipes which define cobra to make sure two local git repos (Yocto supports fetching locally) which are the same. Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: add ptest supportMingli Yu2023-02-102-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # ./run-ptest PASS: acceptance.sh PASS: bad_args.sh PASS: basic.sh PASS: bump-version.sh PASS: check.sh PASS: completion.sh PASS: copy-docs.sh PASS: coverage.sh PASS: devtools.sh PASS: empty.sh PASS: extract-checksum.sh PASS: format.sh PASS: front-matter.sh PASS: generate-man-page-md.sh PASS: generate-man-page.sh PASS: header-processing-off.sh PASS: inputs-format.sh PASS: install-man-page.sh PASS: leading-seperator.sh PASS: load-file.sh PASS: output-format.sh PASS: pipe.sh PASS: pretty-print.sh PASS: release-deb.sh PASS: secure.sh PASS: setup.sh PASS: split-printer.sh PASS: test-docker.sh PASS: test.sh PASS: xcompile.sh Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: Upgrade to 4.30.8Mingli Yu2023-02-101-17/+33
| | | | | | | | | Upgrade yq to 4.30.8 [1]. [1] https://github.com/mikefarah/yq/releases/tag/v4.30.8 Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: fix QA issuesMingli Yu2023-02-101-2/+2
| | | | | | | | | Fixes: ERROR: yq-1.13.1+gite0f5cb3c5958e57c7f250a7030e92c768c1b2b19-r0 do_package_qa: QA Issue: /usr/lib64/go/src/github.com/mikefarah/yq/debian/rules contained in package yq-dev requires /usr/bin/make, but no providers found in RDEPENDS:yq-dev? [file-rdeps] ERROR: yq-1.13.1+gite0f5cb3c5958e57c7f250a7030e92c768c1b2b19-r0 do_package_qa: QA Issue: /usr/lib64/go/src/github.com/mikefarah/yq/scripts/xcompile.sh contained in package yq-dev requires /bin/bash, but no providers found in RDEPENDS:yq-dev? [file-rdeps] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-272-1/+5
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-colorama: sync with meta-openembeddedBruce Ashfield2022-11-021-2/+6
| | | | | | | | | | | This version of python3-colorama has shown to work with the meta-virt recipes and software stacks. Sync our version with meta-openembedded. We continue to keep this around as a "canary" package. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-udica: skip recipe if meta-selinux is not availableBruce Ashfield2022-09-221-0/+2
| | | | | | | | | | meta-selinux has always been a soft dependency of meta-virt, as such, it isn't in the layer dependencies. To avoid yocto compat errors, and keep the dependency soft, we add a skiprecip to udica if meta-selinux is not present. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* devtools: introduce udicaBruce Ashfield2022-09-161-0/+20
| | | | | | | | | | | udica provides an (easier) way to generate selnux policies for containers. since we already have selinux has a dependency of meta-virt, we might as well make policy creation easier. See https://github.com/containers/udica, for details on how to use the tool. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* yq: fix buildBruce Ashfield2022-09-131-2/+4
| | | | | | | | | | | The yq build was broken: - some repositories have moved from master -> main - missing dependencies, that were being fetched in the compile task Correcting these issues fixes yq' build Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-build: reproducible add -trimpathBruce Ashfield2022-09-131-1/+1
| | | | | | | Fix the TMDIR QA error by tweaking out patch to add trimpath to go build calls. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-build: add dependency to fix build time fetchingBruce Ashfield2022-09-131-0/+2
| | | | | | | | | | | | go-builds compilation is fetching runc as a dependency, we can't do that in the compilation phase without an exception, or throwing an error. We add the runc dependency and fetch it directly into the required directory. This avoids the build time fetch, and we better control the revision. win-win. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python: synchronize colorama with meta-pythonBruce Ashfield2022-07-281-1/+2
| | | | | | | | | | | | | Our "canary" recipe for colorama picks up potentially destabilizing changes in meta-python, but is kept in sync to avoid autombuilder issues. If we can't stay in sync, we'll fork the recipe and change our dependencies to match. There has been a change in the meta-oe version, around checksums and native integration. Both those changes are fine, so we update to match. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* colorama: update to 0.4.5Bruce Ashfield2022-07-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Keeping in sync with meta-python. We mainatain our own version of the recipe, as docker-compose and others have been sensitive to version bumps in the past. We pick up the following commits: f8ab4fd version bump 0.4.5 f411cb9 Release checklist: no need to rebuild 372c486 Omit demo06 from demos.sh 0f5c36f Further tweaks made to support the release c29f133 tweaks for build process 6105ab3 Mention fixed ValueError at exit in CHANGELOG e866230 Release checklist includes '.candidate' releases 35e9a91 Add methods to ``StreamWrapper`` to allow better pickling 8ba396b Replace deprecated pypyX with pypy-X.Y 8a364bd Added test 788106f Detached stream fix 7899683 Add light colors in README 912fe9b Add support for Python 3.10 53e0db3 Update README-hacking.md e8e311b Update README-hacking.md 69f4644 Replace Travis CI with GitHub Actions 5ed1070 README suggests not using Colorama to print colors 536e966 fixup! Fix typo discovered by codespell 1d92c3a . 16847d7 Make bandit, codespell, and pytest mandatory tests f307a6d GitHub Action to lint Python code 402d236 Note that escapes are stripped out for redirected outputs. eea3a58 Added new demo f690a2b Use ASCII decoding explicitly in setup.py 0275556 Add support and testing for PyPy3 293d782 Remove discussion of unmaintained nose for running tests 8f0587b Remove unused test imports and utils d8a0836 Add support for Python 3.9 9946cfb Reference my blog p[ost about annotated tags 9b770a0 README-hacking on tagging 86bfecd Add --extra-index-url to test-release scripts 938f5c5 Add Makefile docstring to test-release e0a314e Release scripts now include sdist. 14a21e9 README mentions Pypy compatibility. d8a7ff0 fix README-hacking typo 99765af Fix README link markup d080175 Fix README link markup 5a393b2 Move contributing info to README-hacking.md f7efb11 Fix Makefile PHONY declaration 759d5c7 Bump to version 0.4.5-pre b7596ad Fix Changelog markup 24721c0 Belated CHANGELOG entries for 0.4.4 release 688f6cc Unicode README chars that don't render on PyPI dc8460c Make tests pass on all OS. faafef8 Add light colors in README Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>