{"id":18248224,"url":"https://github.com/district09/robo-digipolis-generic","last_synced_at":"2025-04-08T19:51:15.972Z","repository":{"id":56968665,"uuid":"118753613","full_name":"district09/robo-digipolis-generic","owner":"district09","description":"The generic task runner implementation. Extends robo-digipolis-helpers and implements the abstract functions to make the entire flow relatively generic.","archived":false,"fork":false,"pushed_at":"2024-03-27T14:34:18.000Z","size":29,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-03-14T18:46:05.028Z","etag":null,"topics":["d09check22","web"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/district09.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-24T11:03:35.000Z","updated_at":"2022-12-19T13:20:20.000Z","dependencies_parsed_at":"2024-11-05T09:48:32.056Z","dependency_job_id":null,"html_url":"https://github.com/district09/robo-digipolis-generic","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":0.1578947368421053,"last_synced_commit":"b6ac886a38d4482c3650bb8e2e26246957baa1ef"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/district09%2Frobo-digipolis-generic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/district09%2Frobo-digipolis-generic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/district09%2Frobo-digipolis-generic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/district09%2Frobo-digipolis-generic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/district09","download_url":"https://codeload.github.com/district09/robo-digipolis-generic/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247918759,"owners_count":21018042,"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":["d09check22","web"],"created_at":"2024-11-05T09:36:17.195Z","updated_at":"2025-04-08T19:51:15.939Z","avatar_url":"https://github.com/district09.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robo Digipolis Generic\n\n[![Latest Stable Version](https://poser.pugx.org/digipolisgent/robo-digipolis-generic/v/stable)](https://packagist.org/packages/digipolisgent/robo-digipolis-generic)\n[![Latest Unstable Version](https://poser.pugx.org/digipolisgent/robo-digipolis-generic/v/unstable)](https://packagist.org/packages/digipolisgent/robo-digipolis-generic)\n[![Total Downloads](https://poser.pugx.org/digipolisgent/robo-digipolis-generic/downloads)](https://packagist.org/packages/digipolisgent/robo-digipolis-generic)\n[![License](https://poser.pugx.org/digipolisgent/robo-digipolis-generic/license)](https://packagist.org/packages/digipolisgent/robo-digipolis-generic)\n\n[![Build Status](https://travis-ci.org/digipolisgent/robo-digipolis-generic.svg?branch=develop)](https://travis-ci.org/digipolisgent/robo-digipolis-generic)\n[![Maintainability](https://api.codeclimate.com/v1/badges/f3b213f3d449af134290/maintainability)](https://codeclimate.com/github/digipolisgent/robo-digipolis-generic/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/f3b213f3d449af134290/test_coverage)](https://codeclimate.com/github/digipolisgent/robo-digipolis-generic/test_coverage)\n[![PHP 7 ready](https://php7ready.timesplinter.ch/digipolisgent/robo-digipolis-generic/develop/badge.svg)](https://travis-ci.org/digipolisgent/robo-digipolis-generic)\n\nUsed by digipolis, serving as an example.\n\nThis package contains a RoboFileBase class that can be used in your own\nRoboFile. All commands can be overwritten by overwriting the parent method.\n\n## Example\n\n```php\n\u003c?php\n\nuse DigipolisGent\\Robo\\Generic\\RoboFileBase;\n\nclass RoboFile extends RoboFileBase\n{\n    use \\Robo\\Task\\Base\\loadTasks;\n\n    /**\n     * @inheritdoc\n     */\n    public function digipolisDeployGeneric(\n        array $arguments,\n        $opts = [\n            'app' =\u003e 'default',\n            'worker' =\u003e null,\n        ]\n    ) {\n        $collection = parent::digipolisDeployGeneric($arguments, $opts);\n        $collection-\u003etaskExec('/usr/bin/custom-post-release-script.sh');\n        return $collection;\n    }\n}\n\n```\n\n## Available commands\n\nFollowing the example above, these commands will be available:\n\n```bash\ndigipolis:backup-generic           Create a backup of files\n(sites/default/files) and database.\ndigipolis:build-generic            Build a generic site and package it.\ndigipolis:clean-dir                Partially clean directories.\ndigipolis:clear-op-cache           Command digipolis:database-backup.\ndigipolis:database-backup          Command digipolis:database-backup.\ndigipolis:database-restore         Command digipolis:database-restore.\ndigipolis:deploy-generic           Build a generic site and push it to the\nservers.\ndigipolis:download-backup-generic  Download a backup of files and database.\ndigipolis:init-generic-remote      Install or update a remote site.\ndigipolis:install-generic          Install the site in the current folder.\ndigipolis:package-project          Package a directory into an archive.\ndigipolis:push-package             Command digipolis:push-package.\ndigipolis:restore-backup-generic   Restore a backup of files and database.\ndigipolis:sync-generic             Sync the database and files between two\ngeneric sites.\ndigipolis:update-generic           Executes database updates of the site\nin the current folder.\ndigipolis:upload-backup-generic    Upload a files and database backup to a server.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistrict09%2Frobo-digipolis-generic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdistrict09%2Frobo-digipolis-generic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdistrict09%2Frobo-digipolis-generic/lists"}