{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":29620400,"defaultBranch":"main","name":"xonsh","ownerLogin":"xonsh","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2015-01-21T22:05:27.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/17418188?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716623262.0","currentOid":""},"activityList":{"items":[{"before":"5b52a0aae05fdac3ff7cb7a71870d8350aa2c734","after":null,"ref":"refs/heads/revert_rename","pushedAt":"2024-05-25T07:47:42.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"jnoortheen","name":"Noorhteen Raja NJ","path":"/jnoortheen","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6702219?s=80&v=4"}},{"before":"f582a33d6182c0ba84da31c594d46d5ddcef57c7","after":"1613914d507884487251ecafb55e281699931eb8","ref":"refs/heads/main","pushedAt":"2024-05-25T05:34:26.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Revert jobs.obj rename (#5442)\n\n### Motivation\r\n\r\nCloses #5441\r\n\r\nIn the nutshell [Starship uses\r\n\"obj\"](https://github.com/starship/starship/blob/86c1312a05116fb404ab6ae90af37f78915f77b8/src/init/starship.xsh#L4-L11)\r\nso let's revert [the\r\nrenaming](https://github.com/xonsh/xonsh/commit/0f25a5a348e5569982d2b579a1bfa34d68df2418#diff-893f3d2e484910a3d1f57b499bdc81bf828ad764af9b7de0a8abb3d4e648d2c7L958)\r\nand will implement backwards compatibility when we switch jobs to\r\nsingleton object some day.\r\n\r\n## For community\r\nโฌ‡๏ธ **Please click the ๐Ÿ‘ reaction instead of leaving a `+1` or ๐Ÿ‘\r\ncomment**\r\n\r\nCo-authored-by: a <1@1.1>","shortMessageHtmlLink":"Revert jobs.obj rename (#5442)"}},{"before":null,"after":"5b52a0aae05fdac3ff7cb7a71870d8350aa2c734","ref":"refs/heads/revert_rename","pushedAt":"2024-05-25T05:22:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Revert jobs.obj rename.","shortMessageHtmlLink":"Revert jobs.obj rename."}},{"before":"51e05c16d8da306199700684ba57735a256aa603","after":null,"ref":"refs/heads/fix_nix","pushedAt":"2024-05-24T20:51:29.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"gforsyth","name":"Gil Forsyth","path":"/gforsyth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3596999?s=80&v=4"}},{"before":"61bda708c992a300eab212f877718cf0050a5e3a","after":"f582a33d6182c0ba84da31c594d46d5ddcef57c7","ref":"refs/heads/main","pushedAt":"2024-05-24T20:51:25.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"gforsyth","name":"Gil Forsyth","path":"/gforsyth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3596999?s=80&v=4"},"commit":{"message":"Added support of NixOS core tools in ``predict_threadable`` (#5440)\n\n### Motivation\r\n\r\nCloses #5003\r\n\r\n### The case\r\n\r\nCore utils in Nix are symlinks to one binary file that contains all\r\nutils:\r\n\r\n```xsh\r\ndocker run --rm -it nixos/nix bash\r\n\r\nwhich echo\r\n# /nix/store/k6h0vjh342kqlkq69sxjj8i5y50l6jfr-coreutils-9.3/bin/echo\r\n\r\nls -la /nix/store/k6h0vjh342kqlkq69sxjj8i5y50l6jfr-coreutils-9.3/bin/\r\n# b2sum -> coreutils\r\n# base32 -> coreutils\r\n# ...\r\n# All tools are symlinks to one binary file - `coreutils`.\r\n```\r\n\r\nWhen\r\n[`default_predictor_readbin`](https://github.com/xonsh/xonsh/blob/61bda708c992a300eab212f877718cf0050a5e3a/xonsh/commands_cache.py#L392)\r\nread `coreutils` it catches `(b'isatty', b'tcgetattr', b'tcsetattr')`\r\nand return `threadable=False` forever.\r\n\r\nThe list of Nix coreutils tools are exactly the same as in [brew\r\ncoreutils](https://formulae.brew.sh/formula/coreutils). So I can check\r\nthe real predicts on distinct binaries and see that only 2 tools among\r\n106 are unthreadable and they already covered by\r\n`default_threadable_predictors` (If it's wrong please add unthreadable\r\ntools to the\r\n[default_threadable_predictors](https://github.com/xonsh/xonsh/blob/61bda708c992a300eab212f877718cf0050a5e3a/xonsh/commands_cache.py#L518)):\r\n\r\n```xsh\r\nbrew install coreutils\r\n\r\nls /opt/homebrew/opt/coreutils/libexec/gnubin/ | wc -l\r\n# 106\r\n\r\nfor t in p`/opt/homebrew/opt/coreutils/libexec/gnubin/.*`:\r\n if not (th := __xonsh__.commands_cache.predict_threadable([t.name])):\r\n print($(which @(t.name)), th)\r\n# /opt/homebrew/opt/coreutils/libexec/gnubin/cat False\r\n# /opt/homebrew/opt/coreutils/libexec/gnubin/yes False\r\n\r\ndefaults = __import__('xonsh').commands_cache.default_threadable_predictors().keys()\r\ndefaults['cat']\r\n# \r\ndefaults['yes']\r\n# \r\n```\r\n\r\nSo the rest of we need is to check the symlink and apply default\r\nprediction if the tools is the symlink to coreutils. This implements\r\nthis PR. Test included.\r\n\r\n## For community\r\nโฌ‡๏ธ **Please click the ๐Ÿ‘ reaction instead of leaving a `+1` or ๐Ÿ‘\r\ncomment**\r\n\r\n---------\r\n\r\nCo-authored-by: a <1@1.1>\r\nCo-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Added support of NixOS core tools in predict_threadable (#5440)"}},{"before":"f0f282cd966be7f50b6e582803f5493bb356ce20","after":"51e05c16d8da306199700684ba57735a256aa603","ref":"refs/heads/fix_nix","pushedAt":"2024-05-24T19:44:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"ee594eafee4f99e0aa6699b77ebc37c0ff3af020","after":"f0f282cd966be7f50b6e582803f5493bb356ce20","ref":"refs/heads/fix_nix","pushedAt":"2024-05-24T19:44:10.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/fix_nix' into fix_nix","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/fix_nix' into fix_nix"}},{"before":"7bc40dd4bea22e87fb7230a54968aaf118ff6925","after":"ee594eafee4f99e0aa6699b77ebc37c0ff3af020","ref":"refs/heads/fix_nix","pushedAt":"2024-05-24T12:09:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"f24d7fb8d6681825dd210ef7dfd710189c1b87c8","after":"7bc40dd4bea22e87fb7230a54968aaf118ff6925","ref":"refs/heads/fix_nix","pushedAt":"2024-05-24T12:09:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"there is no place for windows here","shortMessageHtmlLink":"there is no place for windows here"}},{"before":"b40a46aa4d75909797fc9b3d2c134b07de2ee989","after":"f24d7fb8d6681825dd210ef7dfd710189c1b87c8","ref":"refs/heads/fix_nix","pushedAt":"2024-05-24T12:04:13.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":null,"after":"b40a46aa4d75909797fc9b3d2c134b07de2ee989","ref":"refs/heads/fix_nix","pushedAt":"2024-05-24T11:51:28.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Fix","shortMessageHtmlLink":"Fix"}},{"before":null,"after":"f57fba89d91485234794cdf8807267125c6e1042","ref":"refs/heads/fix_dircolors","pushedAt":"2024-05-24T09:23:57.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Fix","shortMessageHtmlLink":"Fix"}},{"before":"2e6cf235184812fd0986bc2ff24cbd733bd1ca2c","after":null,"ref":"refs/heads/unpin_ptk","pushedAt":"2024-05-23T18:08:55.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"gforsyth","name":"Gil Forsyth","path":"/gforsyth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3596999?s=80&v=4"}},{"before":"1847f8a3794ddbf29b59a2c8489beacadac9dce8","after":"61bda708c992a300eab212f877718cf0050a5e3a","ref":"refs/heads/main","pushedAt":"2024-05-23T18:08:54.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"gforsyth","name":"Gil Forsyth","path":"/gforsyth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3596999?s=80&v=4"},"commit":{"message":"Unpin prompt-toolkit version (#5438)\n\nMerge this after https://github.com/xonsh/xonsh/pull/5437\r\n\r\n## For community\r\nโฌ‡๏ธ **Please click the ๐Ÿ‘ reaction instead of leaving a `+1` or ๐Ÿ‘\r\ncomment**\r\n\r\n---------\r\n\r\nCo-authored-by: a <1@1.1>","shortMessageHtmlLink":"Unpin prompt-toolkit version (#5438)"}},{"before":"20e709d732f7bfc3cd22e13aa8d5db1657f16a5c","after":null,"ref":"refs/heads/fix_io","pushedAt":"2024-05-23T18:07:31.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"gforsyth","name":"Gil Forsyth","path":"/gforsyth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3596999?s=80&v=4"}},{"before":"0f25a5a348e5569982d2b579a1bfa34d68df2418","after":"1847f8a3794ddbf29b59a2c8489beacadac9dce8","ref":"refs/heads/main","pushedAt":"2024-05-23T18:07:30.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"gforsyth","name":"Gil Forsyth","path":"/gforsyth","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3596999?s=80&v=4"},"commit":{"message":"Fixed `I/O operation on closed file` and `Bad file descriptor` exceptions after running callable aliases multiple times (#5437)\n\n### Motivation\r\n\r\nCloses #5435.\r\n\r\n### After\r\n\r\nAfter this fix I can't reproduce this:\r\n* https://github.com/xonsh/xonsh/issues/5241#issuecomment-1961249511\r\n * We can revert https://github.com/xonsh/xonsh/pull/5288\r\n* https://github.com/xonsh/xonsh/issues/5393 \r\n * We can revert https://github.com/xonsh/xonsh/pull/5403\r\n\r\n### Next step\r\n\r\nHere is the PR for unpin ptk - #5438\r\n\r\n## For community\r\nโฌ‡๏ธ **Please click the ๐Ÿ‘ reaction instead of leaving a `+1` or ๐Ÿ‘\r\ncomment**\r\n\r\n---------\r\n\r\nCo-authored-by: a <1@1.1>\r\nCo-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Fixed I/O operation on closed file and Bad file descriptor exceptโ€ฆ"}},{"before":"609d0c4ab28093d125d4bf88ede089f0fda736ad","after":"20e709d732f7bfc3cd22e13aa8d5db1657f16a5c","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T17:48:54.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"196cb09e65b3b717028cc940bbc8197df8c0e335","after":"609d0c4ab28093d125d4bf88ede089f0fda736ad","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T17:48:42.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/fix_io' into fix_io","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/fix_io' into fix_io"}},{"before":"e2521046f6adee3ddebeaa9bfeff40bb64405e14","after":"196cb09e65b3b717028cc940bbc8197df8c0e335","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T17:42:14.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"a55145504bf9abdbb7561577b7d0e1cd264d0449","after":"e2521046f6adee3ddebeaa9bfeff40bb64405e14","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T17:42:01.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Tests","shortMessageHtmlLink":"Tests"}},{"before":"3a805fae7b3e6cba710294748c3e9cceb40cdf2e","after":"a55145504bf9abdbb7561577b7d0e1cd264d0449","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T17:34:44.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/fix_io' into fix_io","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/fix_io' into fix_io"}},{"before":"8996f6a62ea95d3a5648745cc639215d2d625dce","after":"2e6cf235184812fd0986bc2ff24cbd733bd1ca2c","ref":"refs/heads/unpin_ptk","pushedAt":"2024-05-23T17:33:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Unpin","shortMessageHtmlLink":"Unpin"}},{"before":null,"after":"8996f6a62ea95d3a5648745cc639215d2d625dce","ref":"refs/heads/unpin_ptk","pushedAt":"2024-05-23T17:32:52.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Unpin","shortMessageHtmlLink":"Unpin"}},{"before":"4fb6d248ff36da073c152c81c8dc24b52439da51","after":"3a805fae7b3e6cba710294748c3e9cceb40cdf2e","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T17:25:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"1dc86c85c3cfd3fe27ddbe39611c4387afa6b0a2","after":"4fb6d248ff36da073c152c81c8dc24b52439da51","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T17:24:47.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/main' into fix_io\n\n# Conflicts:\n#\ttests/test_integrations.py","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/main' into fix_io"}},{"before":"f8a2bcaac0c07edf6073aca9e12a05f138f2ef39","after":"1dc86c85c3cfd3fe27ddbe39611c4387afa6b0a2","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T17:08:27.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/fix_io' into fix_io","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/fix_io' into fix_io"}},{"before":"01968493ca92a79cd6a141c85b509a06adf49868","after":"f8a2bcaac0c07edf6073aca9e12a05f138f2ef39","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T16:23:03.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":"9a689e28b86858b248005d08f91dd9987000f420","after":"01968493ca92a79cd6a141c85b509a06adf49868","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T16:22:50.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Merge remote-tracking branch 'origin/fix_io' into fix_io\n\n# Conflicts:\n#\txonsh/procs/__init__.py","shortMessageHtmlLink":"Merge remote-tracking branch 'origin/fix_io' into fix_io"}},{"before":"c10a0c855517e646d04f352ca597b6949be08799","after":"9a689e28b86858b248005d08f91dd9987000f420","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T16:21:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"pre-commit-ci[bot]","name":null,"path":"/apps/pre-commit-ci","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/68672?s=80&v=4"},"commit":{"message":"[pre-commit.ci] auto fixes from pre-commit.com hooks\n\nfor more information, see https://pre-commit.ci","shortMessageHtmlLink":"[pre-commit.ci] auto fixes from pre-commit.com hooks"}},{"before":null,"after":"c10a0c855517e646d04f352ca597b6949be08799","ref":"refs/heads/fix_io","pushedAt":"2024-05-23T16:20:21.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"anki-code","name":"Andy Kipp","path":"/anki-code","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1708680?s=80&v=4"},"commit":{"message":"Fix","shortMessageHtmlLink":"Fix"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEU5zVSQA","startCursor":null,"endCursor":null}},"title":"Activity ยท xonsh/xonsh"}