{"id":21281819,"url":"https://github.com/ochorocho/gitdownload","last_synced_at":"2025-07-11T10:34:03.163Z","repository":{"id":16636440,"uuid":"19391649","full_name":"ochorocho/gitdownload","owner":"ochorocho","description":"Enable Redmine to download a GIT repository as ZIP or TAR.GZ and handle creation of Repositories","archived":false,"fork":false,"pushed_at":"2023-10-11T12:11:14.000Z","size":152,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-15T02:03:55.487Z","etag":null,"topics":["git","redmine"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ochorocho.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}},"created_at":"2014-05-02T23:44:27.000Z","updated_at":"2022-03-23T18:28:06.000Z","dependencies_parsed_at":"2023-10-11T14:36:46.687Z","dependency_job_id":null,"html_url":"https://github.com/ochorocho/gitdownload","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/ochorocho%2Fgitdownload","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochorocho%2Fgitdownload/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochorocho%2Fgitdownload/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ochorocho%2Fgitdownload/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ochorocho","download_url":"https://codeload.github.com/ochorocho/gitdownload/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225715930,"owners_count":17512909,"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":["git","redmine"],"created_at":"2024-11-21T10:51:36.595Z","updated_at":"2024-11-21T10:51:37.239Z","avatar_url":"https://github.com/ochorocho.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitdownload\n\n## Requirements\n\n* Linux/Unix based OS\n* GIT installed\n\n## Should work with ...\n * Redmine \u003e= 2.6\n * Git \u003e= 1.9\n\n## Installation\n\n_Clone repository:_\n\n```\ncd /your/redmine/root/plugins/\ngit clone https://github.com/ochorocho/gitdownload.git\n```\n\n_Run plugin migration_\n\n```\ncd /your/redmine/root/\nrake redmine:plugins:migrate RAILS_ENV=production\n```\n\n_Install rack-cors:_\n\nFollow https://github.com/cyu/rack-cors to install rack-cors and create `$REDMINE_HOME/config/initializers/cors.rb` with following content:\n\n```\nRails.application.config.middleware.insert_before 0, Rack::Cors do\n  allow do\n    origins '*'\n    resource '*', headers: :any, methods: [:get, :post, :patch, :put]\n  end\nend\n```\n\n_Generate `public/javascripts/translation.js` and `public/javascripts/i18n.js`：_\n\nThis should be executed everytime after language files like `en.yml` are updated.\n\n```sh\nRAILS_ENV=production rake i18n:js:export\n```\n\n_Restart Redmine:_\n\n```\ntouch tmp/restart.txt\n```\n\n## Uninstallation\n\n_Undo plugin migration_\n\n```\ncd /your/redmine/root/\nrake redmine:plugins:migrate NAME=gitdownload VERSION=0 RAILS_ENV=production\n```\n\n_Delete gitdownload plugin directory:_\n\n```\nrm -rf /your/redmine/root/plugins/gitdownload\n```\n\n_Delete cors middleware:_\n\n```\nrm /your/redmine/root/config/initializers/cors.rb\n```\n\n_Restart Redmine:_\n\n```\ntouch tmp/restart.txt\n```\n\n**IMPORTANT:**\n\n* Permissions are tied to \"commit_access\"\n* Make sure \"Hostname\" and \"Protocol\" is set correctly under Administration -\u003e Plugins -\u003e Gitdownload -\u003e Configure!\n* On the plugins configuration site set the GIT Url\n* For authentications repositories needs a name following tis schema `\u003cproject identifier\u003e.\u003crepository identifier\u003e.git` e.g. mytestrepo.typo3.git (just leave the name as generated)\n\n## Features\n\n* export branches\n* export specific changeset\n* choose format for export, tar.gz or zip\n* show and copy repository path\n* Initialize/create repository when created in Redmine\n* Insert default files to created repository\n* Editable .gitconfig to use with Redmine\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fochorocho%2Fgitdownload","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fochorocho%2Fgitdownload","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fochorocho%2Fgitdownload/lists"}