Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package timoni for openSUSE:Factory checked in at 2023-10-02 20:07:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/timoni (Old) and /work/SRC/openSUSE:Factory/.timoni.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "timoni" Mon Oct 2 20:07:14 2023 rev:6 rq:1114780 version:0.14.0 Changes: -------- --- /work/SRC/openSUSE:Factory/timoni/timoni.changes 2023-09-11 21:26:26.618488431 +0200 +++ /work/SRC/openSUSE:Factory/.timoni.new.28202/timoni.changes 2023-10-02 20:10:00.274438988 +0200 @@ -1,0 +2,71 @@ +Mon Oct 02 08:39:37 UTC 2023 - ka...@b1-systems.de + +- Update to version 0.14.0: + * Enable dark mode for docs website + * Remove `--source` flag from `timoni mod push` The source + annotation is now set automatically from Git metadata. The + source can also be explicitly set using `timoni mod push + --annotation='org.opencontainers.image.source=<URL>`. + * Document artifact media types and annotations + * Consolidate artifact annotations + - Use the OCI version annotation for modules + - Set the source, revision and created annotation from Git + metadata + - Rename `--annotations` to `--annotation` arg in `timoni mod + push` + - Allow overriding the source and revision values with the + `--annotation` flags + * Document bundle distribution + * Add artifact commands to docs index + * Add `artifact list` command + * Add `ArtifactReference` to API + * Store the module's schemas is dedicated layer + * Test artifacts operations + * Refactor artifacts operations + * Add registry login/logout to docs + * Add registry login/logout commands + * Refactor artifacts operations + * Push Timoni schemas to GCHR + * Add cmd for pulling generic artifacts + * Add cmd for pushing generic artifacts + * Add debug values to init module + * Document Kubernetes APIs and CRDs vendoring + * Bump the ci group with 1 update + * Vendor Kubernetes GA APIs into minimal + * Update the docs with the core schemas + * Push schemas to `ghcr.io/stefanprodan/timoni/schemas` + * Use `timoni.sh/core/v1alpha1` schemas in minimal + * Introduce Timoni's core schemas + - `#Image` defines the schema for an OCI image reference. + - `#Metadata` defines the schema for the Kubernetes object + metadata. + - `#Selector` defines the schema for Kubernetes pod label + selector used in Deployments, Services, Jobs, etc. + * Add commands for vendoring CUE schemas - `timoni mod vendor + k8s` - `timoni mod vendor crds -f` + * Refactor examples + - Move podinfo module to + https://github.com/stefanprodan/podinfo/tree/master/timoni/podinfo + - Update Redis module to v7.2.1 + - Update Minimal module to nginx v1.25.2 + - Update docs to point to the new example modules versions + * Add cmd for importing Kubernetes API schemas + * Add spinner to mod import crd + * Fetch CRDs over HTTPS + * Extract CRDs from multi-doc YAMLs This allows importing CRDs + from multi-doc YAML files that contain other Kubernetes + resources besides just CRDs. + * engine: Refactor the CRD importer Add a top level function for + converting multi-doc YAML files to CUE definition. The function + returns key value pairs, contain a unique identifier in the + format `<group>/<kind>/<version>` and the contents of the CUE + definition. + * Bump the ci group with 2 updates + * Add tests for `mod import crd` + * Implement Kubernetes CRD import command + * engine: Remove status from CRD cue gen + * Bump the ci group with 2 updates + * docs: Add the Runtime API to comparison doc + * bundle: Fix values merge with module defaults + +------------------------------------------------------------------- Old: ---- timoni-0.13.1.obscpio New: ---- timoni-0.13.0.obscpio timoni-0.14.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ timoni.spec ++++++ --- /var/tmp/diff_new_pack.gZxDev/_old 2023-10-02 20:10:02.626523576 +0200 +++ /var/tmp/diff_new_pack.gZxDev/_new 2023-10-02 20:10:02.642524151 +0200 @@ -19,7 +19,7 @@ %define __arch_install_post export NO_BRP_STRIP_DEBUG=true Name: timoni -Version: 0.13.1 +Version: 0.14.0 Release: 0 Summary: Package manager for Kubernetes, powered by CUE and inspired by Helm License: Apache-2.0 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.gZxDev/_old 2023-10-02 20:10:02.878532639 +0200 +++ /var/tmp/diff_new_pack.gZxDev/_new 2023-10-02 20:10:02.898533358 +0200 @@ -3,7 +3,7 @@ <param name="url">https://github.com/stefanprodan/timoni</param> <param name="scm">git</param> <param name="exclude">.git</param> - <param name="revision">v0.13.1</param> + <param name="revision">v0.14.0</param> <param name="versionformat">@PARENT_TAG@</param> <param name="changesgenerate">enable</param> <param name="versionrewrite-pattern">v(.*)</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.gZxDev/_old 2023-10-02 20:10:03.066539400 +0200 +++ /var/tmp/diff_new_pack.gZxDev/_new 2023-10-02 20:10:03.090540264 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/stefanprodan/timoni</param> - <param name="changesrevision">4b047b0868833bb92cae3302360946eb896b6501</param></service></servicedata> + <param name="changesrevision">66b2bab60b2c1afd02e15fe4c3d4f84274dcd601</param></service></servicedata> (No newline at EOF) ++++++ timoni-0.13.1.obscpio -> timoni-0.13.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/timoni-0.13.1/cmd/timoni/build_test.go new/timoni-0.13.0/cmd/timoni/build_test.go --- old/timoni-0.13.1/cmd/timoni/build_test.go 2023-09-10 18:48:52.000000000 +0200 +++ new/timoni-0.13.0/cmd/timoni/build_test.go 2023-09-10 15:13:48.000000000 +0200 @@ -143,7 +143,6 @@ g.Expect(len(objects)).To(BeEquivalentTo(1)) g.Expect(objects[0].GetName()).To(BeEquivalentTo(name + "-client")) g.Expect(objects[0].GetAnnotations()).To(HaveKeyWithValue("scope", "external")) - g.Expect(objects[0].GetLabels()).To(HaveKeyWithValue("app.kubernetes.io/team", "test")) val, _, err := unstructured.NestedString(objects[0].Object, "data", "server") g.Expect(err).ToNot(HaveOccurred()) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/timoni-0.13.1/cmd/timoni/testdata/module/templates/config.cue new/timoni-0.13.0/cmd/timoni/testdata/module/templates/config.cue --- old/timoni-0.13.1/cmd/timoni/testdata/module/templates/config.cue 2023-09-10 18:48:52.000000000 +0200 +++ new/timoni-0.13.0/cmd/timoni/testdata/module/templates/config.cue 2023-09-10 15:13:48.000000000 +0200 @@ -1,8 +1,6 @@ package templates #Config: { - team!: string - metadata: { name: *"test" | string namespace: *"default" | string @@ -10,7 +8,6 @@ "app.kubernetes.io/name": metadata.name "app.kubernetes.io/version": moduleVersion "app.kubernetes.io/kube": kubeVersion - "app.kubernetes.io/team": team } | {[ string]: string} annotations?: {[ string]: string} } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/timoni-0.13.1/cmd/timoni/testdata/module/values.cue new/timoni-0.13.0/cmd/timoni/testdata/module/values.cue --- old/timoni-0.13.1/cmd/timoni/testdata/module/values.cue 2023-09-10 18:48:52.000000000 +0200 +++ new/timoni-0.13.0/cmd/timoni/testdata/module/values.cue 2023-09-10 15:13:48.000000000 +0200 @@ -4,5 +4,5 @@ package main values: { - team: "test" + // Placeholder for user-supplied values } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/timoni-0.13.1/internal/engine/module_builder.go new/timoni-0.13.0/internal/engine/module_builder.go --- old/timoni-0.13.1/internal/engine/module_builder.go 2023-09-10 18:48:52.000000000 +0200 +++ new/timoni-0.13.0/internal/engine/module_builder.go 2023-09-10 15:13:48.000000000 +0200 @@ -98,14 +98,16 @@ // WriteValuesFileWithDefaults merges the module's root values.cue with the supplied value. func (b *ModuleBuilder) WriteValuesFileWithDefaults(val cue.Value) error { - valData := []byte(fmt.Sprintf("%s: %v", apiv1.ValuesSelector.String(), val)) - - vb := NewValuesBuilder(b.ctx) defaultFile := filepath.Join(b.pkgPath, defaultValuesFile) - finalVal, err := vb.MergeValues([][]byte{valData}, defaultFile) + baseVal, err := ExtractValueFromFile(b.ctx, defaultFile, apiv1.ValuesSelector.String()) + if err != nil { + return fmt.Errorf("loading default values from module failed: %w", err) + } + + finalVal, err := MergeValue(val, baseVal) if err != nil { - return err + return fmt.Errorf("merging values failed: %w", err) } cueGen := fmt.Sprintf("package %s\n%s: %v", b.pkgName, apiv1.ValuesSelector, finalVal) ++++++ timoni-0.13.1.obscpio -> timoni-0.14.0.obscpio ++++++ ++++ 45119 lines of diff (skipped) ++++++ timoni.obsinfo ++++++ --- /var/tmp/diff_new_pack.gZxDev/_old 2023-10-02 20:10:04.442588886 +0200 +++ /var/tmp/diff_new_pack.gZxDev/_new 2023-10-02 20:10:04.442588886 +0200 @@ -1,5 +1,5 @@ name: timoni -version: 0.13.1 -mtime: 1694364532 -commit: 4b047b0868833bb92cae3302360946eb896b6501 +version: 0.14.0 +mtime: 1696232528 +commit: 66b2bab60b2c1afd02e15fe4c3d4f84274dcd601 ++++++ vendor.tar.gz ++++++ /work/SRC/openSUSE:Factory/timoni/vendor.tar.gz /work/SRC/openSUSE:Factory/.timoni.new.28202/vendor.tar.gz differ: char 5, line 1