{"id":19545819,"url":"https://github.com/creative-workflow/capistrano-scm-localgitcopy","last_synced_at":"2026-06-07T20:31:16.313Z","repository":{"id":62555041,"uuid":"100735373","full_name":"creative-workflow/capistrano-scm-localgitcopy","owner":"creative-workflow","description":"A copy strategy for Capistrano 3, which uses git ls-files local, tars the files, uploads and extracts. This could be usefull if you are in a shared hosting environment.","archived":false,"fork":false,"pushed_at":"2017-08-19T10:35:05.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-30T04:22:18.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/creative-workflow.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":"2017-08-18T17:27:45.000Z","updated_at":"2017-11-28T04:20:07.000Z","dependencies_parsed_at":"2022-11-03T05:15:45.212Z","dependency_job_id":null,"html_url":"https://github.com/creative-workflow/capistrano-scm-localgitcopy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/creative-workflow/capistrano-scm-localgitcopy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creative-workflow%2Fcapistrano-scm-localgitcopy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creative-workflow%2Fcapistrano-scm-localgitcopy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creative-workflow%2Fcapistrano-scm-localgitcopy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creative-workflow%2Fcapistrano-scm-localgitcopy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/creative-workflow","download_url":"https://codeload.github.com/creative-workflow/capistrano-scm-localgitcopy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/creative-workflow%2Fcapistrano-scm-localgitcopy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34037777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":[],"created_at":"2024-11-11T03:41:27.554Z","updated_at":"2026-06-07T20:31:16.297Z","avatar_url":"https://github.com/creative-workflow.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# capistrano-scm-localgitcopy\n\nA copy strategy for Capistrano 3, which uses `git ls-files` local, tars the files, uploads and extracts.\n\nIt depends on the local git revision.\n\nIt is helpfull if you have a shred web hoster like netcup with a very limited set of commands.\n\n## Requirements\nMachine running Capistrano:\n\n- Capistrano 3\n- tar\n- git\n\nServers:\n\n- tar\n\n## Installation\nFirst make sure you install the capistrano-scm-localgitcopy by adding it to your `Gemfile`:\n\n    gem \"capistrano-scm-localgitcopy\"\n\nAdd to Capfile:\n\n    require 'capistrano/scm/localgitcopy'\n    install_plugin Capistrano::SCM::LocalGitCopy\n\n## Configuration (defaults)\n```\nset :local_git_copy_archive_name, 'deploy-archive.tar.gz'      # local archive name\nset :local_git_copy_include_dir,  './'                         # you can use a subfolder for deployment\nset :local_git_copy_tar_roles,    :all                         # roles to run on tar\nset :local_git_copy_tar_verbose,  true                         # enable verbose mode for tar\nset :local_git_copy_exclude_dir,  nil                          # exclude directories\nset :local_git_copy_temp_file,    '/tmp/deploy-archive.tar.gz' # temp file on server\n```\n\n## Pitfall: git and utf 8 chars\nIf you have problems with utf8 chars in file names that wont included in the deploy tar, do the following:\n\n```\n$ git config --global core.precomposeunicode true\n$ git config core.precomposeunicode.true\n\n$ git ls-files | grep \"\\\"\"\n$ git rm --cached \"`printf \"\u003cFile\u003e\"`\" #this for each file\n$ git commit -m \"clean up bad encoding of file names\"\n\n```\n\n### License\nThe MIT License (MIT)\n\n### Changelog\n##### 0.2.0\n- add prefix `local_git_copy_` to options\n- rename plugin class from `Capistrano::SCM::Localgitcopy` to `Capistrano::SCM::LocalGitCopy`\n- really use `local_git_copy_tar_roles`\n\n##### 0.1.0\n- Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreative-workflow%2Fcapistrano-scm-localgitcopy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreative-workflow%2Fcapistrano-scm-localgitcopy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreative-workflow%2Fcapistrano-scm-localgitcopy/lists"}