{"id":15059278,"url":"https://github.com/samvera/active_fedora","last_synced_at":"2025-04-05T05:05:30.545Z","repository":{"id":39579191,"uuid":"3867127","full_name":"samvera/active_fedora","owner":"samvera","description":"A Rails interface to the Fedora repository, akin to ActiveModel","archived":false,"fork":false,"pushed_at":"2024-11-19T19:41:30.000Z","size":9964,"stargazers_count":54,"open_issues_count":144,"forks_count":63,"subscribers_count":68,"default_branch":"main","last_synced_at":"2025-03-29T04:06:42.025Z","etag":null,"topics":["core-components","fcrepo","fedora","repository","samvera-community"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samvera.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"SUPPORT.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-03-29T15:01:13.000Z","updated_at":"2024-10-22T18:37:10.000Z","dependencies_parsed_at":"2024-06-18T15:23:23.109Z","dependency_job_id":"d173fb82-7874-4075-8457-48efcff97cbd","html_url":"https://github.com/samvera/active_fedora","commit_stats":{"total_commits":2690,"total_committers":69,"mean_commits":38.98550724637681,"dds":0.4609665427509294,"last_synced_commit":"4640eab7e7f9d981b492164a84fb66b2ea2eab57"},"previous_names":["projecthydra/active_fedora"],"tags_count":359,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera%2Factive_fedora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera%2Factive_fedora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera%2Factive_fedora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samvera%2Factive_fedora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samvera","download_url":"https://codeload.github.com/samvera/active_fedora/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247289426,"owners_count":20914464,"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":["core-components","fcrepo","fedora","repository","samvera-community"],"created_at":"2024-09-24T22:40:28.121Z","updated_at":"2025-04-05T05:05:30.528Z","avatar_url":"https://github.com/samvera.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActiveFedora\n\nCode: [![Samvera Core Component](https://img.shields.io/badge/samvera-core--component-brightgreen)](https://github.com/samvera/maintenance#samvera-core-components)\n[![Build Status](https://circleci.com/gh/samvera/active_fedora.svg?style=svg)](https://circleci.com/gh/samvera/active_fedora)\n[![Coverage Status](https://coveralls.io/repos/github/samvera/active_fedora/badge.svg?branch=main)](https://coveralls.io/github/samvera/active_fedora?branch=main)\n[![Version](https://img.shields.io/gem/v/active-fedora)](https://rubygems.org/gems/active-fedora)\n\nDocs: [![Contribution Guidelines](http://img.shields.io/badge/CONTRIBUTING-Guidelines-blue.svg)](./CONTRIBUTING.md)\n[![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)\n\nCommunity Support: [![Samvera Community Slack](https://img.shields.io/badge/samvera-slack-blueviolet)](http://slack.samvera.org/)\n\n# What is ActiveFedora?\n\nActiveFedora is a Ruby gem for creating and\nmanaging objects in the Fedora Repository Architecture\n([http://fedora-commons.org](http://fedora-commons.org)). ActiveFedora\nis loosely based on “ActiveRecord” in Rails. Version 9.0+ works with Fedora 4 and prior versions work on Fedora 3. Version 9.2+ works with Solr 4.10. Version 10.0+ works with Fedora \u003e= 4.5.1.\n\n## Product Owner \u0026 Maintenance\nActiveFedora is a Core Component of the Samvera community. The documentation for\nwhat this means can be found\n[here](http://samvera.github.io/core_components.html#requirements-for-a-core-component).\n\n### Product Owner\n\n[no-reply](https://github.com/no-reply)\n\n# Help\n\nThe Samvera community is here to help. Please see our [support guide](./SUPPORT.md).\n\n# Getting Started\n\nThe [Dive into Hydra](https://github.com/samvera/hydra/wiki/Dive-into-Hydra)\ngives you a brief tour through ActiveFedora’s features on the command line.\n\n## Prerequisites\n\n- A Fedora Commons Repository installation (configured by URL in fedora.yml)\n- A Solr index (configured by URL in solr.yml)\n- A JDK8+ installation (if running the test suite)\n\n## Installation\n\nThe gem is hosted on rubygems.\n\n```bash\ngem install active-fedora\n```\n\n## Generators\n\nYou can generate a model inheriting from ActiveFedora::Base.\n\n```bash\nrails generate active_fedora:model Book\n```\n\n## Testing (this Gem)\n\nIn order to run the RSpec tests, you need to have a copy of the\nActiveFedora source code, and then run bundle install in the source\ndirectory. You can download the source code by doing the following:\n\n```bash\ngit clone https://github.com/samvera/active_fedora.git\ncd active_fedora\nbundle install\n```\n\n### Using the continuous integration server\n\nYou can test ActiveFedora using the same process as our continuous\nintegration server. This will automatically pull down a copy of Solr and Fedora Content Repository.\n\nThe `ci` rake task will download solr and fedora, start them,\nand run the tests for you.\n\n```bash\nrake active_fedora:ci\n```\n\n### Testing Manually\n\nIf you want to run the tests manually, follow these instructions:\n\n```bash\nsolr_wrapper\n```\n\nTo start FCRepo, open another shell and run:\n\n```bash\nfcrepo_wrapper -p 8986\n```\n\nNow you’re ready to run the tests. In the directory where active\\_fedora\nis installed, run:\n\n```bash\nrake spec\n```\n\n## Contributing\n\nIf you're working on PR for this project, create a feature branch off of `main`.\n\nThis repository follows the [Samvera Community Code of Conduct](https://samvera.atlassian.net/wiki/spaces/samvera/pages/405212316/Code+of+Conduct) and [language recommendations](https://github.com/samvera/maintenance/blob/master/templates/CONTRIBUTING.md#language).  Please ***do not*** create a branch called `master` for this repository or as part of your pull request; the branch will either need to be removed or renamed before it can be considered for inclusion in the code base and history of this repository.\n\n# Release Process\n\nThe [release process](https://github.com/samvera/active_fedora/wiki/Release-management-process) is documented on the wiki.\n\n# Acknowledgments\n\nThis software has been developed by and is brought to you by the Samvera community.  Learn more at the\n[Samvera website](http://samvera.org/).\n\n![Samvera Logo](https://wiki.duraspace.org/download/thumbnails/87459292/samvera-fall-font2-200w.png?version=1\u0026modificationDate=1498550535816\u0026api=v2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamvera%2Factive_fedora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamvera%2Factive_fedora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamvera%2Factive_fedora/lists"}