{"id":17919367,"url":"https://github.com/zombiezen/redo-rs","last_synced_at":"2025-08-11T14:45:26.223Z","repository":{"id":40330678,"uuid":"254412957","full_name":"zombiezen/redo-rs","owner":"zombiezen","description":"Port of apenwarr's redo to Rust","archived":false,"fork":false,"pushed_at":"2025-06-15T20:56:45.000Z","size":302,"stargazers_count":29,"open_issues_count":7,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-15T22:04:34.350Z","etag":null,"topics":["build","build-automation","build-system","makefile","parallel","scripting"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zombiezen.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"zombiezen"}},"created_at":"2020-04-09T15:43:38.000Z","updated_at":"2025-06-15T20:56:49.000Z","dependencies_parsed_at":"2025-06-15T21:44:48.008Z","dependency_job_id":"03bf21f2-a597-44c9-81a9-7a08153dbe9d","html_url":"https://github.com/zombiezen/redo-rs","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/zombiezen/redo-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fredo-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fredo-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fredo-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fredo-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zombiezen","download_url":"https://codeload.github.com/zombiezen/redo-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zombiezen%2Fredo-rs/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269906076,"owners_count":24494320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-11T02:00:10.019Z","response_time":75,"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":["build","build-automation","build-system","makefile","parallel","scripting"],"created_at":"2024-10-28T20:16:20.579Z","updated_at":"2025-08-11T14:45:26.158Z","avatar_url":"https://github.com/zombiezen.png","language":"Rust","funding_links":["https://github.com/sponsors/zombiezen"],"categories":[],"sub_categories":[],"readme":"# zombiezen/redo\n\nThis is a Rust port of [Avery Pennarun's redo][], which in turn is an\nimplementation of [Daniel J. Bernstein's redo build system][]. It includes\nparallel builds, improved logging, extensive automated tests, and helpful\ndebugging features.\n\n[Avery Pennarun's redo]: https://github.com/apenwarr/redo\n[Daniel J. Bernstein's redo build system]: http://cr.yp.to/redo.html\n\n## Installation\n\n1. Download the binary for your platform from the [latest release][].\n2. Unzip the archive.\n3. Move the contents of the `bin/` directory into a directory in your `PATH`.\n\nIf you use Visual Studio Code, you may be interested in installing the [redo extension][].\n\n[latest release]: https://github.com/zombiezen/redo-rs/releases/latest\n[redo extension]: https://marketplace.visualstudio.com/items?itemName=zombiezen.redo\n\n## Getting Started\n\n_Borrowed from https://redo.readthedocs.io/en/latest/cookbook/hello/_\n\nCreate a source file:\n\n```shell\ncat \u003e hello.c \u003c\u003cEOF\n#include \u003cstdio.h\u003e\n\nint main() {\n    printf(\"Hello, world!\\n\");\n    return 0;\n}\nEOF\n```\n\nCreate a .do file to tell redo how to compile it:\n\n```shell\ncat \u003e hello.do \u003c\u003cEOF\n# If hello.c changes, this script needs to be\n# re-run.\nredo-ifchange hello.c\n\n# Compile hello.c into the 'hello' binary.\n#\n# $3 is the redo variable that represents the\n# output filename.  We want to build a file\n# called \"hello\", but if we write that directly,\n# then an interruption could result in a\n# partially-written file.  Instead, write it to\n# $3, and redo will move our output into its\n# final location, only if this script completes\n# successfully.\n#\ncc -o $3 hello.c -Wall\nEOF\n```\n\nBuild and run the program:\n\n```shell\nredo hello \u0026\u0026\n./hello\n```\n\nYou can provide a default target by writing an `all.do` file:\n\n```shell\necho 'redo-ifchange hello' \u003e all.do \u0026\u0026\nredo \u0026\u0026\n./hello\n```\n\n## Further Reading\n\nThe extensive [documentation for Avery Pennarun's redo](https://redo.readthedocs.io/en/latest/)\nis relevant for this tool as well, since zombiezen/redo is a straight port.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzombiezen%2Fredo-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzombiezen%2Fredo-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzombiezen%2Fredo-rs/lists"}