You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/blog/ddev-add-on-maintenance-guide.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
---
2
2
title: "DDEV Add-on Maintenance Guide"
3
3
pubDate: 2025-05-01
4
-
#modifiedDate: 2025-05-01
4
+
modifiedDate: 2025-07-22
5
+
modifiedComment: Added update checker script.
5
6
summary: Maintaining an add-on involves regularly updating it to stay compatible with new features in both the upstream ddev-addon-template and DDEV itself.
6
7
author: Stas Zhuk
7
8
featureImage:
@@ -30,8 +31,10 @@ Here are some high-level practices to follow:
30
31
- Use `#!/usr/bin/env bash` instead of `#!/bin/bash` at the top of your command scripts, it's more portable and works better across different environments.
31
32
- Ensure your add-on cleans up after itself: both `ddev add-on get` and `ddev add-on remove` should be idempotent. All files added via `project_files` and `global_files` must include a `#ddev-generated` stanza to support proper removal
32
33
- Remember to publish a new release after any update (unless it's just a `README.md` change)
33
-
34
-
I'm currently working on a script to streamline the update process. It's a work in progress and [available here](https://github.com/ddev/ddev-addon-template/pull/76). I'd appreciate any feedback!
34
+
- Run the update checker in your add-on to ensure it is up to date:
0 commit comments