https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44313 Bug ID: 44313 Summary: Add --sitemap and --nositemap filters to koha-list Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: tomascohen@gmail.com QA Contact: testopia@bugs.koha-community.org CC: mtj@kohaaloha.com Target Milestone: --- koha-list can filter instances by several per-instance features (--sip/--nosip, --plack/--noplack, --letsencrypt/--noletsencrypt, --z3950/--noz3950, ...), but not by whether sitemap generation is enabled (koha-sitemap --enable, i.e. /var/lib/koha/<instance>/sitemap.enabled). This bug adds --sitemap and --nositemap to koha-list, following the existing pattern: * --sitemap: show instances with sitemap generation enabled * --nositemap: show instances with sitemap generation disabled * both are mutually exclusive, like the other pairs koha-functions.sh already provides is_sitemap_enabled, so this mostly wires it into koha-list. The options are also passed through by koha-foreach, documented in the koha-list man page and added to the bash completion. Use case: listing or acting on the instances that have opted in to sitemaps, e.g. koha-foreach --sitemap ... koha-sitemap --generate $(koha-list --enabled --sitemap) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.