Jose Diaz-Gonzalez
9a795fcf91
test: cover migration via go unit test
...
The bats test for migration idempotency invoked the install binary directly via sudo, which kept hitting fresh missing env vars on each iteration (DOKKU_LIB_ROOT, then PLUGIN_PATH, etc). The dokku launcher script exports a chain of vars that the install path reads via common.MustGetEnv, and mirroring that chain in a bats test is fragile. Migration is pure file IO plus a property marker - perfect for a Go unit test that isolates itself with t.TempDir and t.Setenv. The new test covers parsing comments and blank lines, the marker-based no-op on re-run, and the rule that a manually re-created legacy file is left untouched after the marker is set.
2026-04-29 03:14:17 -04:00
..
2023-08-05 20:58:26 -04:00
2023-08-05 20:58:26 -04:00
2025-11-20 00:42:49 -05:00
2026-04-26 22:43:32 -04:00
2026-04-26 22:43:32 -04:00
2026-04-25 05:11:07 -04:00
2026-04-26 04:08:17 -04:00
2025-08-21 23:59:41 -04:00
2026-01-04 20:46:00 -05:00
2026-01-04 20:46:00 -05:00
2025-12-24 17:05:50 -05:00
2026-01-04 20:46:00 -05:00
2026-01-04 22:03:59 -05:00
2026-01-04 20:46:00 -05:00
2025-11-09 20:32:39 -05:00
2026-04-18 05:43:44 -04:00
2025-11-16 18:12:28 -05:00
2023-01-20 23:48:02 -05:00
2026-04-25 05:11:07 -04:00
2025-11-20 02:21:20 -05:00
2026-04-27 01:05:41 -04:00
2026-04-27 01:05:41 -04:00
2023-08-05 10:58:57 -04:00
2023-08-05 20:58:26 -04:00
2025-11-13 01:55:32 -05:00
2026-04-29 03:14:17 -04:00
2026-04-29 00:35:26 -04:00
2017-02-24 12:41:12 -03:00
2026-04-27 01:47:50 -04:00
2023-08-05 10:58:57 -04:00
2025-02-27 22:38:18 -05:00
2023-08-05 10:58:57 -04:00
2026-04-27 14:43:20 -04:00
2026-01-08 02:46:53 -05:00
2023-08-05 20:58:26 -04:00
2024-03-13 07:47:54 -04:00
2024-03-13 07:47:54 -04:00
2025-11-16 18:12:28 -05:00
2023-08-05 10:58:57 -04:00
2025-08-12 20:15:27 -04:00
2026-04-27 15:58:35 -04:00
2026-04-26 23:30:22 -04:00
2023-08-05 20:58:26 -04:00
2024-01-19 03:51:21 -05:00
2023-08-05 20:58:26 -04:00
2026-04-25 17:19:42 -04:00
2023-08-05 10:58:57 -04:00
2023-08-27 23:00:18 -04:00
2024-02-06 00:42:48 -05:00
2024-02-27 14:19:53 -05:00
2023-08-05 10:58:57 -04:00
2023-08-05 20:58:26 -04:00
2023-08-05 20:58:26 -04:00
2026-04-24 05:02:49 -04:00
2026-04-27 14:43:20 -04:00
2025-11-16 18:12:28 -05:00
2016-01-06 14:36:07 +01:00
2024-03-13 22:21:05 -04:00
2025-11-20 00:21:40 -05:00
2023-08-05 20:58:26 -04:00
2024-04-04 23:01:59 -04:00
2023-08-05 10:58:57 -04:00
2025-06-30 01:48:09 -04:00
2025-10-26 23:45:08 -04:00
2025-12-25 18:34:39 -05:00
2023-08-05 10:58:57 -04:00
2023-08-05 10:58:57 -04:00
2026-01-09 00:12:16 -05:00
2024-02-25 15:54:31 -05:00
2026-01-25 22:58:10 -05:00
2023-08-05 10:58:57 -04:00
2023-08-05 10:58:57 -04:00
2025-11-18 17:06:30 -05:00
2025-11-19 20:23:53 -05:00
2026-04-27 03:29:06 -04:00
2025-11-09 20:21:10 -05:00
2025-11-09 23:16:39 -05:00
2025-09-14 02:19:25 -04:00
2025-11-22 19:39:56 -05:00
2026-01-10 02:52:01 -05:00
2026-01-08 01:05:40 -05:00
2026-01-08 01:05:40 -05:00
2023-01-16 01:50:52 -05:00
2023-01-16 01:50:52 -05:00
2023-01-16 01:50:52 -05:00
2022-07-21 14:57:42 -04:00
2025-03-10 12:50:46 -03:00
2026-01-04 20:46:00 -05:00
2020-06-20 13:22:47 -04:00
2026-03-10 20:35:41 -04:00
2020-06-20 13:22:47 -04:00