Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package polaris for openSUSE:Factory checked 
in at 2023-12-13 18:34:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/polaris (Old)
 and      /work/SRC/openSUSE:Factory/.polaris.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "polaris"

Wed Dec 13 18:34:28 2023 rev:24 rq:1132741 version:8.5.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/polaris/polaris.changes  2023-11-02 
20:21:35.052088006 +0100
+++ /work/SRC/openSUSE:Factory/.polaris.new.25432/polaris.changes       
2023-12-13 18:34:36.069603214 +0100
@@ -1,0 +2,8 @@
+Tue Dec 12 17:22:29 UTC 2023 - ka...@b1-systems.de
+
+- Update to version 8.5.3:
+  * FWI-5385 Add quiet flag to polaris audit CLI command to
+    suppress 'upload to Insights' prompt (#1017)
+  * Managed by Terraform
+
+-------------------------------------------------------------------

Old:
----
  polaris-8.5.2.obscpio

New:
----
  polaris-8.5.3.obscpio

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

Other differences:
------------------
++++++ polaris.spec ++++++
--- /var/tmp/diff_new_pack.Td0BL7/_old  2023-12-13 18:34:37.793666916 +0100
+++ /var/tmp/diff_new_pack.Td0BL7/_new  2023-12-13 18:34:37.793666916 +0100
@@ -19,7 +19,7 @@
 %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
 
 Name:           polaris
-Version:        8.5.2
+Version:        8.5.3
 Release:        0
 Summary:        Validation of best practices in your Kubernetes clusters
 License:        Apache-2.0

++++++ _service ++++++
--- /var/tmp/diff_new_pack.Td0BL7/_old  2023-12-13 18:34:37.821667950 +0100
+++ /var/tmp/diff_new_pack.Td0BL7/_new  2023-12-13 18:34:37.825668098 +0100
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/FairwindsOps/polaris</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">8.5.2</param>
+    <param name="revision">8.5.3</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
   </service>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.Td0BL7/_old  2023-12-13 18:34:37.853669133 +0100
+++ /var/tmp/diff_new_pack.Td0BL7/_new  2023-12-13 18:34:37.857669281 +0100
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/FairwindsOps/polaris</param>
-              <param 
name="changesrevision">f295dd0fb5df11439243d13e633ebb47eb9503cf</param></service></servicedata>
+              <param 
name="changesrevision">3e96c582f0fe7cd05dd2fb4588f16161da3d3ca0</param></service></servicedata>
 (No newline at EOF)
 

++++++ polaris-8.5.2.obscpio -> polaris-8.5.3.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/polaris-8.5.2/CODEOWNERS new/polaris-8.5.3/CODEOWNERS
--- old/polaris-8.5.2/CODEOWNERS        2023-11-01 19:59:46.000000000 +0100
+++ new/polaris-8.5.3/CODEOWNERS        2023-12-06 22:44:53.000000000 +0100
@@ -1,2 +1,2 @@
 ## DO NOT EDIT - Managed by Terraform
-* @rbren @mggude
+* @rbren @sudermanjr
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/polaris-8.5.2/cmd/polaris/audit.go 
new/polaris-8.5.3/cmd/polaris/audit.go
--- old/polaris-8.5.2/cmd/polaris/audit.go      2023-11-01 19:59:46.000000000 
+0100
+++ new/polaris-8.5.3/cmd/polaris/audit.go      2023-12-06 22:44:53.000000000 
+0100
@@ -57,6 +57,7 @@
        skipSslValidation   bool
        uploadInsights      bool
        clusterName         string
+       quiet               bool
 )
 
 func init() {
@@ -80,6 +81,7 @@
        auditCmd.PersistentFlags().BoolVar(&skipSslValidation, 
"skip-ssl-validation", false, "Skip https certificate verification")
        auditCmd.PersistentFlags().BoolVar(&uploadInsights, "upload-insights", 
false, "Upload scan results to Fairwinds Insights")
        auditCmd.PersistentFlags().StringVar(&clusterName, "cluster-name", "", 
"Set --cluster-name to a descriptive name for the cluster you're auditing")
+       auditCmd.PersistentFlags().BoolVar(&quiet, "quiet", false, "Suppress 
the 'upload to Insights' prompt.")
 }
 
 var auditCmd = &cobra.Command{
@@ -181,8 +183,10 @@
                        
os.Stderr.WriteString(fmt.Sprintf("\n\n%s/orgs/%s/clusters/%s/action-items\n\n",
 insightsHost, auth.Organization, clusterName))
                } else {
                        outputAudit(auditData, auditOutputFile, auditOutputURL, 
auditOutputFormat, useColor, onlyShowFailedTests, severityLevel)
-                       os.Stderr.WriteString("\n\n🚀 Upload your Polaris 
findings to Fairwinds Insights to see remediation advice, add teammates, 
integrate with Slack or Jira, and more:")
-                       os.Stderr.WriteString("\n\n❯ polaris " + 
strings.Join(os.Args[1:], " ") + " --upload-insights 
--cluster-name=my-cluster\n\n")
+                       if !quiet {
+                               os.Stderr.WriteString("\n\n🚀 Upload your 
Polaris findings to Fairwinds Insights to see remediation advice, add 
teammates, integrate with Slack or Jira, and more:")
+                               os.Stderr.WriteString("\n\n❯ polaris " + 
strings.Join(os.Args[1:], " ") + " --upload-insights 
--cluster-name=my-cluster\n\n")
+                       }
                }
 
                summary := auditData.GetSummary()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/polaris-8.5.2/docs/cli.md 
new/polaris-8.5.3/docs/cli.md
--- old/polaris-8.5.2/docs/cli.md       2023-11-01 19:59:46.000000000 +0100
+++ new/polaris-8.5.3/docs/cli.md       2023-12-06 22:44:53.000000000 +0100
@@ -56,6 +56,7 @@
     --only-show-failed-tests          If specified, audit output will only 
show failed tests.
     --output-file string              Destination file for audit results.
     --output-url string               Destination URL to send audit results.
+    --quiet                           Suppress the 'upload to Insights' prompt.
     --resource string                 Audit a specific resource, in the format 
namespace/kind/version/name, e.g. 
nginx-ingress/Deployment.apps/v1/default-backend.
     --set-exit-code-below-score int   Set an exit code of 4 when the score is 
below this threshold (1-100).
     --set-exit-code-on-danger         Set an exit code of 3 when the audit 
contains danger-level issues.
@@ -81,3 +82,9 @@
   status      View authentication status.
   token       Print the auth token gh is configured to use.
 ```
+
+#### Suppressing 'upload to Insights' output
+
+When running the `polaris audit` subcommand, you can suppress the following 
output using the `--quiet flag`:
+
+> 🚀 Upload your Polaris findings to Fairwinds Insights to see remediation 
advice, add teammates, integrate with Slack or Jira, and more:

++++++ polaris.obsinfo ++++++
--- /var/tmp/diff_new_pack.Td0BL7/_old  2023-12-13 18:34:38.129679331 +0100
+++ /var/tmp/diff_new_pack.Td0BL7/_new  2023-12-13 18:34:38.129679331 +0100
@@ -1,5 +1,5 @@
 name: polaris
-version: 8.5.2
-mtime: 1698865186
-commit: f295dd0fb5df11439243d13e633ebb47eb9503cf
+version: 8.5.3
+mtime: 1701899093
+commit: 3e96c582f0fe7cd05dd2fb4588f16161da3d3ca0
 

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

Reply via email to