{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":512109959,"defaultBranch":"main","name":"nix-editor","ownerLogin":"replit","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-07-09T06:19:09.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/983194?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1712361809.0","currentOid":""},"activityList":{"items":[{"before":"fcc591ed4c87f016f35ecdf4b6dee3d8f4363557","after":"a3b86d6cc3e9a790a7b4a8a443a4b858bde99024","ref":"refs/heads/main","pushedAt":"2024-04-08T19:34:40.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #23 from replit/rtm-04-04-fix-nix-fmt\n\n[dev] fix nix fmt","shortMessageHtmlLink":"Merge pull request #23 from replit/rtm-04-04-fix-nix-fmt"}},{"before":"b55f5669de41f96bb79b84de967d77c400cf6b50","after":null,"ref":"refs/heads/rtm-04-04-fix-with-pkgs","pushedAt":"2024-04-06T00:03:29.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"}},{"before":"fb83e47c3ba0aa79e9784e10f46481d0ef52e83f","after":"fcc591ed4c87f016f35ecdf4b6dee3d8f4363557","ref":"refs/heads/main","pushedAt":"2024-04-05T19:55:07.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #24 from replit/rtm-04-04-fix-with-pkgs\n\nfix adding when deps has with pkgs;","shortMessageHtmlLink":"Merge pull request #24 from replit/rtm-04-04-fix-with-pkgs"}},{"before":"93d57a0991be02ffb7b1863576ad273a8beb88d0","after":"b55f5669de41f96bb79b84de967d77c400cf6b50","ref":"refs/heads/rtm-04-04-fix-with-pkgs","pushedAt":"2024-04-04T15:23:24.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"fix adding when deps has with pkgs;\n\nWhy\n===\n* Sometimes people write\n\n```\ndeps = with pkgs; [\n test\n];\n```\n* if they do, we crash.\n* let's not crash.\n\nWhat changed\n===\n* Add tests for adding and removing with with_pkgs\n* Made test case pass\n\nTest plan\n===\n* cargo test passes","shortMessageHtmlLink":"fix adding when deps has with pkgs;"}},{"before":null,"after":"93d57a0991be02ffb7b1863576ad273a8beb88d0","ref":"refs/heads/rtm-04-04-fix-with-pkgs","pushedAt":"2024-04-04T15:19:47.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"fix adding when deps has with pkgs;\n\nWhy\n===\n* Sometimes people write\n\n```\ndeps = with pkgs; [\n test\n];\n```\n* if they do, we crash.\n* let's not crash.\n\nWhat changed\n===\n* Add tests for adding and removing with with_pkgs\n* Made test case pass\n\nTest plan\n===\n* cargo test passes","shortMessageHtmlLink":"fix adding when deps has with pkgs;"}},{"before":null,"after":"ee9346240cfe1125c007bd19c0c482c9e6a94942","ref":"refs/heads/rtm-04-04-fix-nix-fmt","pushedAt":"2024-04-04T14:35:31.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"[dev] fix nix fmt\n\nWhy\n===\n* `nix fmt` failed when I ran it\n\nWhat changed\n===\n* Use writeShellApplication instead which will do linting\n\nTest plan\n===\n* Ran `nix fmt` and it worked","shortMessageHtmlLink":"[dev] fix nix fmt"}},{"before":"4af0b4c05e63badabc01cae6d26394e7c558be33","after":"fb83e47c3ba0aa79e9784e10f46481d0ef52e83f","ref":"refs/heads/main","pushedAt":"2023-11-27T22:09:55.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #22 from replit/rtm-11-27-better-empty-handling\n\nonly create replit.nix if the file is not found, not on other errors","shortMessageHtmlLink":"Merge pull request #22 from replit/rtm-11-27-better-empty-handling"}},{"before":null,"after":"f5fd15d1dbb7adfbd218da2308a8b334abf3b40e","ref":"refs/heads/rtm-11-27-better-empty-handling","pushedAt":"2023-11-27T16:48:00.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"only create replit.nix if the file is not found, not on other errors\n\nWhy\n===\n* Other filesystem errors could result in overwriting an existing\nreplit.nix file, so lets only do this if the file is truly not found\n\nWhat changed\n===\n* Only return the empty template if we get a NotFound error.\nOtherwise, bail early like before.\n\nTest plan\n===\n* Confirm that we still make a replit.nix","shortMessageHtmlLink":"only create replit.nix if the file is not found, not on other errors"}},{"before":"a147755f8c56352314ac700a63f02cd65566048d","after":null,"ref":"refs/heads/rtm-10-19-handle-empty","pushedAt":"2023-10-20T00:48:40.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"masad-frost","name":"Faris Masad","path":"/masad-frost","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1994028?s=80&v=4"}},{"before":"7cd4317977cd01ddbc0e2fe5d39b0cdebb64ba06","after":"4af0b4c05e63badabc01cae6d26394e7c558be33","ref":"refs/heads/main","pushedAt":"2023-10-20T00:46:32.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #21 from replit/rtm-10-19-handle-empty\n\nverify_get: handle empty file","shortMessageHtmlLink":"Merge pull request #21 from replit/rtm-10-19-handle-empty"}},{"before":null,"after":"a147755f8c56352314ac700a63f02cd65566048d","ref":"refs/heads/rtm-10-19-handle-empty","pushedAt":"2023-10-19T22:44:46.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"verify_get: handle empty file\n\nWhy\n===\n* If a replit.nix file is empty, we don't want to fail, we can just\ninsert what we need to insert.\n\nWhat changed\n===\n* Add unit test for an empty file\n* Add template_empty function to get the full empty template we want\nto insert\n* If the root node has no children, splice in the empty template\n\nTest plan\n===\n* cargo test\n* make an empty replit.nix file\n* run nix-editor --add pkgs.ncdu\n* See it adds the pkg and doesn't error out","shortMessageHtmlLink":"verify_get: handle empty file"}},{"before":"0d6b3e147e8e8223cf39924b900188c806a78512","after":null,"ref":"refs/heads/dependabot/cargo/rustix-0.38.19","pushedAt":"2023-10-18T18:55:46.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"}},{"before":"2ecfe2bc906c07fba727ca00a784b88248eefef7","after":"7cd4317977cd01ddbc0e2fe5d39b0cdebb64ba06","ref":"refs/heads/main","pushedAt":"2023-10-18T18:55:43.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #19 from replit/dependabot/cargo/rustix-0.38.19\n\nBump rustix from 0.38.17 to 0.38.19","shortMessageHtmlLink":"Merge pull request #19 from replit/dependabot/cargo/rustix-0.38.19"}},{"before":null,"after":"0d6b3e147e8e8223cf39924b900188c806a78512","ref":"refs/heads/dependabot/cargo/rustix-0.38.19","pushedAt":"2023-10-18T18:45:30.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"},"commit":{"message":"Bump rustix from 0.38.17 to 0.38.19\n\nBumps [rustix](https://github.com/bytecodealliance/rustix) from 0.38.17 to 0.38.19.\n- [Release notes](https://github.com/bytecodealliance/rustix/releases)\n- [Commits](https://github.com/bytecodealliance/rustix/compare/v0.38.17...v0.38.19)\n\n---\nupdated-dependencies:\n- dependency-name: rustix\n dependency-type: indirect\n...\n\nSigned-off-by: dependabot[bot] ","shortMessageHtmlLink":"Bump rustix from 0.38.17 to 0.38.19"}},{"before":"a0a1f9208b4e8a98f5be397cb5497360aa71955c","after":null,"ref":"refs/heads/rtm-10-11-no-change-no-write","pushedAt":"2023-10-11T19:09:03.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"}},{"before":"87c11f031ac859944b5ff9140b8decdfd9ec0b5f","after":"2ecfe2bc906c07fba727ca00a784b88248eefef7","ref":"refs/heads/main","pushedAt":"2023-10-11T19:08:50.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #18 from replit/rtm-10-11-no-change-no-write\n\nDo not write to file if new contents match old contents","shortMessageHtmlLink":"Merge pull request #18 from replit/rtm-10-11-no-change-no-write"}},{"before":null,"after":"a0a1f9208b4e8a98f5be397cb5497360aa71955c","ref":"refs/heads/rtm-10-11-no-change-no-write","pushedAt":"2023-10-11T16:27:36.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Do not write to file if new contents match old contents\n\nWhy\n===\n* Writing to replit.nix causes the nix environment to build on Replit,\nand there is no reason to do that if there were no changes to the\nfile.\n\nWhat changed\n===\n* Derive Clone for Args for use in integration test.\n* Add integration test that checks the modification time of a file\ndoesn't change when an Add operation is repeated\n* Skip writing if the contents are unchanged\n\nTest plan\n==\n* cargo test","shortMessageHtmlLink":"Do not write to file if new contents match old contents"}},{"before":"060720f5d08fa8f42ed1941ca87228f9fb2250f2","after":null,"ref":"refs/heads/rtm-fmt","pushedAt":"2023-10-06T19:35:17.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"}},{"before":"ac1468a656998b30bcadc0594d2e9a64d430a856","after":"87c11f031ac859944b5ff9140b8decdfd9ec0b5f","ref":"refs/heads/main","pushedAt":"2023-10-06T19:35:13.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #16 from replit/rtm-fmt\n\ncontrib: add a nix deveshell and fmt","shortMessageHtmlLink":"Merge pull request #16 from replit/rtm-fmt"}},{"before":null,"after":"060720f5d08fa8f42ed1941ca87228f9fb2250f2","ref":"refs/heads/rtm-fmt","pushedAt":"2023-10-06T19:29:11.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"contrib: add a nix deveshell and fmt\n\nWhy\n===\n* Our code was deviating from the rustfmt standard\n* We didn't have a proper devshell, it was just using the devshell of\nthe default package\n\nWhat changed\n===\n* Added `nix develop` devshell\n* Added `nix fmt`\n* Formatted nix and rust code\n\nTest plan\n===\n* cargo build still works\n* nix build still works","shortMessageHtmlLink":"contrib: add a nix deveshell and fmt"}},{"before":"95a2bc79d74c24f2f0667219f68d62d2116c14f0","after":null,"ref":"refs/heads/rtm-10-4-add-if-missing","pushedAt":"2023-10-06T19:20:07.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"}},{"before":"b66f63622a502c83e9b51cbba613f84e0b22d5b5","after":"ac1468a656998b30bcadc0594d2e9a64d430a856","ref":"refs/heads/main","pushedAt":"2023-10-06T19:19:50.000Z","pushType":"pr_merge","commitsCount":3,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #15 from replit/rtm-10-4-add-if-missing\n\nverify_get: if deps, or env or PYTHON_LD_LIBRARY_PATH are not present add them","shortMessageHtmlLink":"Merge pull request #15 from replit/rtm-10-4-add-if-missing"}},{"before":"8cef9528230cf7207c1e28b0236f769ee4b66ce8","after":"95a2bc79d74c24f2f0667219f68d62d2116c14f0","ref":"refs/heads/rtm-10-4-add-if-missing","pushedAt":"2023-10-06T19:05:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"add newline","shortMessageHtmlLink":"add newline"}},{"before":null,"after":"8cef9528230cf7207c1e28b0236f769ee4b66ce8","ref":"refs/heads/rtm-10-4-add-if-missing","pushedAt":"2023-10-05T20:14:10.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"verify_get: if deps, or env or PYTHON_LD_LIBRARY_PATH are not present add them\n\nWhy\n===\n* If somene has their replit.nix file in some unexpected state, we\nneed to patch in missing parts to add stuff in the right place.\n* We need this for better system dependency fixing\n* There was a problem with the integration tests flaking, and I think\nthe AST editing actually broke the integration tests.\n\nWhat changed\n===\n* Add tempfile crate (needed newer version of Rust, so updated\nnixpkgs), to make integration tests more robust\n* Fix integration tests\n* Add tests for verify_get with missing entries\n\nTest plan\n===\n* cargo test","shortMessageHtmlLink":"verify_get: if deps, or env or PYTHON_LD_LIBRARY_PATH are not present…"}},{"before":"b2399bb04440e968de808430a1be81f8ff0f9ff2","after":null,"ref":"refs/heads/rtm-9-29-ast-editor","pushedAt":"2023-10-04T22:36:57.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"}},{"before":"acf5738f88628caf79e2e0b0a5902f5093502d98","after":"b66f63622a502c83e9b51cbba613f84e0b22d5b5","ref":"refs/heads/main","pushedAt":"2023-10-04T21:47:37.000Z","pushType":"pr_merge","commitsCount":4,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"Merge pull request #14 from replit/rtm-9-29-ast-editor\n\nadder: modify syntax tree instead of strings","shortMessageHtmlLink":"Merge pull request #14 from replit/rtm-9-29-ast-editor"}},{"before":"3dd4ff1436b6e6f9c9e80d02567b849428d69295","after":"b2399bb04440e968de808430a1be81f8ff0f9ff2","ref":"refs/heads/rtm-9-29-ast-editor","pushedAt":"2023-10-04T21:38:44.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"adder: avoid allocation and other complexity","shortMessageHtmlLink":"adder: avoid allocation and other complexity"}},{"before":"37bcff59d445706d268b54713ce5ad845d9bf9ad","after":"3dd4ff1436b6e6f9c9e80d02567b849428d69295","ref":"refs/heads/rtm-9-29-ast-editor","pushedAt":"2023-10-04T21:27:24.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"},"commit":{"message":"adder: change python_replit_nix() function to const","shortMessageHtmlLink":"adder: change python_replit_nix() function to const"}},{"before":"1e1edd1b2b039a2d0ac1ba3a7b014207d9b4a610","after":null,"ref":"refs/heads/rtm-9-27-integration-testing","pushedAt":"2023-10-04T20:09:41.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"}},{"before":"ad616f7ce48d6bc0c236fd711cb31faf14c19bd4","after":null,"ref":"refs/heads/rtm-9-27-upgrade-rnix","pushedAt":"2023-10-04T20:08:53.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"ryantm","name":"Ryan Mulligan","path":"/ryantm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4804?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEK0pChwA","startCursor":null,"endCursor":null}},"title":"Activity · replit/nix-editor"}