retry
brew install retry
v1.0.6
Apache-2.0
Repeat a command until the command succeeds
462
30-day installs · #1826
1.4k
90-day · #1887
5.2k
365-day · #1906
158
★ GitHub stars · updated 8mo ago
Links
- https://github.com/minfrin/retry
- GitHub: minfrin/retry
- Brew formula source: Formula/r/retry.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Repeat a command until the command succeeds",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:41:41+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "retry",
"github_default_branch": "main",
"github_last_commit_at": "2025-12-08T13:56:08Z",
"github_readme_excerpt": "# retry\nRetry a command until the command succeeds.\n\nRetry captures stdin into memory as the data is passed to the repeated\ncommand, and this captured stdin is then replayed should the command be\nrepeated. This makes it possible to embed the retry tool into shell pipelines.\n\nRetry captures stdout into memory, and if the command was successful stdout\nis passed on to stdout as normal, while if the command was repeated stdout is\npassed to stderr instead. This ensures that output is passed to stdout once\nand once only.\n\n# downloads\n\nThe retry tool is available as RPMs through [COPR] as follows:\n\n```\ndnf copr enable minfrin/retry\ndnf install retry\n```\n\nThe retry tool is available by default on Debian derived systems, Fedora\nsystems, and EPEL.\n\n# example\n```\n~$ retry --until=success -- false\nretry: \u0027false\u0027 returned 1, backing off for 10 seconds and trying again...\nretry: \u0027false\u0027 returned 1, backing off for 10 seconds and trying again...\nretry: \u0027false\u0027 returned 1, backing off for 10 seconds and trying again...\n^C\n```\n\n# more complex example\n```\n~$ retry -- curl --fail http://localhost/entities | \\\n jq ... | \\\n retry -- curl --fail -X POST http://localhost/resource | \\\n logger -t resource-init\n```\n\n# staggered delays\n```\n~$ retry --until=success --delay \"1,2,4,8,16,32,64\" -- false\nretry: false returned 1, backing off for 1 second and trying again...\nretry: false returned 1, backing off for 2 seconds and trying again...\nretry: false returned 1, backing off for 4 seconds and trying again...\nretry: false returned 1, backing off for 8 seconds and trying again...\nretry: false returned 1, backing off for 16 seconds and trying again...\nretry: false returned 1, backing off for 32 seconds and trying again...\nretry: false returned 1, backing off for 64 seconds and trying again...\nretry: false returned 1, backing off for 64 seconds and trying again...\nretry: false returned 1, backing off for 64 seconds and trying again...\n^C\n```\n\n# fixed number of times\n```\n~$ retry --times=3 -- fa",
"github_repo": "minfrin/retry",
"github_stars": 158,
"github_topics": [],
"homepage": "https://github.com/minfrin/retry",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 462,
"installs_365d": 5160,
"installs_90d": 1376,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "Apache-2.0",
"llm_generated_at": null,
"llm_model": null,
"name": "retry",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 1826,
"rank_365d": 1906,
"rank_90d": 1887,
"raw_hash": "c4b61283ba1d4b17",
"recommended_dependencies": [],
"revision": 0,
"ruby_source_path": "Formula/r/retry.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "1.0.6",
"versioned_formulae": [],
"why_use_this": null
}