ndncatchunks: change version discovery logic
Iterative discovery method should no longer be the default, as it is being removed quite soon (with removal of selectors). We should have changed to fixed or any other simple "discovery" long time ago.
Updated by Davide Pesavento over 2 years ago
- Start date deleted (
Version discovery based on metadata is being implemented in #4556. After that is done, as I suggested elsewhere, we can remove modular discovery altogether and use the user-provided name directly if it already contains a version component (equivalent to current 'fixed'), otherwise use metadata.
Updated by Junxiao Shi over 2 years ago
Change 5312 patchset 1 does not adequately implement #4832-1. It merely removes the
-d option, but still have separate
DiscoverVersionRealtime classes, i.e. version discovery modules.
To remove modular version discovery, combine all version discovery logic into one class or function that receives the user-supplied name as an input, and outputs a versioned name.
-d option cannot be abruptly removed because it breaks backwards compatibility of scripts that may still be using them. Instead, follow the standard deprecation procedure:
-doption but don't include it in the help message or manpage.
-doption is specified, ignore its value and print a warning message.
- Delete it after a standard deprecated cycle (90 days).