{"id":26706518,"url":"https://github.com/jackmarsh/redis","last_synced_at":"2025-07-22T20:06:24.734Z","repository":{"id":283703104,"uuid":"952606133","full_name":"jackmarsh/redis","owner":"jackmarsh","description":"Tool for building Redis binaries from source via Please ","archived":false,"fork":false,"pushed_at":"2025-03-21T16:45:18.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-21T17:35:28.329Z","etag":null,"topics":["please-build","redis","redis-cli","redis-server","redis-stack"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jackmarsh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-03-21T15:03:08.000Z","updated_at":"2025-03-21T16:58:13.000Z","dependencies_parsed_at":"2025-03-21T17:50:11.668Z","dependency_job_id":null,"html_url":"https://github.com/jackmarsh/redis","commit_stats":null,"previous_names":["jackmarsh/redis"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jackmarsh/redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmarsh%2Fredis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmarsh%2Fredis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmarsh%2Fredis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmarsh%2Fredis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jackmarsh","download_url":"https://codeload.github.com/jackmarsh/redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jackmarsh%2Fredis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266563915,"owners_count":23948689,"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-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["please-build","redis","redis-cli","redis-server","redis-stack"],"created_at":"2025-03-27T06:18:09.432Z","updated_at":"2025-07-22T20:06:24.712Z","avatar_url":"https://github.com/jackmarsh.png","language":"Shell","readme":"# Redis Stack Binaries\n\nThis repo provides build rules to compile Redis Stack binaries from source for the [Please](https://please.build) build system.\n\nAdditionally, pre-built Redis Stack Binary artifacts are available for download from the GitHub release assets.\n\n## Prebuilt binaries of Redis Stack for Linux `x86_64`\n\nThese are intended for use in sandboxed or hermetic build systems (like Please), where installing via `apt` or building from source on the fly isn't ideal. This setup is perfect for SAT frameworks, CI pipelines, or constrained container environments.\n\n## ✅ Available Versions\n\n| Redis Stack Version | Supported OS | Supported Architecture | Download Link |\n|---------------------|--------------|-------------------------|---------------|\n| 7.4.2               | Linux        | x86_64                 | [Download](https://github.com/jackmarsh/redis/releases/download/v0.0.1/redis-7.4.2-linux_x86_64.tar.gz) |\n\n## 📦 What's Included\n\nEach `.tar.gz` archive contains the following Redis Stack binaries:\n* `redis-server`\n* `redis-cli`\n* `redis-sentinel`\n* `redis-benchmark`\n* `redis-check-aof`\n* `redis-check-rdb`\n\nThese are dynamically linked against `glibc` and OpenSSL 3. They are compatible with most modern Linux distributions such as:\n* Ubuntu 22.04+\n* Debian 11+\n* Fedora 36+\n* Arch Linux\n\n## ⚠️ Alpine Compatibility\n\nThese binaries **will not run** on Alpine Linux out of the box due to its use of `musl` instead of `glibc`.\n\nA statically linked version compatible with Alpine is planned for a future release.\n\n## Basic Usage\n\n### Option 1: Use as a Please Plugin\n\n1. **Add the plugin to your project**\n\n   In `plugins/BUILD`:\n   ```python\n   plugin_repo(\n       name = \"redis\",\n       owner = \"jackmarsh\",\n       revision = \"v0.0.1\",\n   )\n   ```\n\n2. **Update your `.plzconfig`**\n\n   Add the following section:\n   ```ini\n   [Plugin \"redis\"]\n   Target = //plugins:redis\n   ```\n\n3. **Use the Redis Stack build rules in your project**\n\n   After setting up the plugin, you can use the `redis_stack` build rule to include Redis Stack binaries in your project. Example:\n   ```python\n   subinclude(\"///redis//build_defs:redis\")\n\n   redis_stack(\n       name = \"redis_stack\",\n       version = \"7.4.2\",\n       visibility = [\"PUBLIC\"],\n   )\n   ```\n\n   This will build the specified version of Redis Stack binaries from source.\n\n---\n\n### Option 2: Use Pre-built Artifacts\n\nIf you prefer not to build Redis Stack from source, you can directly download pre-built binaries from the [GitHub release assets](https://github.com/jackmarsh/redis/releases).\n\nExample:\n```python\nremote_file(\n    name = \"redis\",\n    url = \"https://github.com/jackmarsh/redis/releases/download/v0.0.1/redis-7.4.2-linux_x86_64.tar.gz\",\n    hashes = [\"\u003chash of the file\u003e\"], # Optional\n)\n```\n\n## 🔧 Usage\n\nDownload and extract the tarball:\n\n```bash\n# Download the binary\ncurl -L -o redis-stack.tar.gz https://github.com/jackmarsh/redis/releases/download/v0.0.2/redis-7.4.2-linux_x86_64.tar.gz\n\n# Extract it\ntar -xzf redis-stack.tar.gz -C /path/to/destination\n\n# Run Redis Server\n/path/to/destination/redis-server\n```\n\n---\n\n## Releases\n\nYou can find all available versions and corresponding binaries on the [releases page](https://github.com/jackmarsh/redis/releases).\n\n---\n\n## Need Additional Pre-Built Binaries?\n\nIf you need a pre-built binary for a specific Redis Stack version, operating system, or architecture that is not currently included in the release assets, feel free to reach out or [open an issue](https://github.com/jackmarsh/redis/issues).\n\nWe're happy to consider adding additional prebuilt binaries to future releases!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackmarsh%2Fredis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjackmarsh%2Fredis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjackmarsh%2Fredis/lists"}