{"id":15284331,"url":"https://github.com/cbeer/fcrepo_wrapper","last_synced_at":"2025-04-12T23:21:54.316Z","repository":{"id":50592255,"uuid":"43444596","full_name":"cbeer/fcrepo_wrapper","owner":"cbeer","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-30T15:56:53.000Z","size":86,"stargazers_count":2,"open_issues_count":11,"forks_count":11,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-26T17:21:25.236Z","etag":null,"topics":["fcrepo","rspec","testing"],"latest_commit_sha":null,"homepage":null,"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/cbeer.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":"2015-09-30T16:30:29.000Z","updated_at":"2017-01-20T18:41:52.000Z","dependencies_parsed_at":"2022-09-17T21:44:12.911Z","dependency_job_id":null,"html_url":"https://github.com/cbeer/fcrepo_wrapper","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbeer%2Ffcrepo_wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbeer%2Ffcrepo_wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbeer%2Ffcrepo_wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cbeer%2Ffcrepo_wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cbeer","download_url":"https://codeload.github.com/cbeer/fcrepo_wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248644183,"owners_count":21138565,"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":["fcrepo","rspec","testing"],"created_at":"2024-09-30T14:53:35.843Z","updated_at":"2025-04-12T23:21:54.287Z","avatar_url":"https://github.com/cbeer.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FcrepoWrapper\n\nWrap any task with a Fcrepo instance:\n\n```ruby\nFcrepoWrapper.wrap do |fedora_repo|\n  # Something that requires Fcrepo\nend\n```\n\n## Configuration Options\n\n### Command Line\nTo see a list of valid options when using fcrepo_wrapper to launch an Fcrepo instance from the command line:\n```\n$ fcrepo_wrapper -h\n```\n\n### Ruby\n```ruby\nFcrepoWrapper.wrap( port: 8983, verbose: true, managed: true )\n```\n\n### Configuration file\nFcrepoWrapper can read configuration options from a YAML configuration file.\nBy default, it looks for configuration files at `.fcrepo_wrapper` and `~/.fcrepo_wrapper`.\n\nYou can also specify a configuration file when launching from the command line as follows:\n```\n$ fcrepo_wrapper -config \u003cpath_to_config_file\u003e\n```\n\n### Valid ruby and YAML options\n|Option           | Description                             |\n|-----------------|-----------------------------------------|\n| download_dir    | Local path for storing the downloaded jar \u0026 md5 file |\n| env             | *(Hash)* |\n| fcrepo_home_dir | Directory to store fedora repository data files |\n| fedora_options  | *(Hash)* |\n| ignore_md5sum   | *(Boolean)* suppress checksum error messages |\n| instance_dir    | Directory to store the fedora jar file |\n| md5sum          | Path/URL to MD5 checksum |\n| port            | Port to run Fedora on |\n| url             | URL of the jar file to download |\n| validate        | *(Boolean)* download a new md5 and (re-)validate the jar file? (default: true) |\n| verbose         | *(Boolean)* return verbose info when running fcrepo commands (default: false) |\n| version         | Fedora version to download and install |\n| version_file    | Local path to store the currently installed version number |\n\n### Cleaning your repository from the command line\n\nTo clean out data that is being stored in you FcrepoWrapper explicitly run:\n```\n$ fcrepo_wrapper \u003cconfiguration options\u003e clean\n```\n***Note*** You must use the same configuration options on the clean command as you do on the run command to clean the correct instance.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbeer%2Ffcrepo_wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcbeer%2Ffcrepo_wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcbeer%2Ffcrepo_wrapper/lists"}