{"id":20081551,"url":"https://github.com/homeport/retry","last_synced_at":"2026-06-08T08:06:20.855Z","repository":{"id":48168110,"uuid":"516657312","full_name":"homeport/retry","owner":"homeport","description":"Tool to retry a command in case it fails","archived":false,"fork":false,"pushed_at":"2026-05-18T19:52:44.000Z","size":384,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-18T21:56:49.453Z","etag":null,"topics":["buffered","go","retry"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/homeport.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-07-22T07:42:02.000Z","updated_at":"2026-05-18T19:53:08.000Z","dependencies_parsed_at":"2023-02-19T06:31:10.102Z","dependency_job_id":"24dae3f3-8aef-4ff7-b5e0-adbd9ca7c966","html_url":"https://github.com/homeport/retry","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/homeport/retry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homeport%2Fretry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homeport%2Fretry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homeport%2Fretry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homeport%2Fretry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/homeport","download_url":"https://codeload.github.com/homeport/retry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/homeport%2Fretry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34053515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["buffered","go","retry"],"created_at":"2024-11-13T15:39:26.610Z","updated_at":"2026-06-08T08:06:20.828Z","avatar_url":"https://github.com/homeport.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# retry\n\n[![License](https://img.shields.io/github/license/homeport/retry.svg)](https://github.com/homeport/retry/blob/main/LICENSE)\n[![Go Report Card](https://goreportcard.com/badge/github.com/homeport/retry)](https://goreportcard.com/report/github.com/homeport/retry)\n[![Tests](https://github.com/homeport/retry/workflows/Tests/badge.svg)](https://github.com/homeport/retry/actions?query=workflow%3A%22Tests%22)\n[![Codecov](https://img.shields.io/codecov/c/github/homeport/retry/main.svg)](https://codecov.io/gh/homeport/retry)\n[![Go Reference](https://pkg.go.dev/badge/github.com/homeport/retry.svg)](https://pkg.go.dev/github.com/homeport/retry)\n[![Release](https://img.shields.io/github/release/homeport/retry.svg)](https://github.com/homeport/retry/releases/latest)\n\nTool to retry a command in case it fails. Prepend `retry` to your command and it will retry the command in case of an exit code other than zero.\n\nPlease note, in case data is piped into the tool, `retry` will read and buffer any data from standard input and reuse it with every other attempt.\n\n![retry](.docs/example.png?raw=true \"example usage of retry\")\n\n## Installation\n\n### Homebrew\n\nThe `homeport/tap` has macOS and GNU/Linux pre-built binaries available:\n\n```bash\nbrew install homeport/tap/retry\n```\n\n### Pre-built binaries in GitHub\n\nPrebuilt binaries can be [downloaded from the GitHub Releases section](https://github.com/homeport/retry/releases/latest).\n\n### Curl To Shell Convenience Script\n\nThere is a convenience script to download the latest release for Linux or macOS if you want to need it simple (you need `curl` and `jq` installed on your machine):\n\n```bash\ncurl --silent --location https://raw.githubusercontent.com/homeport/retry/main/hack/download.sh | bash\n```\n\n## Contributing\n\nWe are happy to have other people contributing to the project. If you decide to do that, here's how to:\n\n- get Go (`retry` requires Go version 1.20 or greater)\n- fork the project\n- create a new branch\n- make your changes\n- open a PR.\n\nGit commit messages should be meaningful and follow the rules nicely written down by [Chris Beams](https://chris.beams.io/posts/git-commit/):\n\u003e The seven rules of a great Git commit message\n\u003e\n\u003e 1. Separate subject from body with a blank line\n\u003e 1. Limit the subject line to 50 characters\n\u003e 1. Capitalize the subject line\n\u003e 1. Do not end the subject line with a period\n\u003e 1. Use the imperative mood in the subject line\n\u003e 1. Wrap the body at 72 characters\n\u003e 1. Use the body to explain what and why vs. how\n\n### Running test cases and binaries generation\n\nRun test cases:\n\n```bash\nginkgo run ./...\n```\n\nCreate binaries:\n\n```bash\ngoreleaser build --rm-dist --snapshot\n```\n\n## License\n\nLicensed under [MIT License](https://github.com/homeport/retry/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomeport%2Fretry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhomeport%2Fretry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomeport%2Fretry/lists"}