{"id":22663716,"url":"https://github.com/yuuki/capze","last_synced_at":"2025-04-12T07:45:00.739Z","repository":{"id":57563116,"uuid":"69786491","full_name":"yuuki/capze","owner":"yuuki","description":"A tool to make Capistrano-based directory structure","archived":false,"fork":false,"pushed_at":"2017-09-14T00:07:47.000Z","size":46,"stargazers_count":22,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T07:44:55.680Z","etag":null,"topics":["capistrano","cli","deploy","go"],"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/yuuki.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}},"created_at":"2016-10-02T08:21:09.000Z","updated_at":"2025-02-23T16:30:51.000Z","dependencies_parsed_at":"2022-08-31T05:01:24.338Z","dependency_job_id":null,"html_url":"https://github.com/yuuki/capze","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuuki%2Fcapze","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuuki%2Fcapze/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuuki%2Fcapze/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuuki%2Fcapze/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuuki","download_url":"https://codeload.github.com/yuuki/capze/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248536977,"owners_count":21120684,"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":["capistrano","cli","deploy","go"],"created_at":"2024-12-09T12:32:48.863Z","updated_at":"2025-04-12T07:45:00.712Z","avatar_url":"https://github.com/yuuki.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"capze\n======\n\n`capze` is a tool to make [Capistrano](http://capistranorb.com/)-like directory structure.\n\n```bash\n$ tree -L 2 /var/www/app\n/var/www/app\n├── current -\u003e /var/www/app/releases/20161002074731\n└── releases\n    ├── 20161002074709\n    ├── 20161002074713\n    ├── 20161002074716\n    ├── 20161002074731\n    └── 20161002081856\n```\n\n## Usage\n\n```bash\n$ capze --keep 5 /tmp/app /var/www/app\n\n$ capze --rollback /var/www/app\n\n$ capze --pruned-dirs --keep 1 /var/www/app\n/var/www/app/releases/20161006002523\n/var/www/app/releases/20170621124528\n```\n\nYou can use `capze` in combination with [Droot](https://github.com/yuuki/droot).\n\n```bash\n$ aws s3 cp s3://drootexamples/app.tar.gz - | tar xzf - -C /tmp/app\n$ capze --keep 5 /tmp/app /var/www/app\n```\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuuki%2Fcapze","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuuki%2Fcapze","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuuki%2Fcapze/lists"}