{"id":15611598,"url":"https://github.com/boxdot/redlock-cli","last_synced_at":"2025-04-28T12:21:38.337Z","repository":{"id":38300555,"uuid":"218584031","full_name":"boxdot/redlock-cli","owner":"boxdot","description":"A command line tool providing a distributed lock built on top of Redis","archived":false,"fork":false,"pushed_at":"2022-06-07T17:18:08.000Z","size":28,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-30T09:31:32.239Z","etag":null,"topics":["cli","redis","redlock"],"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/boxdot.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-30T17:25:54.000Z","updated_at":"2024-06-27T12:37:59.000Z","dependencies_parsed_at":"2022-08-24T14:10:29.460Z","dependency_job_id":null,"html_url":"https://github.com/boxdot/redlock-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxdot%2Fredlock-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxdot%2Fredlock-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxdot%2Fredlock-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boxdot%2Fredlock-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boxdot","download_url":"https://codeload.github.com/boxdot/redlock-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311341,"owners_count":21569011,"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","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":["cli","redis","redlock"],"created_at":"2024-10-03T06:05:42.457Z","updated_at":"2025-04-28T12:21:38.320Z","avatar_url":"https://github.com/boxdot.png","language":"Rust","readme":"# redlock-cli\n\nA command line tool providing a [distributed lock] built on top of Redis.\n\nUsage:\n\n```shell\nredlock -s localhost:6379 -l mylock --ttl 60 -- echo foo\n```\n\nThis will try to acquire the global lock with the name `mylock` in Redis for at\nleast 60 seconds. When lock is acquired, the command is executed. The lock is\nreleased when the command finishes, or the ttl expires. Additional parameter\n`--timeout` specifies for how long we should try to acquire the lock.\n\nThis is in particular useful when restricting the number of concurrent jobs in\nCI.\n\n## License\n\n * Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or\n   http://www.apache.org/licenses/LICENSE-2.0)\n * MIT License ([LICENSE-MIT](LICENSE-MIT) or\n   http://opensource.org/licenses/MIT)\n\nThe files [src/proto/fileformat.proto](src/proto/fileformat.proto) and\n[src/proto/osmformat.proto](src/proto/osmformat.proto) are copies from the\n[OSM-binary] project and are under the LGPLv3 license.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in this document by you, as defined in the Apache-2.0 license,\nshall be dual licensed as above, without any additional terms or conditions.\n\n[distributed lock]: https://redis.io/topics/distlock\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxdot%2Fredlock-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboxdot%2Fredlock-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboxdot%2Fredlock-cli/lists"}