Skip to content

Commit

Permalink
How to store links to issues in patch description
Browse files Browse the repository at this point in the history
Added an example how we can store links to issues in patch description. 
Because it's very useful to have a direct link, because very often we can't quickly jump onto related issue page from the patch file URL.
  • Loading branch information
MurzNN authored Aug 26, 2022
1 parent 55c4289 commit 7f460f3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ Example composer.json:

```

It's also useful to add a link to the original issue, to have a quick way for checking new patch versions. You can integrate the link into the patch description like this:
```json
"drupal/core": {
"Add startup configuration for PHP server - https://www.drupal.org/project/drupal/issues/1543858": "https://www.drupal.org/files/issues/add_a_startup-1543858-30.patch"
}
```

## Using an external patch file

Instead of a patches key in your root composer.json, use a patches-file key.
Expand Down

0 comments on commit 7f460f3

Please sign in to comment.