summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2023-04-06 20:34:47 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2023-04-06 20:34:47 (EDT)
commitcc09f4e32bb45efb247198cdb7519b8df5e92c50 (patch)
tree4409d9993ce03522e34b78f8f724c934da07493f
parentca5809655e41d96b3e9289f029200203d7ad736c (diff)
TODO: Arch- and plat-indep Description field
-rw-r--r--TODO25
1 files changed, 24 insertions, 1 deletions
diff --git a/TODO b/TODO
index e0d7a7e..835229c 100644
--- a/TODO
+++ b/TODO
@@ -4,6 +4,29 @@ Future Tasks
Functional Changes
------------------
+ * Make binary package `Description` fields architecture- and platform-
+ independent (so a packages index Web site can show one description for a
+ binary package for all its architectures and platforms).
+ - `ob_set_source_substvar()` needs a third optional (for API compatibility)
+ `archplat_dep` parameter (default `false`) that, if `true`, causes
+ variable to be stored in a separate array.
+ - `ob_set_package_substvars()` needs a second optional (for API
+ compatibility) `archplat_indep` parameter (default `false`) that, if
+ `false`, enables checking for variables in the aforementioned separate
+ array.
+ - In `_ob_set_package_substvars_2()`, replace:
+ ob_set_source_substvar 'Host-Arch' "${OPK_HOST_ARCH}"
+ ob_set_source_substvar 'Host-Plat' "${OPK_HOST_PLAT}"
+ with:
+ ob_set_source_substvar 'Host-Arch' "${OPK_HOST_ARCH}" true
+ ob_set_source_substvar 'Host-Plat' "${OPK_HOST_PLAT}" true
+ - In ob-gencontrol, replace:
+ desc="$(ob_substvars "${desc}" "${pkg}")"
+ with:
+ desc="$(ob_substvars "${desc}" "${pkg}" true)"
+ - Add `${Host-Arch}` (which should be copied verbatim to output control
+ file) to `Description` in tests **BEFORE** above changes to verify correct
+ behavior.
* Split distribution packaging from upstream sources in source packages.
- Non-native package:
* `src:foo` is the distribution packaging, and it depends on
@@ -21,7 +44,7 @@ Functional Changes
Copyright
=========
-Copyright (C) 2018, 2019 Patrick McDermott
+Copyright (C) 2018, 2019, 2023 Patrick McDermott
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright