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 `src:foo:upstream` * If the revision isn't "1", don't build and upload upstream sources. * pro-archman will need some modifications to handle this. - Native package: * `src:foo` is the whole package. * Upload everything always. * ob-installdocs: Handle non-directory non-regular files? * Someday restore (removed in commit 3cc4e19) and implement `ob_summarize_package_arch()` and `ob_summarize_package_plat()` to queue source packages for build daemons. Copyright ========= 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 notice and this notice are preserved. This file is offered as-is, without any warranty.