{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":41848331,"defaultBranch":"master","name":"briefly","ownerLogin":"CargoSense","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2015-09-03T07:58:40.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/3963271?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1705693220.0","currentOid":""},"activityList":{"items":[{"before":"335af377bfab49c34644b22eaf3ddf21835843b4","after":"a533393826195e640f24089fca751826858ebe53","ref":"refs/heads/master","pushedAt":"2024-01-19T19:40:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"benwilson512","name":"Ben Wilson","path":"/benwilson512","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/247817?s=80&v=4"},"commit":{"message":"version bump and changelog","shortMessageHtmlLink":"version bump and changelog"}},{"before":"4836ba322ffb504a102a15cc6e35d928ef97120e","after":"335af377bfab49c34644b22eaf3ddf21835843b4","ref":"refs/heads/master","pushedAt":"2024-01-19T19:32:49.000Z","pushType":"pr_merge","commitsCount":5,"pusher":{"login":"benwilson512","name":"Ben Wilson","path":"/benwilson512","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/247817?s=80&v=4"},"commit":{"message":"Merge pull request #43 from mojotech/kb/security-improvements\n\nTwo Security Improvements","shortMessageHtmlLink":"Merge pull request #43 from mojotech/kb/security-improvements"}},{"before":"5a6c61ce7103930f7a7aee3c64520d8c5f8be64c","after":"4836ba322ffb504a102a15cc6e35d928ef97120e","ref":"refs/heads/master","pushedAt":"2023-11-16T00:50:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mcrumm","name":"Michael Crumm","path":"/mcrumm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168677?s=80&v=4"},"commit":{"message":"Update version in guides","shortMessageHtmlLink":"Update version in guides"}},{"before":"d5e2191f269aba12809496101eb18bbc6673f87e","after":"5a6c61ce7103930f7a7aee3c64520d8c5f8be64c","ref":"refs/heads/master","pushedAt":"2023-11-16T00:34:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mcrumm","name":"Michael Crumm","path":"/mcrumm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168677?s=80&v=4"},"commit":{"message":"Release v0.5.0","shortMessageHtmlLink":"Release v0.5.0"}},{"before":"587de5e87c9b4a5328c58300e5054ad61640ffe7","after":"d5e2191f269aba12809496101eb18bbc6673f87e","ref":"refs/heads/master","pushedAt":"2023-11-16T00:31:56.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mcrumm","name":"Michael Crumm","path":"/mcrumm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168677?s=80&v=4"},"commit":{"message":"Update changelog","shortMessageHtmlLink":"Update changelog"}},{"before":"6b98fe9d012eaca6d8b487c384dc8bde1ca75b71","after":null,"ref":"refs/heads/mc-exceptions","pushedAt":"2023-11-14T23:21:50.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mcrumm","name":"Michael Crumm","path":"/mcrumm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168677?s=80&v=4"}},{"before":"1f6181789dd441991b09e02bc63fd6f2e4309add","after":"587de5e87c9b4a5328c58300e5054ad61640ffe7","ref":"refs/heads/master","pushedAt":"2023-11-14T23:21:44.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mcrumm","name":"Michael Crumm","path":"/mcrumm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168677?s=80&v=4"},"commit":{"message":"Return exceptions for all filesystem errors (#44)\n\nThe following changes are aimed at simplifying the Briefly API:\r\n\r\n`Briefly.create()` and `Briefly.create(opts)` now return either `{:ok, path}` or\r\n`{:error, Exception.t()}`. The following exceptions may be returned:\r\n\r\n - `%Briefly.NoRootDirectoryError{}` - Returned if Briefly is unable to create a root temporary\r\n directory.\r\n\r\n - `%Briefly.WriteError{}` - Returned when a temporary entry cannot be created. The exception\r\n contains the POSIX error code the caused the failure.\r\n\r\nThe `:too_many_attempts` error is not directly actionable so it is no longer surfaced. Since Briefly\r\nstill performs several write attempts when faced with `:eexist` and `:eaccess` error codes, too many\r\nattempts can be inferred when either of those codes are returned.\r\n\r\nThe error messages raised by `Briefly.create!()` have been moved to the Exception modules and aside\r\nfrom no longer printing the number of attempts they provide the same information.\r\n\r\nFor example, if you have this:\r\n\r\n```elixir\r\ncase Briefly.create() do\r\n {:ok, path} -> path\r\n {:no_space, _} -> raise \"no space\"\r\n {:too_many_attempts, _} -> raise \"too many attempts\"\r\n {:no_tmp, _} -> raise \"no tmp dirs\"\r\nend\r\n```\r\n\r\n...then change it to this:\r\n\r\n```elixir\r\ncase Briefly.create() do\r\n {:ok, path} -> path\r\n {:error, %Briefly.WriteError{code: :enospc}} -> raise \"no space\"\r\n {:error, %Briefly.WriteError{code: c}} when c in [:eexist, :eacces] -> raise \"too many attempts\"\r\n {:error, %Briefly.NoRootDirectoryError{}} -> raise \"no tmp dirs\"\r\n {:error, exception} -> raise exception\r\nend\r\n```","shortMessageHtmlLink":"Return exceptions for all filesystem errors (#44)"}},{"before":null,"after":"6b98fe9d012eaca6d8b487c384dc8bde1ca75b71","ref":"refs/heads/mc-exceptions","pushedAt":"2023-11-07T02:20:55.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mcrumm","name":"Michael Crumm","path":"/mcrumm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168677?s=80&v=4"},"commit":{"message":"Return exceptions for all filesystem errors\n\nThe following changes are aimed at simplifying the Briefly API:\n\n`Briefly.create()` and `Briefly.create(opts)` now return either `{:ok, path}` or\n`{:error, Exception.t()}`. The following exceptions may be returned:\n\n - `%Briefly.NoRootDirectoryError{}` - Returned if Briefly is unable to create a root temporary\n directory.\n\n - `%Briefly.WriteError{}` - Returned when a temporary entry cannot be created. The exception\n contains the POSIX error code the caused the failure.\n\nThe `:too_many_attempts` error is not directly actionable so it is no longer surfaced. Since Briefly\nstill performs several write attempts when faced with `:eexist` and `:eaccess` error codes, too many\nattempts can be inferred when either of those codes are returned.\n\nThe error messages raised by `Briefly.create!()` have been moved to the Exception modules and aside\nfrom no longer printing the number of attempts they provide the same information.\n\nFor example, if you have this:\n\n```elixir\ncase Briefly.create() do\n {:ok, path} -> path\n {:no_space, _} -> raise \"no space\"\n {:too_many_attempts, _} -> raise \"too many attempts\"\n {:no_tmp, _} -> raise \"no tmp dirs\"\nend\n```\n\n...then change it to this:\n\n```elixir\ncase Briefly.create() do\n {:ok, path} -> path\n {:error, %Briefly.WriteError{code: :enospc}} -> raise \"no space\"\n {:error, %Briefly.WriteError{code: c}} when c in [:eexist, :eacces] -> raise \"too many attempts\"\n {:error, %Briefly.NoRootDirectoryError{}} -> raise \"no tmp dirs\"\n {:error, exception} -> raise exception\nend\n```","shortMessageHtmlLink":"Return exceptions for all filesystem errors"}},{"before":"51dfe7fbe0f897ea2a921d9af120762392aca6a1","after":"1f6181789dd441991b09e02bc63fd6f2e4309add","ref":"refs/heads/master","pushedAt":"2023-11-06T22:40:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mcrumm","name":"Michael Crumm","path":"/mcrumm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168677?s=80&v=4"},"commit":{"message":"Update ex_doc","shortMessageHtmlLink":"Update ex_doc"}},{"before":"678a3763e72a7d1f23ac71b209b96bd199bffbbb","after":"51dfe7fbe0f897ea2a921d9af120762392aca6a1","ref":"refs/heads/master","pushedAt":"2023-09-25T20:27:29.000Z","pushType":"pr_merge","commitsCount":2,"pusher":{"login":"benwilson512","name":"Ben Wilson","path":"/benwilson512","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/247817?s=80&v=4"},"commit":{"message":"Merge pull request #42 from infinityoneframework/fail-full\n\nHandle disk full errors","shortMessageHtmlLink":"Merge pull request #42 from infinityoneframework/fail-full"}},{"before":"20d1318ec22259923ebd94331c0227895f1faa70","after":"678a3763e72a7d1f23ac71b209b96bd199bffbbb","ref":"refs/heads/master","pushedAt":"2023-05-17T19:47:35.375Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mcrumm","name":"Michael Crumm","path":"/mcrumm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/168677?s=80&v=4"},"commit":{"message":"Add instructions for running inside a script (#41)","shortMessageHtmlLink":"Add instructions for running inside a script (#41)"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD5EyutQA","startCursor":null,"endCursor":null}},"title":"Activity ยท CargoSense/briefly"}