{"id":20010423,"url":"https://github.com/magynhard/git_repo_upgrader","last_synced_at":"2026-05-18T02:04:04.914Z","repository":{"id":56874493,"uuid":"296429186","full_name":"magynhard/git_repo_upgrader","owner":"magynhard","description":"Copy specific files from another git repo by one command","archived":false,"fork":false,"pushed_at":"2025-11-14T08:39:36.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-16T22:13:09.292Z","etag":null,"topics":["files","git","repository","ruby","ruby-gem","upgrade-tool"],"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/magynhard.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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},"funding":{"github":["magynhard"]}},"created_at":"2020-09-17T19:58:03.000Z","updated_at":"2025-11-14T08:39:40.000Z","dependencies_parsed_at":"2023-11-09T13:40:46.408Z","dependency_job_id":"54cebc1b-c9f8-4c5f-aa84-430488d51396","html_url":"https://github.com/magynhard/git_repo_upgrader","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":0.09999999999999998,"last_synced_commit":"88065c7fa41bb4f4e3452944b2e70e3af16148e5"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/magynhard/git_repo_upgrader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magynhard%2Fgit_repo_upgrader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magynhard%2Fgit_repo_upgrader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magynhard%2Fgit_repo_upgrader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magynhard%2Fgit_repo_upgrader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magynhard","download_url":"https://codeload.github.com/magynhard/git_repo_upgrader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magynhard%2Fgit_repo_upgrader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162447,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["files","git","repository","ruby","ruby-gem","upgrade-tool"],"created_at":"2024-11-13T07:19:44.769Z","updated_at":"2026-05-18T02:04:04.903Z","avatar_url":"https://github.com/magynhard.png","language":"Ruby","funding_links":["https://github.com/sponsors/magynhard"],"categories":[],"sub_categories":[],"readme":"# git_repo_upgrader\n[![Gem](https://img.shields.io/gem/v/git_repo_upgrader?color=default\u0026style=plastic\u0026logo=ruby\u0026logoColor=red)](https://rubygems.org/gems/git_repo_upgrader)\n![downloads](https://img.shields.io/gem/dt/git_repo_upgrader?color=blue\u0026style=plastic)\n[![License: MIT](https://img.shields.io/badge/License-MIT-gold.svg?style=plastic\u0026logo=mit)](LICENSE)\n\n\u003e Copy specific files from another git repository into your current project and provide (optional) automatic commits.\n\nUseful to integreate foreign git repo file based dependencies in your project or build. Do upgrades by one command.\n\n\u003e [!NOTE]  \n\u003e Early PoC with limited feature set.\n\n# Contents\n\n* [Installation](#installation)\n* [Usage](#usage)\n* [Documentation](#documentation)\n* [Contributing](#contributing)\n\n\n\n\n\u003ca name=\"installation\"\u003e\u003c/a\u003e\n## Installation\n\n### Prerequisites\nGit must be installed and its bin directory must be included in `PATH` variable.\n\n### Add gem to your ruby project\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'git_repo_upgrader'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install git_repo_upgrader\n    \n\n\n\u003ca name=\"usage\"\u003e\u003c/a\u003e\n## Usage\n\nAt best create a new rake task containing a options hash and then run #upgrade.\n\nSee the examples below for option hashes.\n\n### Examples\n\n#### Basic\n\n```ruby\n    options = {\n        repo: {\n            uri: 'https://github.com/username/project.git',\n            branch: 'develop',\n        },\n        files_to_copy: {\n            'dist/app.bundle.js' =\u003e 'web/js/lib/project/app.bundle.js',\n            'dist/app.bundle.css' =\u003e 'web/js/lib/project/app.bundle.css',\n            # copy a whole directory recursively\n            'dist/img' =\u003e 'web/js/lib/project/img',\n        },\n        commit: 'prompt' # 'prompt' by default, other options: 'false','auto'\n    }\n    GitRepoUpgrader.upgrade options\n```\n\n\n\n\n\n\u003ca name=\"documentation\"\u003e\u003c/a\u003e\n## Documentation\nCheck out the doc at RubyDoc\n\u003ca href=\"https://www.rubydoc.info/gems/git_repo_upgrader\"\u003ehttps://www.rubydoc.info/gems/git_repo_upgrader\u003c/a\u003e\n\n\n\n\n\n\u003ca name=\"contributing\"\u003e\u003c/a\u003e\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/magynhard/git_repo_upgrader. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagynhard%2Fgit_repo_upgrader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagynhard%2Fgit_repo_upgrader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagynhard%2Fgit_repo_upgrader/lists"}