{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":28094737,"defaultBranch":"main","name":"sos","ownerLogin":"TurboTurtle","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2014-12-16T16:07:59.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/1704155?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1718226106.0","currentOid":""},"activityList":{"items":[{"before":"b47d098433c79ae83ec5f8707842ed1ea72f0e07","after":"f2aa4b7187e7a21326729114eaa60fc31101c3d2","ref":"refs/heads/fix-clean-files-conf","pushedAt":"2024-06-12T21:04:21.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[clean,options] Correct skip-clean-files in sos.conf and skipping logic\n\nFirst, fix the issue raised in #3671 for the `--skip-cleaning-files`\noption, which would need to be written to `sos.conf` as\n`skip-clean-files` due to the internal variable naming.\n\nSecond, noticed as part of the reproducer for this issue when\n`--skip-cleaning-files` would be seti, that we were inadvertantly still\ngoing through the motions of creating a temporary file and scanning the\nfile even if we weren't intending to do any obfuscations to it. Correct\nthis by bailing out after determining there are no parsers for which we\nwant to do an obfuscation. Apply the same update to symlink paths so\nthat we don't create broken symlinks.\n\nResolves: #3671\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[clean,options] Correct skip-clean-files in sos.conf and skipping logic"}},{"before":null,"after":"b47d098433c79ae83ec5f8707842ed1ea72f0e07","ref":"refs/heads/fix-clean-files-conf","pushedAt":"2024-06-12T21:01:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[clean,options] Correct skip-clean-files in sos.conf and skipping logic\n\nFirst, fix the issue raised in #3671 for the `--skip-cleaning-files`\noption, which would need to be written to `sos.conf` as\n`skip-clean-files` due to the internal variable naming.\n\nSecond, noticed as part of the reproducer for this issue when\n`--skip-cleaning-files` would be seti, that we were inadvertantly still\ngoing through the motions of creating a temporary file and scanning the\nfile even if we weren't intending to do any obfuscations to it. Correct\nthis by bailing out after determining there are no parsers for which we\nwant to do an obfuscation. Apply the same update to symlink paths so\nthat we don't create broken symlinks.\n\nResolves: #3671\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[clean,options] Correct skip-clean-files in sos.conf and skipping logic"}},{"before":"30055449f60bfafa6f98fafbd9a6a34795f73323","after":"0bfb87d3956f678a7619bee0554514f679550697","ref":"refs/heads/dir-listing-methods","pushedAt":"2024-06-10T22:15:44.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[Plugin] Standardize directory listings with new method\n\nThis commit adds a new `add_dir_listing()` wrapper method to standardize\nthe collection of directory content listings across plugins. By default\nthis will use the `ls` command, and will use `tree` if the `tree`\nparameter is set to `True`.\n\nThis wrapper is not intended to replace directory listing that are\nhandlded by other components with their own `ls` functionality (e.g.\n`npm ls` in the `npm` plugin). Additionally this does not replace the\ndirect calling of `ls` when used with `Plugin.exec_cmd()` to take some\naction based on the output of the `ls` command.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[Plugin] Standardize directory listings with new method"}},{"before":"d74628c8cc489483585f7cb9b7dd8c109c71f82c","after":"6ed41840275721513f7d4fccc871e714a03e7a8f","ref":"refs/heads/sos-space-report","pushedAt":"2024-06-10T22:11:07.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[Global] Update strings to align with `sos` tooling names\n\nThis commit serves to reinforce the typing of \"sos (space) report\" in\nplace of the legacy \"sosreport\", and similarly updates items such as\n\"sos-collector\" to \"sos collect\". The tool is `sos` (\"ess-oh-ess\"), of\nwhich `report` and `collect` are sub-commands.\n\nThe most visible change is the update to the line printed before the\npath to a generate sos report, which may be significant for scripts\nand/or automation. To be clear, this commit changes this line:\n\n`Your sosreport has been generated and saved in:`\n\nto\n\n`Your sos report has been generated and saved in:`\n\nNote that this does not change the use of `sosreport` when used as part\nof method names, nor does it change the *filename* of the generated\narchive for either `report` or `collect`.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[Global] Update strings to align with sos tooling names"}},{"before":null,"after":"d74628c8cc489483585f7cb9b7dd8c109c71f82c","ref":"refs/heads/sos-space-report","pushedAt":"2024-06-10T21:16:18.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[Global] Update strings to align with `sos` tooling names\n\nThis commit serves to reinforce the typing of \"sos (space) report\" in\nplace of the legacy \"sosreport\", and similarly updates items such as\n\"sos-collector\" to \"sos collect\". The tool is `sos` (\"ess-oh-ess\"), of\nwhich `report` and `collect` are sub-commands.\n\nThe most visible change is the update to the line printed before the\npath to a generate sos report, which may be significant for scripts\nand/or automation. To be clear, this commit changes this line:\n\n`Your sosreport has been generated and saved in:`\n\nto\n\n`Your sos report has been generated and saved in:`\n\nNote that this does not change the use of `sosreport` when used as part\nof method names, nor does it change the *filename* of the generated\narchive for either `report` or `collect`.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[Global] Update strings to align with sos tooling names"}},{"before":null,"after":"a98e1fbb810cc35b7f4a6e485f1da67e9c8d436b","ref":"refs/heads/runas-no-log-none-user","pushedAt":"2024-06-10T20:34:08.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[Plugin] Don't log \"None\" as a user with `runas`\n\nStops sos from logging \", as the None user\" for command collections that\ndo not specify a `runas` user (meaning when collections run as root).\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[Plugin] Don't log \"None\" as a user with runas"}},{"before":null,"after":"30055449f60bfafa6f98fafbd9a6a34795f73323","ref":"refs/heads/dir-listing-methods","pushedAt":"2024-06-10T20:26:10.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[Plugin] Standardize directory listings with new method\n\nThis commit adds a new `add_dir_listing()` wrapper method to standardize\nthe collection of directory content listings across plugins. By default\nthis will use the `ls` command, and will use `tree` if the `tree`\nparameter is set to `True`.\n\nThis wrapper is not intended to replace directory listing that are\nhandlded by other components with their own `ls` functionality (e.g.\n`npm ls` in the `npm` plugin). Additionally this does not replace the\ndirect calling of `ls` when used with `Plugin.exec_cmd()` to take some\naction based on the output of the `ls` command.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[Plugin] Standardize directory listings with new method"}},{"before":null,"after":"4052d2f39744ffcf907608c1f6d181bba77ca6c4","ref":"refs/heads/update-centos-images","pushedAt":"2024-05-07T20:52:51.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[cirrus] Update CentOS Stream image versions\n\nUpdates the CentOS Stream image versions to their current latest builds.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[cirrus] Update CentOS Stream image versions"}},{"before":null,"after":"4fd2c7465afd4dadddf0d1414319883012fadec6","ref":"refs/heads/standard-plugin-opts-dashes","pushedAt":"2024-05-07T17:00:14.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[Plugins, Options] Standardized PluginOpt names to use dashes\n\nThis commit standardizes the use of dashes/hypens (`-`) for the names of\nPluginOpts. This is done to conform with argparse formatting so that the\nformating of options names is consistent across sos global options,\ncomponent options, and now plugin options.\n\nFor example, the `networking` plugin's `namespace_pattern` option is now\n`namespace-pattern` and should now be specified via the `--plugin-option\nnetworking.namespace-pattern=foo` syntax. Similarly, developers will now\nneed to use `Plugin.get_option('namespace-pattern')` in order to\nreference it.\n\nNote that the use of global options within plugins (for example\n`--all-logs`) is unchanged, meaning that users will continue to use\n`--all-logs` and due to how these options get stored, developers would\nstill use `Plugin.get_option('all_logs')`.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[Plugins, Options] Standardized PluginOpt names to use dashes"}},{"before":null,"after":"1cbcb1d31d492de9b08f3c5ce9b7dee3120736ba","ref":"refs/heads/fix-more-codeql-alerts","pushedAt":"2024-04-27T14:30:37.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[CodeQL] Resolve remaining alerts from CodeQL scans\n\nResolve the remaining handful of alerts from CodeQL, while others have\nbeen manually dimissed after review.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[CodeQL] Resolve remaining alerts from CodeQL scans"}},{"before":null,"after":"f24a6a46b5afffc6f5a4617b60237d65aadf82c0","ref":"refs/heads/empty-except-cleanup","pushedAt":"2024-04-20T19:00:33.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[Global] Resolve empty except alerts from CodeQL\n\nThis commit resolves the remaining 'Empty except' alerts from CodeQL\nscanning.\n\nMost of these involve logging something during exception handling when\nwe were previously simply `pass`ing. Others, either when logging is\nunavailable or it makes no sense to log something for, are resolved by\nplacing comments within the except block as the CodeQL alerts should be\nsuppressed if the 'empty except' (`pass`ing) has an explanatory note.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[Global] Resolve empty except alerts from CodeQL"}},{"before":null,"after":"ee38c99e551faff57819ea8256bcade040b44f1c","ref":"refs/heads/pipes-to-shlex","pushedAt":"2024-04-15T22:37:19.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[global] Update use of pipes with shlex\n\n`pipes` is deprecated and being removed from Python in 3.13. Our usage\nis exclusively `pipes.quote()`, which has actually been calling\n`shlex.quote()` behind the scenes for some time (at least since 3.6).\n\nUpdate our usage of `quote` to directly import from `shlex`.\n\nResolves: #3310\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[global] Update use of pipes with shlex"}},{"before":null,"after":"dc1563fefb90a8962347be994c0eb080616b9b42","ref":"refs/heads/fix-empty-excepts","pushedAt":"2024-03-16T18:53:52.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[global] Remove empty except warnings highlighted by CodeQL\n\nThis commit is a first pass at addressing a number of the `Empty Except`\nwarnings flagged by CodeQL. These are for try/except blocks whose except\nstatement simply contains a `pass`, and to address these we add a log\nmessage in almost all cases. Where we don't log, there is an added\ncomment for context as to why we're passing without further action.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[global] Remove empty except warnings highlighted by CodeQL"}},{"before":"765d4b844f0a259168343eb8ee6ef936e34ad37e","after":"e8564731555d82618431702f08275a752a251e62","ref":"refs/heads/drop-scl-plugin","pushedAt":"2024-03-16T16:13:41.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[SCLPlugin] Drop SCLPlugin support\n\nSCL is not used in RHEL past RHEL 7, and sos has not directly supported\nRHEL 7 for some years now due to the switch to python3 that came along\nwith sos-4.0.\n\nDrop SCLPlugin, as it will never be used in modern sos. Cleanup any\nreferences to it in existing plugins as well.\n\nResolves: #3559\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[SCLPlugin] Drop SCLPlugin support"}},{"before":null,"after":"765d4b844f0a259168343eb8ee6ef936e34ad37e","ref":"refs/heads/drop-scl-plugin","pushedAt":"2024-03-09T16:22:06.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[SCLPlugin] Drop SCLPlugin support\n\nSCL is not used in RHEL past RHEL 7, and sos has not directly supported\nRHEL 7 for some years now due to the switch to python3 that came along\nwith sos-4.0.\n\nDrop SCLPlugin, as it will never be used in modern sos. Cleanup any\nreferences to it in existing plugins as well.\n\nResolves: #3559\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[SCLPlugin] Drop SCLPlugin support"}},{"before":null,"after":"21157078a94b79c651f8c13b777d485138ec0999","ref":"refs/heads/format-to-fstring","pushedAt":"2024-02-05T22:32:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[global] Replace use of `.format()` with f-strings\n\nAs part of the project's effort to modernize on f-strings, this commit\nreplaces all usage of .format() with f-string equivalents. The vast\nmajority of these are in-place syntax changes, but a limited number\nchange the order of list items or some formatting tricks in order to\nappease PEP8.\n\nNone of these conversions change the underlying logic of the flows they\nappear in.\n\nRelated: #3472 discussion\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[global] Replace use of .format() with f-strings"}},{"before":"d94c6ef4b2d285d5b143738e7038b601bfd767be","after":"be9bdc7592b2bde91a3a7261c35ef305419b087d","ref":"refs/heads/eda-preset","pushedAt":"2024-01-23T00:50:22.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[AAP EDA] Add new preset\n\nAdds a new preset for `aap_eda`, or Ansible Automation Platform Event\nDriven Controller.\n\nThis preset will set the `containers_common` plugin to collect output\nfor the `eda` user.\n\nRelated: #3486\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[AAP EDA] Add new preset"}},{"before":"5096c98e5a077bbe8587b6c26d9d4e6b8a6b6ad3","after":"d94c6ef4b2d285d5b143738e7038b601bfd767be","ref":"refs/heads/eda-preset","pushedAt":"2024-01-19T21:00:09.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[AAP EDA] Add new preset\n\nAdds a new preset for `aap_eda`, or Ansible Automation Platform Event\nDriven Controller.\n\nThis preset will set the `containers_common` plugin to collect output\nfor the `eda` user.\n\nRelated: #3486\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[AAP EDA] Add new preset"}},{"before":null,"after":"5096c98e5a077bbe8587b6c26d9d4e6b8a6b6ad3","ref":"refs/heads/eda-preset","pushedAt":"2024-01-19T20:52:00.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[AAP EDA] Add new preset\n\nAdds a new preset for `aap_eda`, or Ansible Automation Platform Event\nDriven Controller.\n\nThis preset will set the `containers_common` plugin to collect output\nfor the `eda` user.\n\nRelated: #3486\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[AAP EDA] Add new preset"}},{"before":null,"after":"59e4b79c8e2bebc5385d26fd17278a1187e64506","ref":"refs/heads/collect-transport-pty","pushedAt":"2023-11-03T20:06:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[collect] Refactor `get_pty` functionality\n\nThe `get_pty` parameter for remote executed commands was both a bit of a\nmisnomer and applied too broadly.\n\nRefactor this to `use_shell` to be more obvious about what the intent\nbehind the option is, and default all transports to `False`, so that by\ndefault we do not wrap any commands in a bash shell.\n\nThis may be overriden on a per-transport basis via the ned `_need_shell`\nproperty within transport subclasses. Further, this facility has been\nexpanded to be allowed on a per-command basis from\n`SoSNode.run_command()` and wherever that is linked.\n\nRelated: #3399\nRelated: #3400\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[collect] Refactor get_pty functionality"}},{"before":null,"after":"303d6de5c76443facf99616caaedc153ecc3fc0c","ref":"refs/heads/docker-runtime-fix-active-check","pushedAt":"2023-10-06T22:42:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[docker] Fix runtime check_is_active sysroot consideration\n\nA runtime's `check_is_active()` does not get passed a sysroot at any\npoint, so the docker runtime abstraction should just use the policy\nsysroot directly.\n\nAdditionally, `check_can_copy()` should be simplified to simply return\nthe already-determined active state of the runtime.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[docker] Fix runtime check_is_active sysroot consideration"}},{"before":null,"after":"0ed4518b1589392981679c302125ed02758fc0d9","ref":"refs/heads/ignore-ds-store","pushedAt":"2023-09-29T03:40:42.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[git] Ignore DS_Store files from Finder\n\nUpdates .gitignore to exclude .DS_Store files that Finder may drop in\nthe tree.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[git] Ignore DS_Store files from Finder"}},{"before":null,"after":"221d13fdf392878b701cf2a6c23791c2bd5f59fd","ref":"refs/heads/fix-mixed-returns","pushedAt":"2023-09-29T00:43:03.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[global] Fix alerts for mixing implicit and explicit returns\n\nThis commit resolves the alerts generated by GitHub code scanning for\nmixing implicit and explicit returns. In most cases this is simply\nchanging empty or implicit returns to `return None`, while in a few\nother places the return logic is slightly reworked.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[global] Fix alerts for mixing implicit and explicit returns"}},{"before":"cd53dbc429cf70808cccd26e98f22b1783f6b1ec","after":"025e0ba7c9b2aa023160df7a65648c23ab13df12","ref":"refs/heads/file-not-closed","pushedAt":"2023-09-22T15:23:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[plugins,distros] Resolve code alerts for file not always closed\n\nFix a number of outstanding \"File is not always closed\" errors highlighted by\nGitHub's code scanning.\n\nThis involves (almost exclusively) changing such as:\n\n for line in open('/some/file', 'r').read().splitlines():\n\nTo using a context manager to ensure the file is always closed:\n\n with open('/some/file', 'r') as sfile:\n for line in sfile.read().splitlines():\n\n...or something similar. Overall the logic of what a specific block of code was\ndoing (mostly in plugins) is not changed however.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[plugins,distros] Resolve code alerts for file not always closed"}},{"before":null,"after":"cd53dbc429cf70808cccd26e98f22b1783f6b1ec","ref":"refs/heads/file-not-closed","pushedAt":"2023-09-22T15:17:57.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[plugins,distros] Resolve code alerts for file not always closed\n\nFix a number of outstanding \"File is not always closed\" errors highlighted by\nGitHub's code scanning.\n\nThis involves (almost exclusively) changing such as:\n\n for line in open('/some/file', 'r').read().splitlines():\n\nTo using a context manager to ensure the file is always closed:\n\n with open('/some/file', 'r') as sfile:\n for line in sfile.read().splitlines():\n\n...or something similar. Overall the logic of what a specific block of code was\ndoing (mostly in plugins) is not changed however.\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[plugins,distros] Resolve code alerts for file not always closed"}},{"before":"8cbe0e73f4d57a8eb2d9578d93bf4207fcfb9c35","after":"c1e0741844c8854e6d68389280700a688be515cf","ref":"refs/heads/main","pushedAt":"2023-08-17T22:47:17.000Z","pushType":"push","commitsCount":367,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[build] Bump version to 4.6.0\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[build] Bump version to 4.6.0"}},{"before":"dc190a9fde94f575e660e782831d922b89c00507","after":"2aee5c341f2e6cde7647fc59750a8c808ed8c704","ref":"refs/heads/sysroot-netdevs","pushedAt":"2023-07-29T21:06:20.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[report] Don't use sysroot for network device enumeration\n\nIf sos is being used in a live environment to diagnose an issue, using\nsysroot can cause the network device enumeration via /sys/class/net\ncrawling to fail. This will be the case for systems that do not use\n`nmcli`.\n\nWhen in a live environment, network devices will not be under\n`/$sysroot/sys/class/net` but the \"regular\" path for the booted\nenvironment. Similarly, if sos is being run in a container that is\nproperly configured, network devices will appear under `/sys/class/net`\nand not (necessarily) under the sysroot path that mounts the host's\nfilesystem.\n\nAs such, disregard a configured sysroot when enumerating network devices\nby crawling `/sys/class/net`, and trap any exceptions that may percolate\nup from this in edge case environments.\n\nRelated: #3307\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[report] Don't use sysroot for network device enumeration"}},{"before":null,"after":"dc190a9fde94f575e660e782831d922b89c00507","ref":"refs/heads/sysroot-netdevs","pushedAt":"2023-07-19T18:33:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[report] Don't use sysroot for network device enumeration\n\nIf sos is being used in a live environment to diagnose an issue, using\nsysroot can cause the network device enumeration via /sys/class/net\ncrawling to fail. This will be the case for systems that do not use\n`nmcli`.\n\nWhen in a live environment, network devices will not be under\n`/$sysroot/sys/class/net` but the \"regular\" path for the booted\nenvironment. Similarly, if sos is being run in a container that is\nproperly configured, network devices will appear under `/sys/class/net`\nand not (necessarily) under the sysroot path that mounts the host's\nfilesystem.\n\nAs such, disregard a configured sysroot when enumerating network devices\nby crawling `/sys/class/net`, and trap any exceptions that may percolate\nup from this in edge case environments.\n\nCloses: #3307\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[report] Don't use sysroot for network device enumeration"}},{"before":null,"after":"64f699b303c0f9190d45fa7ecc5826a28a91aaac","ref":"refs/heads/maintainer-man-update","pushedAt":"2023-06-29T19:59:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[docs] Update maintainer field in man pages\n\nUpdate the maintainer field to be more generic and direct readers to the\nupstream repo.\n\nCloses: #3290\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[docs] Update maintainer field in man pages"}},{"before":null,"after":"282d0232e9de1dc8a1db12b6c1c7db9c78910b5b","ref":"refs/heads/sssd-regex-spaces","pushedAt":"2023-06-08T22:45:54.049Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"TurboTurtle","name":"Jake Hunsaker","path":"/TurboTurtle","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1704155?s=80&v=4"},"commit":{"message":"[sssd] Handle spaces in postproc regex substitution\n\nWiden the capturing of strings for the `ldap_default_authtok`\nsubstitution performed on sssd configuration files to also capture\nstrings with spaces.\n\nCloses: #3266\n\nSigned-off-by: Jake Hunsaker ","shortMessageHtmlLink":"[sssd] Handle spaces in postproc regex substitution"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEY8BwEAA","startCursor":null,"endCursor":null}},"title":"Activity ยท TurboTurtle/sos"}