Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package ktop for openSUSE:Factory checked in at 2026-11-18 18:31:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ktop (Old) and /work/SRC/openSUSE:Factory/.ktop.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ktop" Wed Nov 18 18:31:02 2026 rev:11 rq:1398315 version:0.7.2 Changes: -------- --- /work/SRC/openSUSE:Factory/ktop/ktop.changes 2026-11-16 12:31:12.546628522 +0100 +++ /work/SRC/openSUSE:Factory/.ktop.new.1251/ktop.changes 2026-11-18 18:31:53.680717105 +0100 @@ -1,0 +2,131 @@ +Wed Nov 18 05:56:48 UTC 2026 - Johannes Kastl <[email protected]> + +- Update to version 0.7.2: + ktop v0.7.2 introduces the multi-page terminal UI navigation + architecture, adding a theme-aware top-level tab bar (ui.TabBar) + with drill-down breadcrumbs, a declarative page registry + (application.PageDescriptor and application.PageSession), + isolated per-page navigation stacks + (application.NavigationStack), keyboard page-switching shortcuts + (1–9, [ and ]), and startup page configuration via --page and + ui.default_page in ~/.ktop/config.yaml. + Top-level pages maintain independent focus positions and + drill-down histories across tab transitions while sharing cluster + header namespace filtering, modal overlays, and Kubernetes + informer lifecycles. + * Top-Level Tab Bar & Breadcrumb Navigation (ui) + - Theme-Aware Tab Bar and Right-Aligned Drill-Down Breadcrumbs + - Problem / Context: ktop previously rendered a single + unindexed page container without visible top-level tab + indicators or hierarchical location trails when navigating + across nested Node, Pod, and Container detail views. + - Implementation Details: Added ui.TabBar and ui.TabItem in + ui/tab_bar.go backed by a 1-row borderless tview.Table + mounted directly beneath the cluster header in + application/app_ui.go (removing the unmounted legacy + page-button footer table and updating panel height + calculations in views/overview/main_panel.go). Added + application.FormatBreadcrumb in application/navigation.go + to render active drill-down paths (<Page> › node/<name> › + pod/<ns>/<pod> › logs/<container>). + - APIs / Signatures: + + tb := ui.NewTabBar() + tb.SetTabs([]ui.TabItem{ + {ID: "overview", Title: "Overview", Key: '1'}, + }) + tb.SetActive(0) + tb.SetBreadcrumb("Overview › node/worker-1 › pod/default/api-0") + + - Impact & Behavioral Notes: Active tabs render with + Palette.HeaderFg on Palette.HeaderBg (and tcell.AttrReverse + | tcell.AttrBold with tcell.ColorDefault in monochrome and + $NO_COLOR environments); inactive tabs and breadcrumbs + render with Palette.CanvasFg on Palette.CanvasBg. + Root-level pages omit redundant breadcrumb text and display + trail segments only when drilled into detail views. Updated + ui.OverviewContext, ui.PageContext (ui/footer_context.go), + and ui.HelpModal (ui/help_modal.go) to display dynamic + [1-N] page and [ / ] shortcuts. + * Multi-Page Registry, Per-Page Navigation Stacks & Input Routing + (application, k8s, views) + - Declarative Page Registry and Isolated Per-Page Sessions + - Problem / Context: Focus management, Tab/Shift+Tab panel + cycling, ESC back-navigation, modal focus restoration, and + active detail lookups in application/app_ctrl.go previously + indexed app.pages[0] directly and shared a single + NavigationStack rooted at PageOverview. + - Implementation Details: Added application.PageDescriptor + and application.PageSession in application/page_registry.go + (RegisterPage, PageCount, ActivePageIndex, ActivePageID, + FindPageIndex, SetInitialPage, SwitchToPageIndex, + SwitchToPage, NextPage, PrevPage) and + application.NewNavigationStackWithRoot in + application/navigation.go. Refactored + application/app_ctrl.go to resolve focus, EscapablePanel + state, HelpModal context, and ESC unwind transitions + against the active PageSession, added + Application.SetDetailResetCallback and + Application.AddNamespaceFilterListener, added + DetailPanel.IsFilterEditing in views/container/detail.go, + and guarded Controller.Start in k8s/client_controller.go + for idempotent informer startup across multiple registered + pages. + - APIs / Signatures: + + app.RegisterPage(application.PageDescriptor{ + ID: "overview", + Title: "Overview", + Key: '1', + RootType: application.PageOverview, + Panel: overviewPage, + ChildNames: []string{"summary", "nodes", "pods"}, + }) + + - Impact & Behavioral Notes: Pressing 1–9 switches directly + to the corresponding registered page, and [ / ] cycles to + the previous or next page with wrap-around. Switching away + from a page preserves both its focused panel index and any + open detail stack (Node Detail, Pod Detail, Container + Logs), restoring them when switching back. When any filter + input is active (cluster header namespace filter, table / + filter, or container log filter), digit and bracket keys + pass directly into the text input without triggering page + switches. + * CLI & Configuration (cmd, config, application/tui) + - Startup Page Flag (--page) and Persistent Default + (ui.default_page) + - Problem / Context: Operators had no CLI flag or + configuration key to select or validate the initial + top-level page at startup. + - Implementation Details: Added --page in cmd/ktop.go, + InitialPage on tui.Options in application/tui/app.go, and + UIConfig.DefaultPage (ui.default_page), config.ValidPages, + and config.NormalizePage in config/config.go. + - APIs / Signatures: + + # Launch ktop on a specific top-level page + ktop --page=overview + + # ~/.ktop/config.yaml + ui: + theme: auto + color_mode: auto + default_page: overview + + - Impact & Behavioral Notes: --page defaults to overview and + overrides ui.default_page in ~/.ktop/config.yaml for the + current session. Unrecognized --page or ui.default_page + values fail fast prior to cluster connection with exit code + 2 (ExitInvalidFlags). + * Upgrade & Compatibility Notes + - Backward Compatibility: Fully backward compatible with + existing ktop CLI invocations, kubectl ktop plugin usage, + --noui JSON/JSONL schemas, and ~/.ktop/config.yaml files. + Existing configurations without ui.default_page default + automatically to overview. + - Deprecations & Retractions: None. + - Migration Actions: None required. + + +------------------------------------------------------------------- Old: ---- ktop-0.7.1.obscpio New: ---- ktop-0.7.2.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ktop.spec ++++++ --- /var/tmp/diff_new_pack.j00gMO/_old 2026-11-18 18:31:54.994772776 +0100 +++ /var/tmp/diff_new_pack.j00gMO/_new 2026-11-18 18:31:54.996772861 +0100 @@ -17,7 +17,7 @@ Name: ktop -Version: 0.7.1 +Version: 0.7.2 Release: 0 Summary: A top-like tool for your Kubernetes clusters License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.j00gMO/_old 2026-11-18 18:31:55.030774301 +0100 +++ /var/tmp/diff_new_pack.j00gMO/_new 2026-11-18 18:31:55.033774428 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/vladimirvivien/ktop.git</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">refs/tags/v0.7.1</param> + <param name="revision">refs/tags/v0.7.2</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.j00gMO/_old 2026-11-18 18:31:55.054775318 +0100 +++ /var/tmp/diff_new_pack.j00gMO/_new 2026-11-18 18:31:55.057775445 +0100 @@ -3,6 +3,6 @@ <param name="url">https://github.com/vladimirvivien/ktop</param> <param name="changesrevision">741794d89c63c4e9898e31d14799317ee4aa7cfb</param></service><service name="tar_scm"> <param name="url">https://github.com/vladimirvivien/ktop.git</param> - <param name="changesrevision">6b351b69a64abdc75ac1979d5a279d88a8da6d4a</param></service></servicedata> + <param name="changesrevision">085120eb13edfc922e6b06c06529f972b811e6c7</param></service></servicedata> (No newline at EOF) ++++++ ktop-0.7.1.obscpio -> ktop-0.7.2.obscpio ++++++ ++++ 3136 lines of diff (skipped) ++++++ ktop.obsinfo ++++++ --- /var/tmp/diff_new_pack.j00gMO/_old 2026-11-18 18:31:55.238783114 +0100 +++ /var/tmp/diff_new_pack.j00gMO/_new 2026-11-18 18:31:55.242783283 +0100 @@ -1,5 +1,5 @@ name: ktop -version: 0.7.1 -mtime: 1794782601 -commit: 6b351b69a64abdc75ac1979d5a279d88a8da6d4a +version: 0.7.2 +mtime: 1794952376 +commit: 085120eb13edfc922e6b06c06529f972b811e6c7 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/ktop/vendor.tar.gz /work/SRC/openSUSE:Factory/.ktop.new.1251/vendor.tar.gz differ: char 136, line 1
