summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 16:00:55 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-03-13 16:00:55 (EDT)
commitfdeb7ce342f666accc5219001e5bb3c54f75a18c (patch)
treec2b7b78ab23d9f8e4959ccd313996cffc7cc865b
parentbbd9d58f7b544749125860f78838e04e91cfaadf (diff)
TODO: Sort into general cleanup and functional changes
And update heading parsing in Makefile.am.
-rw-r--r--Makefile.am4
-rw-r--r--TODO37
2 files changed, 24 insertions, 17 deletions
diff --git a/Makefile.am b/Makefile.am
index 4f98bf0..f5a5761 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -81,8 +81,8 @@ todo_file_script = \
H; \
$${ \
g; \
- s/^\n*[^\n][^\n]*\n[=-][=-]*\n\n*//; \
- s/\n*[^\n][^\n]*\n[=-][=-]*\n.*$$//; \
+ s/^\n*[^\n][^\n]*\n[=][=]*\n\n*//; \
+ s/\n*[^\n][^\n]*\n[=][=]*\n.*$$//; \
p; \
};
todo:
diff --git a/TODO b/TODO
index 0438ee9..c5cfee1 100644
--- a/TODO
+++ b/TODO
@@ -1,5 +1,8 @@
Tasks
------
+=====
+
+General Cleanup
+---------------
* Rewrite cache file handling.
- Make a new library module with the following functions:
@@ -12,21 +15,25 @@ Tasks
- TODO: Should `ob_{init,read}_cache` ever be called automatically?
* If not, `ob_parse_package_metadata -c FILE` could be:
- `ob_init_cache_file FILE; ob_read_cache || ob_parse_package_metadata`
- * 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.
- * 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:
- Protect against command operands beginning with "-", e.g.:
* `[ "x${foo}" = 'xbar' ]` instead of `[ "${foo}" = 'bar' ]`
* `mkdir -p -- "${foo}"` instead of `mkdir -p "${foo}"`
- Add more error handling.
- * See if ob-installdocs can/should handle non-directory non-regular files.
* Write manual pages for functions and utilities.
* Change/update option letters for `ob_parse_dep()`.
+
+Functional Changes
+------------------
+
+ * ob-installdocs: Handle non-directory non-regular files?
+ * ob-applypatches: Fix 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.
+ * 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`
* ob-buildopk: Build internal archives with ar, not tar.
* ob-buildopk, ob-genchanges, ob-gencontrol, opkbuild: s/src-/src:/
* Split distribution packaging from upstream sources in source packages.
@@ -38,14 +45,14 @@ Tasks
* `src:foo` is the whole package.
* Upload everything always.
* Drop mksysconf.
- * Support xz upstream archive decompression.
- * Maybe call separate decompressor utilities instead of using tar's seamless
- decompression. This enables support for xz with BusyBox < 1.21.0 (commit
- dfc2473). (Not really needed, since ProteanOS has used a sufficiently
- recent BusyBox since early 2014.)
+ * ob-unpacksource: Support xz upstream archive decompression.
+ * ob-unpacksource: Maybe call separate decompressor utilities instead of using
+ tar's seamless decompression. This enables support for xz with
+ BusyBox < 1.21.0 (commit dfc2473). (Not really needed, since ProteanOS has
+ used a sufficiently recent BusyBox since early 2014.)
Copyright
----------
+=========
Copyright (C) 2012, 2018, 2019 Patrick McDermott