{"id":24023700,"url":"https://github.com/daggerhartlab/lark","last_synced_at":"2025-04-16T02:08:40.181Z","repository":{"id":268557664,"uuid":"904724485","full_name":"daggerhartlab/lark","owner":"daggerhartlab","description":"Drupal module for exporting and importing content using a UI and Drush","archived":false,"fork":false,"pushed_at":"2025-03-04T18:49:49.000Z","size":504,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-29T03:51:26.418Z","etag":null,"topics":["drupal","drupal-module"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/daggerhartlab/lark","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daggerhartlab.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-17T12:40:47.000Z","updated_at":"2025-03-04T18:49:52.000Z","dependencies_parsed_at":"2025-01-06T20:28:35.669Z","dependency_job_id":"c751b96a-2196-428b-b61a-0f7c1798c58a","html_url":"https://github.com/daggerhartlab/lark","commit_stats":null,"previous_names":["daggerhartlab/lark"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerhartlab%2Flark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerhartlab%2Flark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerhartlab%2Flark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daggerhartlab%2Flark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daggerhartlab","download_url":"https://codeload.github.com/daggerhartlab/lark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249149042,"owners_count":21220644,"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"],"created_at":"2025-01-08T14:43:59.101Z","updated_at":"2025-04-16T02:08:40.169Z","avatar_url":"https://github.com/daggerhartlab.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lark\n\nLark provides the functionality to export and import content entities along with\ntheir dependencies from one Drupal site to another.\n\n## Setup\n\nVisit the Lark Sources page (`/admin/lark/source`), and create a new Source for\nwhere you will export your content. Ideally, this directory should be outside\nthe document root of the Drupal site.\n\nYou can make your exports directory relative to a module or theme by providing\nthe module or theme name within brackets in the directory path.\n\nExample: `[my_custom_module]/content` will be converted into\n`modules/custom/my_custom_module/content`.\n\nVisit the Lark settings page and set default Lark Source.\n\n## Exporting Entities\n\nEntities can be exported from the entity's view/edit page by clicking the \"Lark\"\ntab. This will provide a form where you can easily export the entity and its\ndependencies. The export will be saved to the selected Lark Source, or can be\ndownloaded as a `.tar.gz` file.\n\nTo export an entity using drush, the following command can be used:\n\n```bash\ndrush lark:export-entity \u003csource id\u003e \u003centity type\u003e \u003centity id\u003e\n```\n\n## Importing Entities\n\nExported entities can be imported using the Source's UI, located at\n`/admin/lark/source/\u003csource id\u003e`. This page will list all  exports available\nwithin the source along with their export status.\n\nIf the entity already exists on the site, the entity can be re-imported by\nvisiting the entity's edit page and clicking the \"Lark\" tab.\n\nTo import entities using drush, the following commands can be used:\n\n```bash\n# Import all entities from all Lark Sources.\ndrush lark:import-all-entities\n\n# Import all entities within a given source.\ndrush lark:import-source \u003csource id\u003e\n\n# Import a single entity and its dependencies from a specific Lark Source.\ndrush lark:import-entity \u003csource id\u003e \u003cuuid\u003e\n```\n\n## User Interface\n\n* `/admin/lark/source` - List of all sources. View a source to see its export contents.\n* `/lark/export/node/{node}` - Export a single node entity.\n* `/lark/export/media/{media}` - Export a single media entity.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerhartlab%2Flark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaggerhartlab%2Flark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaggerhartlab%2Flark/lists"}