From 1b002330a29ca479599f680af51116bfd013c3ae Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 14 Dec 2018 23:37:10 -0500 Subject: TODO: Redesign applied patch tracking --- diff --git a/TODO b/TODO index 3ed76b7..231d8e9 100644 --- a/TODO +++ b/TODO @@ -14,7 +14,10 @@ Tasks: * Fix ob-applypatches to not fall over when it runs too much. - Current behavior: "I've been here already! What do? *trip*" - Track applied patches in ob-applypatches. - * Use `ob_set_cache_var` to cache the list of patches. + * Copy each patch into the opkbuild cache. + * Compare cached and current patches, and skip applied patches. + - `ob-applypatches: Skipping applied patch "01_foo.patch"...` + - `ob-applypatches: Warning: Patch "01_foo.patch" has been modified since it was applied` * General code auditing and cleanup: - Switch to using printf (safer and more portable than echo) for everything. - Protect against command operands beginning with "-", e.g.: -- cgit v0.9.1