{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":434317664,"defaultBranch":"main","name":"ssh2-config","ownerLogin":"veeso","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2021-12-02T17:40:35.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/27995909?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1701789081.0","currentOid":""},"activityList":{"items":[{"before":"36908165a8b903940896ff1c5c7599c08f1197ab","after":"d7b2cb3c11e92944994c40797c44628519457353","ref":"refs/heads/main","pushedAt":"2024-03-08T13:40:39.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"Update README.md","shortMessageHtmlLink":"Update README.md"}},{"before":"29a9ad85fdb7c955548f10252f883a2e807ba688","after":"36908165a8b903940896ff1c5c7599c08f1197ab","ref":"refs/heads/main","pushedAt":"2023-12-05T15:12:28.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"fix: donation link","shortMessageHtmlLink":"fix: donation link"}},{"before":"02ff1b99908934fef72652527e0cbe86bae338b5","after":"29a9ad85fdb7c955548f10252f883a2e807ba688","ref":"refs/heads/main","pushedAt":"2023-12-05T15:10:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"0.2.3","shortMessageHtmlLink":"0.2.3"}},{"before":"7a5b25292273c22cdcc7399e703bacd9ee369555","after":"02ff1b99908934fef72652527e0cbe86bae338b5","ref":"refs/heads/main","pushedAt":"2023-12-05T15:07:16.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"fix: correctly apply configuration precedence in reverse parsing order (#12)\n\n* fix: correctly apply configuration precedence in reverse parsing order\r\n\r\nThis change fixes #11:\r\n\r\nPreviously, the order of precedence applied to\r\nparsed configuration was incorrect.\r\n\r\nConfiguration was parsed, then sorted in\r\nalphabetical order.\r\n\r\nAlgorithms (ciphers, key\r\nexchange algorithms, MACs, etc.) were incorrectly\r\napplied during parsing.\r\n\r\nThe correct precedence order follows\r\nhttps://linux.die.net/man/5/ssh_config: the\r\nconfiguration is read from top to bottom,\r\nprecedence is applied from bottom (lowest)\r\nto the top (highest precedence).\r\n\r\nOptions preceding the first `Host` block are\r\nconsidered implicit command line options, in\r\nline with OpenSSH's own implementation.\r\n\r\nThis patch includes the following changes:\r\n\r\n- Remove the alphabetic ordering of host sections.\r\n\r\n- Merge matching host sections in reverse order.\r\n\r\n- More efficiently merge host sections with\r\n vastly reduced `clone`s. (`clone` on demand.)\r\n\r\n- Resolve algorithms not during the parsing,\r\n but during the resolving stage.\r\n\r\n- More efficiently resolve algorithms, without\r\n source list mutation.\r\n\r\n- Adjust existing unit tests to test the corrected\r\n precedence algorithm.\r\n\r\n* feat: improve error-tests by matching on error enum variant\r\n\r\nThis change improves error-tests by replacing\r\n`Result::is_err` with a match against the error\r\nenum.\r\n\r\nPreviously, only the existence of an error result\r\nwas checked.\r\n\r\nWith the first additional commit,\r\nthe kind of error is checked as well.\r\n\r\n* style: return `Result` from success tests, using `?` (Rust 2018 idiom)\r\n\r\nThis change improves success-tests by applying\r\nthe Rust 2018 idiom of returning `Result`\r\nfrom tests.\r\n\r\nThis way, `Result::unwrap` and `Result::is_ok`\r\ncan be replaced by `?`.\r\n\r\nAny error occurring in a success-test\r\nis propagated to the test runner.\r\n\r\nSome tests previously called `.ok().unwrap()` on\r\n`Result`s, effectively first turning them into\r\n`Option`s before unwrapping.\r\n\r\nThis unidiomatic pattern is replaced\r\nby `?` as well.","shortMessageHtmlLink":"fix: correctly apply configuration precedence in reverse parsing order ("}},{"before":"a0206537d00334e68878b9d23b5fae91e6fe36cb","after":"7a5b25292273c22cdcc7399e703bacd9ee369555","ref":"refs/heads/main","pushedAt":"2023-07-31T08:06:26.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"0.2.2","shortMessageHtmlLink":"0.2.2"}},{"before":"c7b63be5444bb80aca4418ee5c8026444e212352","after":"a0206537d00334e68878b9d23b5fae91e6fe36cb","ref":"refs/heads/main","pushedAt":"2023-07-28T14:22:50.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"0.2.1","shortMessageHtmlLink":"0.2.1"}},{"before":"f4aa49db498ea5234043dd8da5b3dfdbc6e2e635","after":"c7b63be5444bb80aca4418ee5c8026444e212352","ref":"refs/heads/main","pushedAt":"2023-07-28T14:21:21.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"don't copy str value","shortMessageHtmlLink":"don't copy str value"}},{"before":"36bd55ee99a6d2bc817cf7bd736be4e9df0654ae","after":"f4aa49db498ea5234043dd8da5b3dfdbc6e2e635","ref":"refs/heads/main","pushedAt":"2023-07-28T14:15:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"Add default constructor (#7)\n\nCo-authored-by: orion GONZALEZ (contractor) \r\nCo-authored-by: veeso ","shortMessageHtmlLink":"Add default constructor (#7)"}},{"before":"523cd3272cc4545a404549a5959ad9680be15a51","after":null,"ref":"refs/heads/add-default-constructor","pushedAt":"2023-07-28T13:44:21.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"}},{"before":null,"after":"523cd3272cc4545a404549a5959ad9680be15a51","ref":"refs/heads/add-default-constructor","pushedAt":"2023-07-28T13:44:08.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"added tests","shortMessageHtmlLink":"added tests"}},{"before":"f5b99c0e868c1fa40bdfdeb6560e49c1c8bfe526","after":null,"ref":"refs/heads/add-default-constructor","pushedAt":"2023-07-28T13:39:30.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"}},{"before":null,"after":"f5b99c0e868c1fa40bdfdeb6560e49c1c8bfe526","ref":"refs/heads/add-default-constructor","pushedAt":"2023-07-28T13:37:45.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"added default constructor","shortMessageHtmlLink":"added default constructor"}},{"before":"15a8b09404a7e4da7518957a3fb8df18af7d10cb","after":"36bd55ee99a6d2bc817cf7bd736be4e9df0654ae","ref":"refs/heads/main","pushedAt":"2023-07-28T13:35:00.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"expose self.hosts (#5)\n\nCo-authored-by: orion GONZALEZ (contractor) ","shortMessageHtmlLink":"expose self.hosts (#5)"}},{"before":"aab900ee2e7f02e72c5311f985c3756f43bfabfd","after":"15a8b09404a7e4da7518957a3fb8df18af7d10cb","ref":"refs/heads/main","pushedAt":"2023-05-09T16:23:08.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"0.2.0","shortMessageHtmlLink":"0.2.0"}},{"before":"57b15ef6cb5878fe2441081835705f5e6cd3cd6b","after":"aab900ee2e7f02e72c5311f985c3756f43bfabfd","ref":"refs/heads/main","pushedAt":"2023-05-09T16:18:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"veeso","name":"Christian Visintin","path":"/veeso","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/27995909?s=80&v=4"},"commit":{"message":"feat: Added `ParseRule` field to `parse()` method to specify some rules for parsing. ❗ To keep the behaviour as-is use `ParseRule::STRICT`","shortMessageHtmlLink":"feat: Added ParseRule field to parse() method to specify some rul…"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEEDGnDAA","startCursor":null,"endCursor":null}},"title":"Activity · veeso/ssh2-config"}