commit helm-mirror for openSUSE:Factory

2019-11-19 Thread root
Hello community,

here is the log from the commit of package helm-mirror for openSUSE:Factory 
checked in at 2019-11-19 12:59:18

Comparing /work/SRC/openSUSE:Factory/helm-mirror (Old)
 and  /work/SRC/openSUSE:Factory/.helm-mirror.new.26869 (New)


Package is "helm-mirror"

Tue Nov 19 12:59:18 2019 rev:8 rq:749418 version:0.3.1

Changes:

--- /work/SRC/openSUSE:Factory/helm-mirror/helm-mirror.changes  2019-10-08 
19:58:29.252097363 +0200
+++ /work/SRC/openSUSE:Factory/.helm-mirror.new.26869/helm-mirror.changes   
2019-11-19 12:59:22.526132169 +0100
@@ -1,0 +2,10 @@
+Mon Nov 18 10:14:28 UTC 2019 - Vicente Zepeda Mas 
+
+## v0.3.1
+
+- Update to use helm 2.16.1 to fix CVE-2019-18658
+- Update to use go modules
+
+bsc#1156646 
+
+---

Old:

  helm-mirror-0.3.0.tar.gz

New:

  helm-mirror-0.3.1.tar.gz
  vendor.tar.gz



Other differences:
--
++ helm-mirror.spec ++
--- /var/tmp/diff_new_pack.joFviF/_old  2019-11-19 12:59:24.102131174 +0100
+++ /var/tmp/diff_new_pack.joFviF/_new  2019-11-19 12:59:24.106131172 +0100
@@ -20,13 +20,16 @@
 %define project github.com/openSUSE/helm-mirror
 
 Name:   helm-mirror
-Version:0.3.0
+Version:0.3.1
 Release:0
 Summary:Tool to mirror Helm repositories
 License:Apache-2.0
 Group:  System/Management
 Url:https://github.com/openSUSE/helm-mirror
 Source: %{name}-%{version}.tar.gz
+Source1:vendor.tar.gz
+BuildRequires:  fdupes
+BuildRequires:  git
 BuildRequires:  go >= 1.11.3
 BuildRequires:  go-go-md2man
 BuildRequires:  golang-packaging
@@ -40,6 +43,7 @@
 
 %prep
 %setup -q
+%setup -q -T -D -a 1
 
 %build
 
@@ -50,12 +54,14 @@
 rm -rf $HOME/go/src/%{project}/*
 cp -avr * $HOME/go/src/%{project}
 
-export VERSION=$(sed -n -e 's/version:[ "]*\([^"]*\).*/\1/p' plugin.yaml)
-if [ "$VERSION" != "%{version}" ]; then
-  VERSION="%{version}_suse"
-fi
+export VERSION=%{version}
+export COMMIT=%{commit}
+go build  \
+   -mod=vendor \
+   -buildmode=pie \
+   -ldflags "-X github.com/openSUSE/helm-mirror/cmd.version=$VERSION -X 
github.com/openSUSE/helm-mirror/cmd.gitCommit=$COMMIT" \
+   -o ./bin/helm-mirror ;
 
-make VERSION="$VERSION" mirror
 make doc
 
 %install
@@ -67,6 +73,8 @@
   install -D -m 0644 $file "%{buildroot}/%{_mandir}/man1/$(basename $file)"
 done
 
+%fdupes %{buildroot}
+
 %files
 %defattr(-,root,root)
 %doc README.md LICENSE doc/*

++ _service ++
--- /var/tmp/diff_new_pack.joFviF/_old  2019-11-19 12:59:24.138131152 +0100
+++ /var/tmp/diff_new_pack.joFviF/_new  2019-11-19 12:59:24.138131152 +0100
@@ -2,8 +2,8 @@
   
 https://github.com/openSUSE/helm-mirror
 git
-0.3.0
-v0.3.0
+0.3.1
+v0.3.1
   
   
 helm-mirror-*.tar
@@ -12,4 +12,6 @@
   
 helm-mirror
   
+  
+  
 

++ helm-mirror-0.3.0.tar.gz -> helm-mirror-0.3.1.tar.gz ++
 3301 lines of diff (skipped)




commit helm-mirror for openSUSE:Factory

2019-10-08 Thread root
Hello community,

here is the log from the commit of package helm-mirror for openSUSE:Factory 
checked in at 2019-10-08 19:58:27

Comparing /work/SRC/openSUSE:Factory/helm-mirror (Old)
 and  /work/SRC/openSUSE:Factory/.helm-mirror.new.2352 (New)


Package is "helm-mirror"

Tue Oct  8 19:58:27 2019 rev:7 rq:735896 version:0.3.0

Changes:

--- /work/SRC/openSUSE:Factory/helm-mirror/helm-mirror.changes  2019-07-18 
15:21:18.844134490 +0200
+++ /work/SRC/openSUSE:Factory/.helm-mirror.new.2352/helm-mirror.changes
2019-10-08 19:58:29.252097363 +0200
@@ -1,0 +2,13 @@
+Mon Oct  7 12:14:06 UTC 2019 - Vicente Zepeda Mas 
+
+## v0.3.0
+
+- New features: get latest and specific charts
+
+  - Getting charts now only downloads the altest versions of the charts.
+  - The --all-versions flags allows to download all versions of the charts.
+  - The flags --chart-name and --chart-version allow the user to only get the 
desired chart.
+  
+ fix bsc#1153244
+
+---

Old:

  helm-mirror-0.2.4.tar.gz

New:

  helm-mirror-0.3.0.tar.gz



Other differences:
--
++ helm-mirror.spec ++
--- /var/tmp/diff_new_pack.ucn9rO/_old  2019-10-08 19:58:30.364094033 +0200
+++ /var/tmp/diff_new_pack.ucn9rO/_new  2019-10-08 19:58:30.368094021 +0200
@@ -20,7 +20,7 @@
 %define project github.com/openSUSE/helm-mirror
 
 Name:   helm-mirror
-Version:0.2.4
+Version:0.3.0
 Release:0
 Summary:Tool to mirror Helm repositories
 License:Apache-2.0
@@ -60,7 +60,7 @@
 
 %install
 # Install the plugin.
-install -D -m 0755 ./bin/mirror "%{buildroot}/%{_bindir}/%{name}"
+install -D -m 0755 ./bin/helm-mirror "%{buildroot}/%{_bindir}/%{name}"
 
 # Install all of the docs.
 for file in doc/man/*.1; do

++ _service ++
--- /var/tmp/diff_new_pack.ucn9rO/_old  2019-10-08 19:58:30.392093950 +0200
+++ /var/tmp/diff_new_pack.ucn9rO/_new  2019-10-08 19:58:30.396093937 +0200
@@ -2,8 +2,8 @@
   
 https://github.com/openSUSE/helm-mirror
 git
-0.2.4
-v0.2.4
+0.3.0
+v0.3.0
   
   
 helm-mirror-*.tar

++ helm-mirror-0.2.4.tar.gz -> helm-mirror-0.3.0.tar.gz ++
 22393 lines of diff (skipped)




commit helm-mirror for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package helm-mirror for openSUSE:Factory 
checked in at 2019-01-08 12:29:15

Comparing /work/SRC/openSUSE:Factory/helm-mirror (Old)
 and  /work/SRC/openSUSE:Factory/.helm-mirror.new.28833 (New)


Package is "helm-mirror"

Tue Jan  8 12:29:15 2019 rev:5 rq:663332 version:0.2.1

Changes:

--- /work/SRC/openSUSE:Factory/helm-mirror/helm-mirror.changes  2019-01-05 
14:42:46.140459316 +0100
+++ /work/SRC/openSUSE:Factory/.helm-mirror.new.28833/helm-mirror.changes   
2019-01-08 12:31:26.184078801 +0100
@@ -1,0 +2,10 @@
+Fri Jan  4 10:47:01 UTC 2019 - Vicente Zepeda 
+
+## v0.2.1
+
+- fixes empty archive files
+- usage of ignore-errors flag
+
+fix bsc#1120762
+
+---

Old:

  helm-mirror-0.2.0.tar.gz

New:

  helm-mirror-0.2.1.tar.gz



Other differences:
--
++ helm-mirror.spec ++
--- /var/tmp/diff_new_pack.9AhirG/_old  2019-01-08 12:31:26.552078400 +0100
+++ /var/tmp/diff_new_pack.9AhirG/_new  2019-01-08 12:31:26.552078400 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package helm-mirror
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
 %define project github.com/openSUSE/helm-mirror
 
 Name:   helm-mirror
-Version:0.2.0
+Version:0.2.1
 Release:0
 Summary:Tool to mirror Helm repositories
 License:Apache-2.0

++ _service ++
--- /var/tmp/diff_new_pack.9AhirG/_old  2019-01-08 12:31:26.584078366 +0100
+++ /var/tmp/diff_new_pack.9AhirG/_new  2019-01-08 12:31:26.584078366 +0100
@@ -2,8 +2,8 @@
   
 https
 codeload.github.com
-openSUSE/helm-mirror/tar.gz/v0.2.0
-helm-mirror-0.2.0.tar.gz
+openSUSE/helm-mirror/tar.gz/v0.2.1
+helm-mirror-0.2.1.tar.gz
   
   
 gz

++ helm-mirror-0.2.0.tar.gz -> helm-mirror-0.2.1.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-mirror-0.2.0/CHANGELOG.md 
new/helm-mirror-0.2.1/CHANGELOG.md
--- old/helm-mirror-0.2.0/CHANGELOG.md  2018-12-04 12:00:48.0 +0100
+++ new/helm-mirror-0.2.1/CHANGELOG.md  2019-01-03 15:12:28.0 +0100
@@ -7,6 +7,10 @@
 
 ## [Unreleased]
 
+## v0.2.1
+
+- fixes empty archive files and usage of ignore-errors flag
+
 ## v0.2.0
 
 ### Added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-mirror-0.2.0/README.md 
new/helm-mirror-0.2.1/README.md
--- old/helm-mirror-0.2.0/README.md 2018-12-04 12:00:48.0 +0100
+++ new/helm-mirror-0.2.1/README.md 2019-01-03 15:12:28.0 +0100
@@ -70,6 +70,7 @@
   --ca-file string verify certificates of HTTPS-enabled servers using 
this CA bundle
   --cert-file string   identify HTTPS client using this SSL certificate 
file
   -h, --help   help for mirror
+  -i, --ignore-errors  ignores errors while downloading or processing 
charts
   --key-file stringidentify HTTPS client using this SSL key file
   --new-root-url   New root url of the chart repository (eg: 
`https://mirror.local.lan/charts`)
   --password stringchart repository password
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-mirror-0.2.0/cmd/inspectImages.go 
new/helm-mirror-0.2.1/cmd/inspectImages.go
--- old/helm-mirror-0.2.0/cmd/inspectImages.go  2018-12-04 12:00:48.0 
+0100
+++ new/helm-mirror-0.2.1/cmd/inspectImages.go  2019-01-03 15:12:28.0 
+0100
@@ -27,10 +27,8 @@
 )
 
 var (
-   //IgnoreErrors ignores errors in processing charts
-   IgnoreErrors bool
-   output   string
-   target   string
+   output string
+   target string
 )
 
 const imagesDesc = `Extract all the images of the Helm Chart or
@@ -78,7 +76,7 @@
 }
 
 func init() {
-   inspectImagesCmd.PersistentFlags().BoolVarP(, 
"ignore-errors", "i", false, "ignores errors whiles processing charts. (Exit 
Code: 2)")
+
inspectImagesCmd.PersistentFlags().StringVarP(, "output", "o", 
"stdout", outputDesc)
rootCmd.AddCommand(inspectImagesCmd)
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-mirror-0.2.0/cmd/root.go 
new/helm-mirror-0.2.1/cmd/root.go
--- old/helm-mirror-0.2.0/cmd/root.go   2018-12-04 12:00:48.0 +0100
+++ new/helm-mirror-0.2.1/cmd/root.go   2019-01-03 15:12:28.0 +0100
@@ -30,18 +30,20 @@
 
 var (
//Verbose defines if the command 

commit helm-mirror for openSUSE:Factory

2019-01-05 Thread root
Hello community,

here is the log from the commit of package helm-mirror for openSUSE:Factory 
checked in at 2019-01-05 14:42:44

Comparing /work/SRC/openSUSE:Factory/helm-mirror (Old)
 and  /work/SRC/openSUSE:Factory/.helm-mirror.new.28833 (New)


Package is "helm-mirror"

Sat Jan  5 14:42:44 2019 rev:4 rq:662761 version:0.2.0

Changes:

--- /work/SRC/openSUSE:Factory/helm-mirror/helm-mirror.changes  2018-12-13 
19:49:14.328639321 +0100
+++ /work/SRC/openSUSE:Factory/.helm-mirror.new.28833/helm-mirror.changes   
2019-01-05 14:42:46.140459316 +0100
@@ -1,0 +2,11 @@
+Tue Dec 18 13:28:35 UTC 2018 - Vicente Zepeda 
+
+- Update go requirements to >= go1.11.3 to fix
+ * bsc#1118897 CVE-2018-16873
+go#29230 cmd/go: remote command execution during "go get -u"
+  * bsc#1118898 CVE-2018-16874
+go#29231 cmd/go: directory traversal in "go get" via curly braces in 
import paths
+  * bsc#1118899 CVE-2018-16875
+go#29233 crypto/x509: CPU denial of service
+
+---



Other differences:
--
++ helm-mirror.spec ++
--- /var/tmp/diff_new_pack.g2uRLG/_old  2019-01-05 14:42:46.864458701 +0100
+++ /var/tmp/diff_new_pack.g2uRLG/_new  2019-01-05 14:42:46.864458701 +0100
@@ -27,10 +27,10 @@
 Group:  System/Management
 Url:https://github.com/openSUSE/helm-mirror
 Source: %{name}-%{version}.tar.gz
-BuildRequires:  go >= 1.9.7
+BuildRequires:  go >= 1.11.3
 BuildRequires:  go-go-md2man
 BuildRequires:  golang-packaging
-BuildRequires:  golang(API) >= 1.9
+BuildRequires:  golang(API) >= 1.11
 Requires(post): %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 




commit helm-mirror for openSUSE:Factory

2018-12-13 Thread root
Hello community,

here is the log from the commit of package helm-mirror for openSUSE:Factory 
checked in at 2018-12-13 19:49:12

Comparing /work/SRC/openSUSE:Factory/helm-mirror (Old)
 and  /work/SRC/openSUSE:Factory/.helm-mirror.new.28833 (New)


Package is "helm-mirror"

Thu Dec 13 19:49:12 2018 rev:3 rq:657597 version:0.2.0

Changes:

--- /work/SRC/openSUSE:Factory/helm-mirror/helm-mirror.changes  2018-12-04 
20:58:28.732577054 +0100
+++ /work/SRC/openSUSE:Factory/.helm-mirror.new.28833/helm-mirror.changes   
2018-12-13 19:49:14.328639321 +0100
@@ -1,0 +2,5 @@
+Wed Dec 12 15:23:49 UTC 2018 - Vicente Zepeda 
+
+upgrade to the latest go version so we build with a supported go
+
+---



Other differences:
--
++ helm-mirror.spec ++
--- /var/tmp/diff_new_pack.QaDamF/_old  2018-12-13 19:49:14.756638767 +0100
+++ /var/tmp/diff_new_pack.QaDamF/_new  2018-12-13 19:49:14.760638762 +0100
@@ -30,7 +30,7 @@
 BuildRequires:  go >= 1.9.7
 BuildRequires:  go-go-md2man
 BuildRequires:  golang-packaging
-BuildRequires:  golang(API) = 1.9
+BuildRequires:  golang(API) >= 1.9
 Requires(post): %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 




commit helm-mirror for openSUSE:Factory

2018-12-04 Thread root
Hello community,

here is the log from the commit of package helm-mirror for openSUSE:Factory 
checked in at 2018-12-04 20:58:18

Comparing /work/SRC/openSUSE:Factory/helm-mirror (Old)
 and  /work/SRC/openSUSE:Factory/.helm-mirror.new.19453 (New)


Package is "helm-mirror"

Tue Dec  4 20:58:18 2018 rev:2 rq:653849 version:0.2.0

Changes:

--- /work/SRC/openSUSE:Factory/helm-mirror/helm-mirror.changes  2018-11-18 
23:31:58.457496979 +0100
+++ /work/SRC/openSUSE:Factory/.helm-mirror.new.19453/helm-mirror.changes   
2018-12-04 20:58:28.732577054 +0100
@@ -1,0 +2,22 @@
+Tue Dec 4 11:24:37 UTC 2018 - Vicente Zepeda 
+
+## v0.2.0
+
+### Added
+
+- `mirror inspect-images` flag `--output` usage updated, flag `--file-name` no 
longer needed.
+  - `-o file=filename`
+  - `-o json=filename.json`
+  - `-o yaml=filename.yaml`
+  - `-o skopeo=filename.yaml`
+
+- `helm-mirror` has a new flag `--new-root-url` new root url of the chart 
repository.
+  (eg: `https://mirror.local.lan/charts`). This will allow users to set the 
name of
+  their mirror server when getting all the charts.
+
+- `downloaded-index.yaml` file changes it's name to `index.yaml` to allow 
users to host quickly
+  a mirror chart server.
+
+fix bsc#1117783
+
+---

Old:

  helm-mirror-0.1.0.tar.gz

New:

  helm-mirror-0.2.0.tar.gz



Other differences:
--
++ helm-mirror.spec ++
--- /var/tmp/diff_new_pack.G0uQul/_old  2018-12-04 20:58:29.200576538 +0100
+++ /var/tmp/diff_new_pack.G0uQul/_new  2018-12-04 20:58:29.200576538 +0100
@@ -15,11 +15,12 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 # Project name when using go tooling.
 %define project github.com/openSUSE/helm-mirror
 
 Name:   helm-mirror
-Version:0.1.0
+Version:0.2.0
 Release:0
 Summary:Tool to mirror Helm repositories
 License:Apache-2.0
@@ -27,9 +28,9 @@
 Url:https://github.com/openSUSE/helm-mirror
 Source: %{name}-%{version}.tar.gz
 BuildRequires:  go >= 1.9.7
+BuildRequires:  go-go-md2man
 BuildRequires:  golang-packaging
 BuildRequires:  golang(API) = 1.9
-BuildRequires:  go-go-md2man
 Requires(post): %fillup_prereq
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 

++ _service ++
--- /var/tmp/diff_new_pack.G0uQul/_old  2018-12-04 20:58:29.224576512 +0100
+++ /var/tmp/diff_new_pack.G0uQul/_new  2018-12-04 20:58:29.224576512 +0100
@@ -2,8 +2,8 @@
   
 https
 codeload.github.com
-openSUSE/helm-mirror/tar.gz/v0.1.0
-helm-mirror-0.1.0.tar.gz
+openSUSE/helm-mirror/tar.gz/v0.2.0
+helm-mirror-0.2.0.tar.gz
   
   
 gz

++ helm-mirror-0.1.0.tar.gz -> helm-mirror-0.2.0.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-mirror-0.1.0/CHANGELOG.md 
new/helm-mirror-0.2.0/CHANGELOG.md
--- old/helm-mirror-0.1.0/CHANGELOG.md  2018-10-15 15:47:54.0 +0200
+++ new/helm-mirror-0.2.0/CHANGELOG.md  2018-12-04 12:00:48.0 +0100
@@ -7,6 +7,24 @@
 
 ## [Unreleased]
 
+## v0.2.0
+
+### Added
+
+- `mirror inspect-images` flag `--output` usage updated, flag `--file-name` no 
longer needed.
+  - `file=filename`
+  - `json=filename.json`
+  - `yaml=filename.yaml`
+  - `skopeo=filename.yaml`
+
+- `helm-mirror` has a new flag `--new-root-url` new root url of the chart 
repository.
+  (eg: `https://mirror.local.lan/charts`). This will allow users to set the 
name of
+  their mirror server when getting all the charts.
+
+- `downloaded-index.yaml` file changes it's name to `index.yaml` to allow 
users to host quickly
+  a mirror chart server.
+  
+
 ## v0.1.0
 
 ### Added
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/helm-mirror-0.1.0/Makefile 
new/helm-mirror-0.2.0/Makefile
--- old/helm-mirror-0.1.0/Makefile  2018-10-15 15:47:54.0 +0200
+++ new/helm-mirror-0.2.0/Makefile  2018-12-04 12:00:48.0 +0100
@@ -112,7 +112,7 @@
$(GO) test -v ./...
 
 cover:
-   bash https://mirror.local.lan/charts`)
   --password stringchart repository password
   --username stringchart repository username
   -v, --verboseverbose output
@@ -82,7 +83,7 @@
 
 ### inspect-images
 
-Extract all the images of the Helm Chart or
+Extract all the container images listed in each Helm Chart or
 the Helm Charts in the folder provided. This command dumps
 the images on `stdout` by default, for more options check
 `output flag`. Example:
@@ -103,29 +104,23 @@
 
   -i, --ignore-errors  ignores errors whiles processing charts. (Exit 
Code: 2)
 
-  --file-name string   set the name of the output file. (default