Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package kargo-cli for openSUSE:Factory checked in at 2025-08-07 16:49:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kargo-cli (Old) and /work/SRC/openSUSE:Factory/.kargo-cli.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kargo-cli" Thu Aug 7 16:49:13 2025 rev:30 rq:1298048 version:1.7.1 Changes: -------- --- /work/SRC/openSUSE:Factory/kargo-cli/kargo-cli.changes 2025-08-06 14:36:05.239075450 +0200 +++ /work/SRC/openSUSE:Factory/.kargo-cli.new.1085/kargo-cli.changes 2025-08-07 16:50:57.933714456 +0200 @@ -1,0 +2,6 @@ +Thu Aug 07 05:08:04 UTC 2025 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- Update to version 1.7.1: + * no CLI-related changes + +------------------------------------------------------------------- Old: ---- kargo-cli-1.7.0.obscpio New: ---- kargo-cli-1.7.1.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kargo-cli.spec ++++++ --- /var/tmp/diff_new_pack.Buc1vv/_old 2025-08-07 16:50:59.281770970 +0200 +++ /var/tmp/diff_new_pack.Buc1vv/_new 2025-08-07 16:50:59.285771137 +0200 @@ -19,7 +19,7 @@ %define executable_name kargo Name: kargo-cli -Version: 1.7.0 +Version: 1.7.1 Release: 0 Summary: CLI for the Kubernetes Application lifecycle orchestration License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.Buc1vv/_old 2025-08-07 16:50:59.321772647 +0200 +++ /var/tmp/diff_new_pack.Buc1vv/_new 2025-08-07 16:50:59.321772647 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/akuity/kargo</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v1.7.0</param> + <param name="revision">v1.7.1</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.Buc1vv/_old 2025-08-07 16:50:59.349773820 +0200 +++ /var/tmp/diff_new_pack.Buc1vv/_new 2025-08-07 16:50:59.357774156 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/akuity/kargo</param> - <param name="changesrevision">c460e1d69f32548157ecc901d7475ebf66d52d3f</param></service></servicedata> + <param name="changesrevision">3c4ad9d059757e0fe8046117425a56429c62c9b6</param></service></servicedata> (No newline at EOF) ++++++ kargo-cli-1.7.0.obscpio -> kargo-cli-1.7.1.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kargo-cli-1.7.0/charts/kargo/templates/garbage-collector/cron-job.yaml new/kargo-cli-1.7.1/charts/kargo/templates/garbage-collector/cron-job.yaml --- old/kargo-cli-1.7.0/charts/kargo/templates/garbage-collector/cron-job.yaml 2025-08-05 11:36:50.000000000 +0200 +++ new/kargo-cli-1.7.1/charts/kargo/templates/garbage-collector/cron-job.yaml 2025-08-06 15:09:29.000000000 +0200 @@ -54,7 +54,7 @@ {{- end }} {{- with .Values.image.pullSecrets }} imagePullSecrets: - {{- toYaml . | nindent 8 }} + {{- toYaml . | nindent 12 }} {{- end }} containers: - name: garbage-collector diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kargo-cli-1.7.0/internal/controller/stages/control_flow_stages.go new/kargo-cli-1.7.1/internal/controller/stages/control_flow_stages.go --- old/kargo-cli-1.7.0/internal/controller/stages/control_flow_stages.go 2025-08-05 11:36:50.000000000 +0200 +++ new/kargo-cli-1.7.1/internal/controller/stages/control_flow_stages.go 2025-08-06 15:09:29.000000000 +0200 @@ -212,7 +212,7 @@ } if !r.shardPredicate.IsResponsible(stage) { - logger.Debug("ignoring Control Flow Stage because it is is not assigned to this shard") + logger.Debug("ignoring Control Flow Stage because it is not assigned to this shard") return ctrl.Result{}, nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kargo-cli-1.7.0/internal/controller/stages/regular_stages.go new/kargo-cli-1.7.1/internal/controller/stages/regular_stages.go --- old/kargo-cli-1.7.0/internal/controller/stages/regular_stages.go 2025-08-05 11:36:50.000000000 +0200 +++ new/kargo-cli-1.7.1/internal/controller/stages/regular_stages.go 2025-08-06 15:09:29.000000000 +0200 @@ -335,7 +335,7 @@ } if !r.shardPredicate.IsResponsible(stage) { - logger.Debug("ignoring Stage because it is is not assigned to this shard") + logger.Debug("ignoring Stage because it is not assigned to this shard") return ctrl.Result{}, nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kargo-cli-1.7.0/internal/controller/warehouses/warehouses.go new/kargo-cli-1.7.1/internal/controller/warehouses/warehouses.go --- old/kargo-cli-1.7.0/internal/controller/warehouses/warehouses.go 2025-08-05 11:36:50.000000000 +0200 +++ new/kargo-cli-1.7.1/internal/controller/warehouses/warehouses.go 2025-08-06 15:09:29.000000000 +0200 @@ -102,9 +102,13 @@ cfg ReconcilerConfig, ) *reconciler { r := &reconciler{ - client: kubeClient, - credentialsDB: credentialsDB, - cfg: cfg, + client: kubeClient, + credentialsDB: credentialsDB, + cfg: cfg, + shardPredicate: controller.ResponsibleFor[kargoapi.Warehouse]{ + IsDefaultController: cfg.IsDefaultController, + ShardName: cfg.ShardName, + }, createFreightFn: kubeClient.Create, } @@ -144,7 +148,7 @@ } if !r.shardPredicate.IsResponsible(warehouse) { - logger.Debug("ignoring Warehouse because it is is not assigned to this shard") + logger.Debug("ignoring Warehouse because it is not assigned to this shard") return ctrl.Result{}, nil } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kargo-cli-1.7.0/ui/src/features/project/pipelines/pipelines.tsx new/kargo-cli-1.7.1/ui/src/features/project/pipelines/pipelines.tsx --- old/kargo-cli-1.7.0/ui/src/features/project/pipelines/pipelines.tsx 2025-08-05 11:36:50.000000000 +0200 +++ new/kargo-cli-1.7.1/ui/src/features/project/pipelines/pipelines.tsx 2025-08-06 15:09:29.000000000 +0200 @@ -43,6 +43,7 @@ import { useFreightInStage } from './use-freight-in-stage'; import { useGetFreight } from './use-get-freight'; import { useGetWarehouse } from './use-get-warehouse'; +import { usePersistPreferredFilter } from './use-persist-filters'; import { useStageAutoPromotionMap } from './use-stage-auto-promotion-map'; import { useStageByName } from './use-stage-by-name'; import { useSubscribersByStage } from './use-subscribers-by-stage'; @@ -108,7 +109,9 @@ [project, listStagesQuery.data?.stages] ); - const [preferredFilter, setPreferredFilter] = useFreightTimelineControllerStore(); + const [preferredFilter, setPreferredFilter] = useFreightTimelineControllerStore( + projectName || '' + ); const [viewingFreight, setViewingFreight] = useState<Freight | null>(null); @@ -134,6 +137,8 @@ const freights = getFreightQuery.data?.groups?.['']?.freight || []; + usePersistPreferredFilter(projectName || '', preferredFilter); + useWatchFreight(projectName || ''); if (loading) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kargo-cli-1.7.0/ui/src/features/project/pipelines/url-params/use-freight-timeline-controller-store.ts new/kargo-cli-1.7.1/ui/src/features/project/pipelines/url-params/use-freight-timeline-controller-store.ts --- old/kargo-cli-1.7.0/ui/src/features/project/pipelines/url-params/use-freight-timeline-controller-store.ts 2025-08-05 11:36:50.000000000 +0200 +++ new/kargo-cli-1.7.1/ui/src/features/project/pipelines/url-params/use-freight-timeline-controller-store.ts 2025-08-06 15:09:29.000000000 +0200 @@ -4,7 +4,9 @@ import { FreightTimelineControllerContextType } from '@ui/features/project/pipelines/context/freight-timeline-controller-context'; import { timerangeTypes } from '@ui/features/project/pipelines/freight/filter-timerange-utils'; -export const useFreightTimelineControllerStore = () => { +import { getFreightTimelineFiltersLocalStorage } from '../use-persist-filters'; + +export const useFreightTimelineControllerStore = (project: string) => { const [searchParams, setSearchParams] = useSearchParams(); const filters = useMemo(() => { @@ -17,7 +19,8 @@ hideUnusedFreights: false, stackedNodesParents: [], hideSubscriptions: {}, - images: false + images: false, + ...getFreightTimelineFiltersLocalStorage(project) }; const showAliasParam = searchParams.get('showAlias'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kargo-cli-1.7.0/ui/src/features/project/pipelines/use-persist-filters.ts new/kargo-cli-1.7.1/ui/src/features/project/pipelines/use-persist-filters.ts --- old/kargo-cli-1.7.0/ui/src/features/project/pipelines/use-persist-filters.ts 2025-08-05 11:36:50.000000000 +0200 +++ new/kargo-cli-1.7.1/ui/src/features/project/pipelines/use-persist-filters.ts 2025-08-06 15:09:29.000000000 +0200 @@ -4,8 +4,7 @@ export const usePersistPreferredFilter = ( project: string, - preferredFilter: FreightTimelineControllerContextType['preferredFilter'], - updatePreferredFilter: (f: FreightTimelineControllerContextType['preferredFilter']) => void + preferredFilter: FreightTimelineControllerContextType['preferredFilter'] ) => { const init = useRef(false); @@ -17,16 +16,20 @@ localStorage.setItem(`filters-${project}`, JSON.stringify(preferredFilter)); }, [preferredFilter]); +}; - useEffect(() => { - const preferredFilterLocal = localStorage.getItem(`filters-${project}`); +export const getFreightTimelineFiltersLocalStorage = ( + project?: string +): Partial<FreightTimelineControllerContextType['preferredFilter']> => { + const filters = localStorage.getItem(`filters-${project}`); - if (preferredFilterLocal) { - try { - updatePreferredFilter(JSON.parse(preferredFilterLocal)); - } catch (e) { - // silent - } + if (filters) { + try { + return JSON.parse(filters); + } catch { + return {}; } - }, []); + } + + return {}; }; ++++++ kargo-cli.obsinfo ++++++ --- /var/tmp/diff_new_pack.Buc1vv/_old 2025-08-07 16:51:02.265896071 +0200 +++ /var/tmp/diff_new_pack.Buc1vv/_new 2025-08-07 16:51:02.273896406 +0200 @@ -1,5 +1,5 @@ name: kargo-cli -version: 1.7.0 -mtime: 1754386610 -commit: c460e1d69f32548157ecc901d7475ebf66d52d3f +version: 1.7.1 +mtime: 1754485769 +commit: 3c4ad9d059757e0fe8046117425a56429c62c9b6 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/kargo-cli/vendor.tar.gz /work/SRC/openSUSE:Factory/.kargo-cli.new.1085/vendor.tar.gz differ: char 136, line 2