First, ensure that all running Docksal services are stopped:
fin stopNext, remove the project’s containers and associated volumes:
| #!/bin/bash | |
| # | |
| # MySQL Backup Script | |
| # VER. 2.5 - http://sourceforge.net/projects/automysqlbackup/ | |
| # Copyright (c) 2002-2003 [email protected] | |
| # | |
| # This program is free software; you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation; either version 2 of the License, or | |
| # (at your option) any later version. |
| For a list of the most recent commits | |
| `git log --pretty=oneline --abbrev-commit` | |
| Go back 1 commit to remove | |
| `git rebase -i HEAD~1` | |
| replace ‘pick’ with ‘drop’ in that commit line and save (should be in vi) | |
| `git push origin +my/branch-name` | |
| Note: push +branch_name is like --force, but slightly less of a jerk about it |
| <?php | |
| $path = \Drupal::service('path.alias_manager')->getPathByAlias('/this-is-the-alias'); | |
| if(preg_match('/node\/(\d+)/', $path, $matches)) { | |
| $node = \Drupal\node\Entity\Node::load($matches[1]); | |
| } |
| openapi: 3.1.0 | |
| info: | |
| title: Jira Export API | |
| description: Accesses Jira projects and issue types using Basic Auth via email and API key. | |
| version: 1.0.0 | |
| servers: | |
| - url: https://phase2tech.atlassian.net | |
| description: Jira Cloud | |
| components: | |
| securitySchemes: |
| { | |
| "openapi_spec_url": "https://gist.github.com/thagler/0bcd5c10001735d3d822e66308817ec4/raw/56bb920b9df93db63d3c70c548b0be56f9b5fb86/jira-export-api.yaml", | |
| "auth": { | |
| "type": "basic", | |
| "username_label": "Jira Email", | |
| "password_label": "Jira API Key" | |
| }, | |
| "description_for_model": "Use this action to fetch Jira projects and issue types using your Jira email and API key.", | |
| "schema_version": "v1" | |
| } |
| { | |
| "openapi": "3.1.0", | |
| "x-meta": { | |
| "projectId": "PROJECT_KEY_HERE", | |
| "projectName": "AD Jira Data Export", | |
| "projectSlug": "AD", | |
| "jiraBaseUrl": "https://phase2tech.atlassian.net" | |
| }, | |
| "info": { | |
| "title": "Jira Data Export", |
PROJECT_KEY_HERE with the Jira key for your project.| openapi: 3.1.0 | |
| info: | |
| title: Jira Universal Project Data Export | |
| version: 2.1.0 | |
| description: Fetches Jira issues, project metadata, field definitions, statuses, and current sprint data dynamically. | |
| servers: | |
| - url: https://phase2tech.atlassian.net | |
| paths: |