{"id":25368243,"url":"https://github.com/discoverygarden/akubra_adapter","last_synced_at":"2025-10-30T04:30:35.365Z","repository":{"id":154404899,"uuid":"459641425","full_name":"discoverygarden/akubra_adapter","owner":"discoverygarden","description":"Facilitates the access of Fedora3 data directly from Akubra-flavored filesystem storage.","archived":false,"fork":false,"pushed_at":"2024-09-23T18:12:50.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-01-17T04:46:05.140Z","etag":null,"topics":["drupal","drupal-module","islandora","migration"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/discoverygarden.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-02-15T15:40:02.000Z","updated_at":"2024-09-23T18:12:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"6f5dea76-b0ba-4aba-951a-52e55f1cda87","html_url":"https://github.com/discoverygarden/akubra_adapter","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discoverygarden%2Fakubra_adapter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discoverygarden%2Fakubra_adapter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discoverygarden%2Fakubra_adapter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/discoverygarden%2Fakubra_adapter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/discoverygarden","download_url":"https://codeload.github.com/discoverygarden/akubra_adapter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238930061,"owners_count":19554122,"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":["drupal","drupal-module","islandora","migration"],"created_at":"2025-02-15T00:36:37.256Z","updated_at":"2025-10-30T04:30:35.003Z","avatar_url":"https://github.com/discoverygarden.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Akubra Adapter\n\n![](https://github.com/discoverygarden/akubra_adapter/actions/workflows/auto_lint.yml/badge.svg)\n![](https://github.com/discoverygarden/akubra_adapter/actions/workflows/auto-semver.yml/badge.svg)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n\n## Introduction\n\nFacilitates the access of Fedora3 data directly from [Akubra][akubra]-flavored\nfilesystem storage.\n\n## Table of Contents\n\n* [Requirements](#requirements)\n* [Installation](#installation)\n* [Configuration](#configuration)\n* [Usage](#usage)\n* [Troubleshooting/Issues](#troubleshootingissues)\n* [Maintainers and Sponsors](#maintainers-and-sponsors)\n* [Development/Contribution](#developmentcontribution)\n* [License](#license)\n\n## Requirements\n\nThis module requires the following modules/libraries:\n\n* [FOXML](https://github.com/discoverygarden/foxml)\n\n## Installation\n\nInstall as usual, see\n[this](https://drupal.org/documentation/install/modules-themes/modules-8) for\nfurther information.\n\n## Configuration\n\nConfiguration to be done in site's `settings.php`\nfiles to configure the services:\n\n|Key|Description|Default|\n|---|---|---|\n|`akubra_adapter_datastream_basepath`|The path to the datastream store to be read.| (none; requires configuration) |\n|`akubra_adapter_datastream_pattern`|The folder/directory structure created within the datastream store.|`##`|\n|`akubra_adapter_object_basepath`|The path to the object store to be read.| (none; requires configuration) |\n|`akubra_adapter_object_pattern`|The folder/directory structure created within the object store.|`##`|\n\nSo, assuming a Fedora's \"data\" directory is mounted to `/nfs/fedora_data`, you might add to `settings.php`:\n\n```php\n$settings['akubra_adapter_datastream_basepath'] = '/nfs/fedora_data/datastreamStore';\n$settings['akubra_adapter_object_basepath'] = '/nfs/fedora_data/objectStore';\n```\n\nUltimately, the `*_pattern` values need to match the configuration of the source data. For additional detail on their particular meaning, it might be easiest to reference the [inline comments of the original Java code](https://github.com/fcrepo3/fcrepo/blob/37df51b9b857fd12c6ab8269820d406c3c4ad774/fcrepo-server/src/main/java/org/fcrepo/server/storage/lowlevel/akubra/HashPathIdMapper.java#L17-L68).\n\n| Environment variable            | Description | Default |\n|---------------------------------| --- | --- |\n| `AKUBRA_ADAPTER_WRITE_PARANOIA` | Due to how migrations (or more specifically, rolling back migrations) might operate, it can be prudent to avoid allowing items through that are writable or in writable directories, such that they cannot potentially be deleted. By passing something false-y here, we will avoid pre-filtering when iterating over objects. | (unset, which enables paranoia by default) |\n\n## Usage\n\nThis module provides services that are collected by service collectors in the\nFOXML module. there's no direct usage outside of configuring it.\n\n## Troubleshooting/Issues\n\nHaving problems or solved one? contact\n[discoverygarden](http://support.discoverygarden.ca).\n\n## Maintainers and Sponsors\n\nCurrent maintainers:\n\n* [discoverygarden](http://www.discoverygarden.ca)\n\nSponsors:\n\n* [CTDA: Connecticut Digital Archive]\n* [FLVC](https://www.flvc.org/)\n\n## Development/Contribution\n\nIf you would like to contribute to this module, please check out github's helpful\n[Contributing to projects](https://docs.github.com/en/get-started/quickstart/contributing-to-projects) documentation and Islandora community's [Documention for developers](https://islandora.github.io/documentation/contributing/CONTRIBUTING/#github-issues) to create an issue or pull request and/or\ncontact [discoverygarden](http://support.discoverygarden.ca).\n\n## License\n\n[GPLv3](http://www.gnu.org/licenses/gpl-3.0.txt)\n\n[akubra]: https://github.com/akubra/akubra\n[CTDA: Connecticut Digital Archive]: https://lib.uconn.edu/find/connecticut-digital-archive/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscoverygarden%2Fakubra_adapter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiscoverygarden%2Fakubra_adapter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiscoverygarden%2Fakubra_adapter/lists"}