{"id":18400485,"url":"https://github.com/docksal/drupal9-contrib","last_synced_at":"2025-06-10T22:04:26.137Z","repository":{"id":43371445,"uuid":"272652956","full_name":"docksal/drupal9-contrib","owner":"docksal","description":"Drupal 9 core contribution installation powered by Docksal","archived":false,"fork":false,"pushed_at":"2022-09-07T20:06:34.000Z","size":51,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-30T02:37:33.111Z","etag":null,"topics":["docksal","drupal","php"],"latest_commit_sha":null,"homepage":"https://docksal.io","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docksal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-16T08:30:18.000Z","updated_at":"2022-09-09T20:49:31.000Z","dependencies_parsed_at":"2023-01-17T23:15:47.739Z","dependency_job_id":null,"html_url":"https://github.com/docksal/drupal9-contrib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fdrupal9-contrib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fdrupal9-contrib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fdrupal9-contrib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fdrupal9-contrib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docksal","download_url":"https://codeload.github.com/docksal/drupal9-contrib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docksal%2Fdrupal9-contrib/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258930869,"owners_count":22779957,"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":["docksal","drupal","php"],"created_at":"2024-11-06T02:33:44.173Z","updated_at":"2025-06-10T22:04:26.108Z","avatar_url":"https://github.com/docksal.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docksal-powered Drupal 9 Core Contribution Installation\n\nThis is a Drupal 9 (and 10) installation geared for local Core and Contrib development\nfor use with Docksal.\n\n[![Build status](https://travis-ci.org/jhedstrom/drupal8-contrib.svg?branch=master)](https://travis-ci.org/jhedstrom/drupal8-contrib?branch=master)\n\nFeatures:\n\n- Core Drupal 9 repository for local contribution development\n- `fin init` [example](.docksal/commands/init)\n- Using the [default](.docksal/docksal.env#L9) Docksal LAMP stack with [image version pinning](.docksal/docksal.env#L13-L15)\n- PHP and MySQL settings overrides [examples](.docksal/etc)\n- Drush aliases [example](drush/aliases.drushrc.php) (`drush @docksal status`)\n\n## Setup instructions\n\n### Step #1: Docksal environment setup\n\n**This is a one time setup - skip this if you already have a working Docksal environment.**  \n\nFollow [Docksal environment setup instructions](https://docs.docksal.io/en/master/getting-started/env-setup)\n\n### Step #2: Project setup\n\n1. Clone this repo into your Projects directory\n\n    ```\n    git clone https://github.com/docksal/drupal9-contrib.git drupal9\n    cd drupal9\n    ```\n\n2. Initialize the site\n\n    This will clone the core repository into `docroot`, initialize local\n    settings and install the site via drush\n\n    ```\n    fin init\n    ```\n\n3. Point your browser to\n\n    ```\n    http://drupal9.docksal\n    ```\n\nWhen the automated install is complete the command line output will display the admin username and password.\n\n### Step #3: Contributing to core!\n\n1. Find and issue, and create a local branch in the `docroot` folder:\n\n   ```\n   cd docroot\n   git checkout -b 12345-short-description\n   ```\n\n   where `12345` is the issue number, and `short-description` is just something to remind you of the issue.\n\n2. Apply the patch from the issue if it exists.\n\n3. Run any relevant phpunit tests locally:\n\n    ```\n    fin phpunit path/to/file/or/directory\n    ```\n\n    for instance:\n\n    ```\n    fin phpunit core/tests/Drupal/Tests/Component/Utility/UnicodeTest.php\n    ```\n\n    **Note**: it is not advisable to simply run `fin phpunit` as this will run _all_ the core tests, which can take hours locally.\n\n## Security notice\n\nThis repo is intended for local core contributions and includes a hardcoded value for `hash_salt` in `settings.php`.\n**You should not base your project off of this code base**. If you do for whatever reason, make sure you regenerate and\nupdate the `hash_salt` value. A new value can be generated with `drush ev '$hash = Drupal\\Component\\Utility\\Crypt::randomBytesBase64(55); print $hash . \"\\n\";'`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocksal%2Fdrupal9-contrib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocksal%2Fdrupal9-contrib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocksal%2Fdrupal9-contrib/lists"}