Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package okteto for openSUSE:Factory checked 
in at 2022-11-24 12:22:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/okteto (Old)
 and      /work/SRC/openSUSE:Factory/.okteto.new.1597 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "okteto"

Thu Nov 24 12:22:49 2022 rev:32 rq:1037454 version:2.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/okteto/okteto.changes    2022-11-16 
15:42:56.527740101 +0100
+++ /work/SRC/openSUSE:Factory/.okteto.new.1597/okteto.changes  2022-11-24 
12:23:00.277211902 +0100
@@ -1,0 +2,6 @@
+Wed Nov 23 07:14:31 UTC 2022 - ka...@b1-systems.de
+
+- Update to version 2.9.1:
+  * Revert "update init container logs (#3127)" (#3239) (#3243)
+
+-------------------------------------------------------------------

Old:
----
  okteto-2.9.0.tar.gz

New:
----
  okteto-2.9.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ okteto.spec ++++++
--- /var/tmp/diff_new_pack.fsu6oH/_old  2022-11-24 12:23:01.429219223 +0100
+++ /var/tmp/diff_new_pack.fsu6oH/_new  2022-11-24 12:23:01.437219274 +0100
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           okteto
-Version:        2.9.0
+Version:        2.9.1
 Release:        0
 Summary:        Develop your applications directly in your Kubernetes Cluster
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.fsu6oH/_old  2022-11-24 12:23:01.473219503 +0100
+++ /var/tmp/diff_new_pack.fsu6oH/_new  2022-11-24 12:23:01.477219528 +0100
@@ -3,10 +3,10 @@
     <param name="url">https://github.com/okteto/okteto</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">2.9.0</param>
+    <param name="revision">2.9.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
-    <param name="match-tag">2.9.0</param>
+    <param name="match-tag">2.9.1</param>
   </service>
   <service name="set_version" mode="disabled">
     <param name="basename">okteto</param>
@@ -16,7 +16,7 @@
     <param name="compression">gz</param>
   </service>
   <service name="go_modules" mode="disabled">
-    <param name="archive">okteto-2.9.0.tar.gz</param>
+    <param name="archive">okteto-2.9.1.tar.gz</param>
   </service>
 </services>
 

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.fsu6oH/_old  2022-11-24 12:23:01.501219681 +0100
+++ /var/tmp/diff_new_pack.fsu6oH/_new  2022-11-24 12:23:01.505219706 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param name="url">https://github.com/okteto/okteto</param>
-              <param 
name="changesrevision">cdccc9b6ee8e720d3195820f93122a8cd1f57b6b</param></service></servicedata>
+              <param 
name="changesrevision">90f47b1c23b3414c6b2ae4eff5b35adbee31d775</param></service></servicedata>
 (No newline at EOF)
 

++++++ okteto-2.9.0.tar.gz -> okteto-2.9.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteto-2.9.0/pkg/cmd/stack/translate.go 
new/okteto-2.9.1/pkg/cmd/stack/translate.go
--- old/okteto-2.9.0/pkg/cmd/stack/translate.go 2022-11-03 17:40:42.000000000 
+0100
+++ new/okteto-2.9.1/pkg/cmd/stack/translate.go 2022-11-22 17:48:50.000000000 
+0100
@@ -319,11 +319,8 @@
                ImagePullPolicy: apiv1.PullIfNotPresent,
                VolumeMounts:    []apiv1.VolumeMount{},
        }
-
-       var initContainerCmd string
+       command := "echo initializing volume..."
        for idx, v := range svc.Volumes {
-               volumeClaimName := getVolumeClaimName(&v)
-               displayVolumeInfoCmd := fmt.Sprintf(`echo initializing volume 
%s with content of the image %s...`, volumeClaimName, svc.Image)
                subpath := fmt.Sprintf("data-%d", idx)
                if v.LocalPath != "" {
                        subpath = v.LocalPath
@@ -331,23 +328,15 @@
                c.VolumeMounts = append(
                        c.VolumeMounts,
                        apiv1.VolumeMount{
-                               Name:      volumeClaimName,
+                               Name:      getVolumeClaimName(&v),
                                MountPath: fmt.Sprintf("/init-volume-%d", idx),
                                SubPath:   subpath,
                        },
                )
-
-               copyVolumeCmd := fmt.Sprintf("cp -Rv %s/. /init-volume-%d 2>&1 
| sed -E 's/cp: cannot stat (.*): No such file or directory/the image '%s' does 
not have any content in \\1/g'", v.RemotePath, idx, svc.Image)
-               volumeInitCmd := fmt.Sprintf("%s && (%s || true)", 
displayVolumeInfoCmd, copyVolumeCmd)
-
-               if initContainerCmd != "" {
-                       initContainerCmd = fmt.Sprintf("%s &&", 
initContainerCmd)
-               }
-
-               initContainerCmd = strings.TrimSpace(fmt.Sprintf("%s %s", 
initContainerCmd, volumeInitCmd))
+               command = fmt.Sprintf("%s && (cp -Rv %s/. /init-volume-%d || 
true)", command, v.RemotePath, idx)
        }
        if len(c.VolumeMounts) != 0 {
-               c.Command = []string{"sh", "-c", initContainerCmd}
+               c.Command = []string{"sh", "-c", command}
                return c
        }
        return nil
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/okteto-2.9.0/pkg/cmd/stack/translate_test.go 
new/okteto-2.9.1/pkg/cmd/stack/translate_test.go
--- old/okteto-2.9.0/pkg/cmd/stack/translate_test.go    2022-11-03 
17:40:42.000000000 +0100
+++ new/okteto-2.9.1/pkg/cmd/stack/translate_test.go    2022-11-22 
17:48:50.000000000 +0100
@@ -256,7 +256,7 @@
                Name:            fmt.Sprintf("init-volume-%s", "svcName"),
                Image:           "image",
                ImagePullPolicy: apiv1.PullIfNotPresent,
-               Command:         []string{"sh", "-c", "echo initializing volume 
pvc with content of the image image... && (cp -Rv /volume1/. /init-volume-0 
2>&1 | sed -E 's/cp: cannot stat (.*): No such file or directory/the image 
'image' does not have any content in \\1/g' || true) && echo initializing 
volume pvc with content of the image image... && (cp -Rv /volume2/. 
/init-volume-1 2>&1 | sed -E 's/cp: cannot stat (.*): No such file or 
directory/the image 'image' does not have any content in \\1/g' || true)"},
+               Command:         []string{"sh", "-c", "echo initializing 
volume... && (cp -Rv /volume1/. /init-volume-0 || true) && (cp -Rv /volume2/. 
/init-volume-1 || true)"},
                VolumeMounts: []apiv1.VolumeMount{
                        {
                                MountPath: "/init-volume-0",
@@ -588,7 +588,7 @@
                Name:            fmt.Sprintf("init-volume-%s", "svcName"),
                Image:           "image",
                ImagePullPolicy: apiv1.PullIfNotPresent,
-               Command:         []string{"sh", "-c", "echo initializing volume 
pvc with content of the image image... && (cp -Rv /volume1/. /init-volume-0 
2>&1 | sed -E 's/cp: cannot stat (.*): No such file or directory/the image 
'image' does not have any content in \\1/g' || true) && echo initializing 
volume pvc with content of the image image... && (cp -Rv /volume2/. 
/init-volume-1 2>&1 | sed -E 's/cp: cannot stat (.*): No such file or 
directory/the image 'image' does not have any content in \\1/g' || true)"},
+               Command:         []string{"sh", "-c", "echo initializing 
volume... && (cp -Rv /volume1/. /init-volume-0 || true) && (cp -Rv /volume2/. 
/init-volume-1 || true)"},
                VolumeMounts: []apiv1.VolumeMount{
                        {
                                MountPath: "/init-volume-0",

++++++ vendor.tar.gz ++++++
/work/SRC/openSUSE:Factory/okteto/vendor.tar.gz 
/work/SRC/openSUSE:Factory/.okteto.new.1597/vendor.tar.gz differ: char 5, line 1

Reply via email to