commit rmt-server for openSUSE:Factory

2020-10-20 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2020-10-20 16:08:25

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.3486 (New)


Package is "rmt-server"

Tue Oct 20 16:08:25 2020 rev:35 rq:842502 version:2.6.5

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2020-09-21 
17:21:14.191827545 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.3486/rmt-server.changes  
2020-10-20 16:19:09.142258170 +0200
@@ -2 +2,68 @@
-Mon Sep 10 14:10:45 UTC 2020 - Thomas Muntaner 
+Wed Oct  7 17:11:15 UTC 2020 - Thomas Muntaner 
+
+- Version 2.6.5
+- Solved potential bug of SCC repository URLs changing over time. RMT
+  now self heals by removing the previous invalid repository and
+  creating the correct one.
+
+---
+Fri Oct  2 13:24:17 UTC 2020 - Luís Caparroz 
+
+- Version 2.6.4
+- Add web server settings to /etc/rmt.conf:
+
+  Now it's possible to configure the minimum and maximum threads count as well
+  the number of web server workers to be booted through /etc/rmt.conf.
+
+---
+Wed Sep 30 16:19:36 UTC 2020 - Thomas Muntaner 
+
+- Version 2.6.3
+- Instead of using an MD5 of URLs for custom repository friendly_ids,
+  RMT now builds an ID from the name.
+
+---
+Tue Sep 29 14:53:12 UTC 2020 - Luís Caparroz 
+
+- Version 2.6.2
+- Fix RMT file caching based on timestamps:
+
+  Previously, RMT sent GET requests with the header 'If-Modified-Since' to a
+  repository server and if the response had a 304 (Not Modified), it would copy
+  a file from the local cache instead of downloading. However, if the local 
file
+  timestamp accidentally changed to a date newer than the one on the repository
+  server, RMT would have an outdated file, which caused some errors.
+
+  Now, RMT makes HEAD requests to the repositories servers and inspect the
+  'Last-Modified' header to decide whether to download a file or copy it from
+  cache, by comparing the equalness of timestamps.
+  
+---
+Tue Sep 29 10:19:12 UTC 2020 - Thomas Muntaner 
+
+- Version 2.6.1
+- Fixed an issue where relative paths supplied to `rmt-cli import repos`
+  caused the command to fail.
+
+---
+Mon Sep 21 16:44:23 UTC 2020 - Thomas Muntaner 
+
+- Version 2.6.0
+- Friendlier IDs for custom repositories:
+  In an effort to simplify the handling of SCC and custom repositories,
+  RMT now has friendly IDs. For SCC repositories, it's the same SCC ID
+  as before. For custom repositories, it can either be user provided
+  or RMT generated (MD5 of the provided URL).
+
+  Benefits:
+  * `rmt-cli mirror repositories` now works for custom repositories.
+  * Custom repository IDs can be the same across RMT instances.
+  * No more confusing "SCC ID" vs "ID" in `rmt-cli` output.
+
+  Deprecation Warnings:
+  * RMT now uses a different ID for custom repositories than before.
+RMT still supports that old ID, but it's recommended to start
+using the new ID to ensure future compatibility.
+
+---
+Thu Sep 10 14:10:45 UTC 2020 - Thomas Muntaner 
@@ -9 +76 @@
-Mon Sep 9 13:22:10 UTC 2020 - Thomas Muntaner 
+Wed Sep 9 13:22:10 UTC 2020 - Thomas Muntaner 
@@ -26 +93 @@
-Tue Sep 2 10:27:33 UTC 2020 - Jesús Bermúdez Velázquez 
+Wed Sep 2 10:27:33 UTC 2020 - Jesús Bermúdez Velázquez 
@@ -35 +102 @@
-Mon Sep 1 13:24:23 UTC 2020 - Thomas Muntaner 
+Tue Sep 1 13:24:23 UTC 2020 - Thomas Muntaner 

Old:

  rmt-server-2.5.20.tar.bz2

New:

  rmt-server-2.6.5.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.uYT9xO/_old  2020-10-20 16:19:11.582259326 +0200
+++ /var/tmp/diff_new_pack.uYT9xO/_new  2020-10-20 16:19:11.582259326 +0200
@@ -29,7 +29,7 @@
 %define ruby_version  %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.5.20
+Version:2.6.5
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++
--- /var/tmp/diff_new_pack.uYT9xO/_old  2020-10-20 16:19:11.618259343 +0200
+++ /var/tmp/diff_new_pack.uYT9xO/_new  2020-10-20 16:19:11.622259345 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "RMT\-CLI" "8" "September 2020" "" "RMT"
+.TH "RMT\-CLI" "8" "October 2020" "" "RMT"
 .
 .SH "NAME"
 

commit rmt-server for openSUSE:Factory

2020-09-21 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2020-09-21 17:18:51

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.4249 (New)


Package is "rmt-server"

Mon Sep 21 17:18:51 2020 rev:34 rq:835201 version:2.5.20

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2020-09-04 
11:13:00.731057878 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.4249/rmt-server.changes  
2020-09-21 17:21:14.191827545 +0200
@@ -1,0 +2,55 @@
+Mon Sep 10 14:10:45 UTC 2020 - Thomas Muntaner 
+
+- Version 2.5.20
+- Updated rails from 6.0.3.2 to 6.0.3.3:
+  - actionview (CVE-2020-15169)
+
+---
+Mon Sep 9 13:22:10 UTC 2020 - Thomas Muntaner 
+
+- Version 2.5.19
+- RMT now has the ability to remove local systems with the command
+  `rmt-cli systems remove`.
+
+---
+Tue Sep  8 18:10:19 UTC 2020 - Luís Caparroz 
+
+- Version 2.5.18
+- Fixed exit code for `rmt-cli mirror` and its subcommands. Now it exits with 1
+  whenever an error occurrs during mirroring
+- Improved message logging for `rtm-cli mirror`. Instead of logging an error
+  when it occurs, the command summarize all errors at the end of execution. Now
+  log messages have colors to better identify failure/success.
+
+---
+Tue Sep 2 10:27:33 UTC 2020 - Jesús Bermúdez Velázquez 
+
+- Version 2.5.17
+- RMT no longer provides the installer updates repository to systems via its
+  zypper service. This repository is used during the installation process, as
+  it provides an up-to-date installation experience, but it has no use on an
+  already installed system.
+
+---
+Mon Sep 1 13:24:23 UTC 2020 - Thomas Muntaner 
+
+- Version 2.5.16
+- Updated RMT's rails and puma dependencies.
+  - puma (CVE-2020-11076, CVE-2020-11077, CVE-2020-5249, CVE-2020-5247
+CVE-2019-16770)
+  - actionpack (CVE-2020-8185, CVE-2020-8164, CVE-2020-8166)
+  - actionview (CVE-2020-8167, CVE-2020-5267, CVE-2019-5418, CVE-2019-5419)
+  - activesupport (CVE-2020-8165)
+  - railties (CVE-2019-5420)
+
+---
+Mon Aug 31 14:04:20 UTC 2020 - Thomas Muntaner 
+
+- Version 2.5.15
+- RMT now checks if repositories are fully mirrored during the
+  activation process. Previously, RMT only checked if the repositories
+  were enabled to be mirrored, but not that they were actually mirrored.
+  In this case, RMTs were not able to provide the repository data which
+  systems assumed it had.
+
+---

Old:

  rmt-server-2.5.14.tar.bz2

New:

  rmt-server-2.5.20.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.2sNHkY/_old  2020-09-21 17:21:17.535830126 +0200
+++ /var/tmp/diff_new_pack.2sNHkY/_new  2020-09-21 17:21:17.539830129 +0200
@@ -29,7 +29,7 @@
 %define ruby_version  %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.5.14
+Version:2.5.20
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++
--- /var/tmp/diff_new_pack.2sNHkY/_old  2020-09-21 17:21:17.579830160 +0200
+++ /var/tmp/diff_new_pack.2sNHkY/_new  2020-09-21 17:21:17.583830163 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "RMT\-CLI" "8" "August 2020" "" "RMT"
+.TH "RMT\-CLI" "8" "September 2020" "" "RMT"
 .
 .SH "NAME"
 \fBrmt\-cli\fR \- control and configure your RMT server
@@ -28,6 +28,27 @@
 RMT comes with a preconfigured systemd timer to automatically get the latest 
product and repository data from the SUSE Customer Center over night\. This 
command triggers the same synchronization instantly\.
 .
 .TP
+\fBrmt\-cli systems list\fR
+Lists systems registered against RMT\.
+.
+.IP
+Use the \fB\-\-all\fR flag to list all systems\.
+.
+.TP
+\fBrmt\-cli systems scc\-sync\fR
+Forwards local RMT systems to SCC\.
+.
+.TP
+\fBrmt\-cli systems remove TARGET\fR
+Removes a system and its activations from RMT\.
+.
+.IP
+Example:
+.
+.IP
+\fBrmt\-cli systems remove SCC_e740f34145b84523a184ace764d0d597\fR
+.
+.TP
 \fBrmt\-cli products list [\-\-all] [\-\-csv]\fR
 Lists the products that are enabled for mirroring\.
 .

++ rmt-server-2.5.14.tar.bz2 -> rmt-server-2.5.20.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.5.14.tar.bz2 

commit rmt-server for openSUSE:Factory

2020-09-04 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2020-09-04 11:12:16

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.3399 (New)


Package is "rmt-server"

Fri Sep  4 11:12:16 2020 rev:33 rq:831687 version:2.5.14

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2020-07-24 
10:10:39.894212636 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.3399/rmt-server.changes  
2020-09-04 11:13:00.731057878 +0200
@@ -1,0 +2,30 @@
+Mon Aug 24 10:04:26 UTC 2020 - Jesús Bermúdez Velázquez 
+
+- Version 2.5.14
+- Enable 'Installer-Updates' repositories by default
+
+---
+Fri Aug 21 17:33:19 UTC 2020 - Thomas Muntaner 
+
+- Fixed deprecation warning when thor encountered an error. Also,
+  instead of returning 0 for thor errors, rmt-cli will return 1
+  instead.
+
+---
+Fri Aug 14 14:57:19 UTC 2020 - Thomas Muntaner 
+
+- Version 2.5.13
+- Added `rmt-cli repos clean` command to remove locally mirrored files
+  of repositories which are not marked to be mirrored.
+- Previously, RMT didn't track deduplicated files in its database. Now,
+  to accommodate `rmt-cli repos clean`, RMT will track all mirrored
+  files.
+
+---
+Thu Jul 30 08:20:37 UTC 2020 - Thorsten Kukuk 
+
+- Move the nginx reload to the configuration package which contain
+  nginx config files, don't reload nginx unconditionally from main
+  package.
+
+---

Old:

  rmt-server-2.5.12.tar.bz2

New:

  rmt-server-2.5.14.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.msSwET/_old  2020-09-04 11:13:01.447058238 +0200
+++ /var/tmp/diff_new_pack.msSwET/_new  2020-09-04 11:13:01.451058239 +0200
@@ -29,7 +29,7 @@
 %define ruby_version  %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.5.12
+Version:2.5.14
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -308,7 +308,7 @@
 %postun
 %service_del_postun rmt-server.target rmt-server.service 
rmt-server-migration.service rmt-server-mirror.service rmt-server-sync.service 
rmt-server-systems-scc-sync.service
 
-%posttrans
+%posttrans config
 /usr/bin/systemctl reload nginx.service
 
 %pre pubcloud
@@ -325,5 +325,6 @@
 
 %posttrans pubcloud
 /usr/bin/systemctl try-restart rmt-server.service
+/usr/bin/systemctl reload nginx.service
 
 %changelog

++ rmt-cli.8.gz ++
--- /var/tmp/diff_new_pack.msSwET/_old  2020-09-04 11:13:01.483058256 +0200
+++ /var/tmp/diff_new_pack.msSwET/_new  2020-09-04 11:13:01.487058257 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "RMT\-CLI" "8" "May 2020" "" "RMT"
+.TH "RMT\-CLI" "8" "August 2020" "" "RMT"
 .
 .SH "NAME"
 \fBrmt\-cli\fR \- control and configure your RMT server
@@ -86,6 +86,10 @@
 \fBrmt\-cli products show SLES/15/x86_64\fR
 .
 .TP
+\fBrmt\-cli repos clean\fR
+Removes locally mirrored files of repositories which are not marked to be 
mirrored\.
+.
+.TP
 \fBrmt\-cli repos list [\-\-all] [\-\-csv]\fR
 Lists the repositories that are enabled for mirroring\.
 .

++ rmt-server-2.5.12.tar.bz2 -> rmt-server-2.5.14.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.5.12.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.3399/rmt-server-2.5.14.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2020-07-24 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2020-07-24 10:09:42

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.3592 (New)


Package is "rmt-server"

Fri Jul 24 10:09:42 2020 rev:32 rq:822508 version:2.5.12

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2020-06-29 
21:16:00.237345603 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.3592/rmt-server.changes  
2020-07-24 10:10:39.894212636 +0200
@@ -1,0 +2,20 @@
+Thu Jul  9 17:39:04 UTC 2020 - Luís Caparroz 
+
+- Version 2.5.12
+- Update rack to version 2.2.3 (CVE-2020-8184: bsc#1173351)
+- Update Rails to version 5.2.4.3:
+  - actionpack (CVE-2020-8164: bsc#1172177)
+  - actionpack (CVE-2020-8166: bsc#1172182)
+  - activesupport (CVE-2020-8165: bsc#1172186)
+  - actionview (CVE-2020-8167: bsc#1172184)
+
+---
+Wed Jul  8 05:38:52 UTC 2020 - Ivan Kapelyukhin 
+
+- Version 2.5.11
+- rmt-server-pubcloud:
+  - SLES11 EOL
+  - Extension activation verification based on the available subscriptions
+  - Added a manual instance verification script
+
+---

Old:

  rmt-server-2.5.10.tar.bz2

New:

  rmt-server-2.5.12.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.Rr3S2l/_old  2020-07-24 10:10:40.642213386 +0200
+++ /var/tmp/diff_new_pack.Rr3S2l/_new  2020-07-24 10:10:40.650213395 +0200
@@ -29,7 +29,7 @@
 %define ruby_version  %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.5.10
+Version:2.5.12
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -133,6 +133,7 @@
 ln -s %{app_dir}/bin/rmt-cli %{buildroot}%{_bindir}
 ln -s %{app_dir}/bin/rmt-data-import %{buildroot}%{_bindir}/rmt-data-import
 ln -s %{app_dir}/bin/rmt-test-regsharing %{buildroot}%{_bindir}
+ln -s %{app_dir}/bin/rmt-manual-instance-verify %{buildroot}%{_bindir}
 install -D -m 644 %{_sourcedir}/rmt-cli.8.gz 
%{buildroot}%{_mandir}/man8/rmt-cli.8.gz
 
 # systemd
@@ -257,6 +258,7 @@
 
 %files pubcloud
 %{_bindir}/rmt-test-regsharing
+%{_bindir}/rmt-manual-instance-verify
 %attr(-,%{rmt_user},%{rmt_group}) %{app_dir}/engines/
 %dir %{_sysconfdir}/nginx/rmt-auth.d/
 %dir %attr(-,%{rmt_user},%{rmt_group}) %{data_dir}/regsharing
@@ -281,8 +283,8 @@
 
 %post
 %service_add_post rmt-server.target rmt-server.service 
rmt-server-migration.service rmt-server-mirror.service rmt-server-sync.service 
rmt-server-systems-scc-sync.service
-cd %{_datadir}/rmt && runuser -u %{rmt_user} -g %{rmt_group} -- bin/rails 
secrets:setup >/dev/null
-cd %{_datadir}/rmt && runuser -u %{rmt_user} -g %{rmt_group} -- bin/rails 
runner -e production "Rails::Secrets.write({'production' => {'secret_key_base' 
=> SecureRandom.hex(64)}}.to_yaml)" >/dev/null
+cd %{_datadir}/rmt && runuser -u %{rmt_user} -g %{rmt_group} -- bin/rails 
rmt:secrets:create_encryption_key >/dev/null RAILS_ENV=production
+cd %{_datadir}/rmt && runuser -u %{rmt_user} -g %{rmt_group} -- bin/rails 
rmt:secrets:create_secret_key_base >/dev/null RAILS_ENV=production
 
 # Run only on install
 if [ $1 -eq 1 ]; then

++ rmt-cli.8.gz ++

++ rmt-server-2.5.10.tar.bz2 -> rmt-server-2.5.12.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.5.10.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.3592/rmt-server-2.5.12.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2020-06-29 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2020-06-29 21:15:54

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.3060 (New)


Package is "rmt-server"

Mon Jun 29 21:15:54 2020 rev:31 rq:817735 version:2.5.10

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2020-04-04 
12:26:58.192023343 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.3060/rmt-server.changes  
2020-06-29 21:16:00.237345603 +0200
@@ -1,0 +2,46 @@
+Tue Jun 16 13:05:49 UTC 2020 - Luís Caparroz 
+
+- Version 2.5.10
+- Support rmt-server to run with Ruby 2.7 (Factory/Tumbleweed):
+  - Bump gem 'config' version from 1.7.2 to 2.2.1 to fix incompatibility Ruby
+2.7 OpenStruct class;
+  - Bump gem 'typhoeus' version from 1.3.1 to 1.4.0 in order to also bump gem
+'ethon' version, which caused a 'rb_safe_level' warning on Ruby 2.7;
+  - Fix "last arg as keyword arg" Ruby 2.7 warning on source code;
+  - Disable "deprecated" warnings from Ruby 2.7; Rails 5.1 generates a lot of
+warnings with Ruby 2.7, mainly due to "capturing the given block with
+Proc.new", which is deprecated;
+  - Improve RPM spec to consider only the distribution default Ruby version
+configured in OBS;
+  - Improve RPM spec to remove Ruby 2.7 warnings regarding 'bundler.
+
+---
+Tue Jun  9 07:16:15 UTC 2020 - Thorsten Kukuk 
+
+- Move nginx/vhosts.d directory to correct sub-package. They
+  are needed together with nginx, not rmt-server.
+- Fix dependencies especially for containerized usage:
+  - mariadb and nginx are not hard requires, could run on another host
+- Fix generic dependencies:
+  - systemd ordering was missing
+  - shadow is required for pre-install
+
+---
+Fri May 29 14:54:06 UTC 2020 - Ivan Kapelyukhin 
+
+- Version 2.5.9
+- rmt-server-pubcloud: enforce strict authentication
+
+---
+Tue May 19 12:31:53 UTC 2020 - Luís Caparroz 
+
+- Version 2.5.8
+- Use repomd_parser gem to remove repository metadata parsing code.
+
+---
+Fri Apr 17 03:25:20 UTC 2020 - Ivan Kapelyukhin 
+
+- Version 2.5.7
+- Use DB locks intead of lockfiles (bsc#1165548)
+
+---

Old:

  rmt-server-2.5.6.tar.bz2

New:

  rmt-server-2.5.10.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.Qu7TUt/_old  2020-06-29 21:16:01.153348437 +0200
+++ /var/tmp/diff_new_pack.Qu7TUt/_new  2020-06-29 21:16:01.157348449 +0200
@@ -22,10 +22,14 @@
 %define conf_dir %{_sysconfdir}/rmt
 %define rmt_user _rmt
 %define rmt_groupnginx
+
+# Only build for the distribution default Ruby version
+%define rb_build_versions %{rb_default_ruby}
+%define rb_build_ruby_abis%{rb_default_ruby_abi}
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.5.6
+Version:2.5.10
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -37,7 +41,7 @@
 Source3:rmt-cli.8.gz
 BuildRequires:  %{ruby_version}
 BuildRequires:  %{ruby_version}-devel
-BuildRequires:  %{rubygem bundler}
+BuildRequires:  %{ruby_version}-rubygem-bundler
 BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  libcurl-devel
@@ -47,12 +51,13 @@
 BuildRequires:  libxslt-devel
 BuildRequires:  pkgconfig(systemd)
 Requires:   gpg2
-Requires:   mariadb
-Requires:   nginx
+Recommends: mariadb
+Recommends: nginx
+# The config is not really required by rmt-server, but by nginx ...
 Requires:   rmt-server-configuration
 Requires(post): %{ruby_version}
-Requires(post): %{rubygem bundler}
-Requires(post): shadow
+Requires:   %{ruby_version}-rubygem-bundler
+Requires(pre):  shadow
 Requires(post): timezone
 Requires(post): util-linux
 Conflicts:  yast2-rmt < 1.0.3
@@ -60,6 +65,7 @@
 Recommends: rmt-server-config
 # Does not build for i586 and s390 and is not supported on those architectures
 ExcludeArch:%{ix86} s390
+%{systemd_ordering}
 
 %description
 This package provides a mirroring tool for RPM repositories and a registration
@@ -102,7 +108,9 @@
 sed -i '1 s|/usr/bin/env\ ruby|/usr/bin/ruby.%{ruby_version}|' bin/*
 
 %build
-bundle.%{ruby_version} install %{?jobs:--jobs %{jobs}} --without test 
development --deployment --standalone
+bundle.%{ruby_version} config set deployment 'true'
+bundle.%{ruby_version} config 

commit rmt-server for openSUSE:Factory

2020-04-04 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2020-04-04 12:26:06

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.3248 (New)


Package is "rmt-server"

Sat Apr  4 12:26:06 2020 rev:30 rq:791171 version:2.5.6

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2020-03-14 
09:55:42.775126544 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.3248/rmt-server.changes  
2020-04-04 12:26:58.192023343 +0200
@@ -1,0 +2,8 @@
+Fri Apr  3 09:29:07 UTC 2020 - Thomas Schmidt 
+
+- Version 2.5.6
+- Align supported subscription types with SCC:
+  'test', 'full', 'evaluation', 'oem', 'internal', 'partner'
+  (bsc#1168554)
+
+---
@@ -12,0 +21,6 @@
+
+---
+Mon Feb  3 16:24:45 UTC 2020 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut through the -mini flavors.

Old:

  rmt-server-2.5.5.tar.bz2

New:

  rmt-server-2.5.6.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.xm9obP/_old  2020-04-04 12:26:59.580024778 +0200
+++ /var/tmp/diff_new_pack.xm9obP/_new  2020-04-04 12:26:59.584024782 +0200
@@ -25,7 +25,7 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.5.5
+Version:2.5.6
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -45,7 +45,7 @@
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
-BuildRequires:  systemd
+BuildRequires:  pkgconfig(systemd)
 Requires:   gpg2
 Requires:   mariadb
 Requires:   nginx
@@ -82,7 +82,7 @@
 Conflicts:  rmt-server-configuration
 
 %description config
-Summary:Default nginx configuration for RMT.
+Default nginx configuration for RMT.
 
 %package pubcloud
 Summary:RMT pubcloud extensions

++ rmt-cli.8.gz ++

++ rmt-server-2.5.5.tar.bz2 -> rmt-server-2.5.6.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.5.5.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.3248/rmt-server-2.5.6.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2020-03-14 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2020-03-14 09:55:30

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.3160 (New)


Package is "rmt-server"

Sat Mar 14 09:55:30 2020 rev:29 rq:784599 version:2.5.5

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2020-02-19 
12:41:11.443699743 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.3160/rmt-server.changes  
2020-03-14 09:55:42.775126544 +0100
@@ -1,0 +2,7 @@
+Wed Feb  5 12:55:32 UTC 2020 - Felix Schnizlein 
+
+- Version 2.5.5
+- Add `rmt-cli products show` command to show detailed product information
+
+
+---

Old:

  rmt-server-2.5.4.tar.bz2

New:

  rmt-server-2.5.5.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.JkZxIG/_old  2020-03-14 09:55:43.439127032 +0100
+++ /var/tmp/diff_new_pack.JkZxIG/_new  2020-03-14 09:55:43.439127032 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rmt-server
 #
-# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.5.4
+Version:2.5.5
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++
--- /var/tmp/diff_new_pack.JkZxIG/_old  2020-03-14 09:55:43.463127049 +0100
+++ /var/tmp/diff_new_pack.JkZxIG/_new  2020-03-14 09:55:43.463127049 +0100
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "RMT\-CLI" "8" "June 2019" "" "RMT"
+.TH "RMT\-CLI" "8" "March 2020" "" "RMT"
 .
 .SH "NAME"
 \fBrmt\-cli\fR \- control and configure your RMT server
@@ -76,6 +76,16 @@
 \fBrmt\-cli products disable SLES/15/x86_64 1743\fR
 .
 .TP
+\fBrmt\-cli products show \fR
+Displays product with all its repositories and their attributes\.
+.
+.IP
+Examples:
+.
+.IP
+\fBrmt\-cli products show SLES/15/x86_64\fR
+.
+.TP
 \fBrmt\-cli repos list [\-\-all] [\-\-csv]\fR
 Lists the repositories that are enabled for mirroring\.
 .

++ rmt-server-2.5.4.tar.bz2 -> rmt-server-2.5.5.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.5.4.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.3160/rmt-server-2.5.5.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2020-02-19 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2020-02-19 12:41:06

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.26092 (New)


Package is "rmt-server"

Wed Feb 19 12:41:06 2020 rev:28 rq:775075 version:2.5.4

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-09-18 
13:15:00.892644777 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.26092/rmt-server.changes 
2020-02-19 12:41:11.443699743 +0100
@@ -1,0 +2,50 @@
+Wed Feb  5 12:55:32 UTC 2020 - Serhii Kotov 
+
+- Version 2.5.4
+- Fix migrations in case adding migration_extra column failed (bsc#1162296)
+
+---
+Tue Jan 28 14:00:37 UTC 2020 - Felix Schnizlein 
+
+- Version 2.5.3
+- low_speed_time and low_speed_limit can be configured
+
+---
+Tue Jan 21 13:05:15 UTC 2020 - Jens Mammen 
+
+- Version 2.5.2
+- Fix offline migration (CVE-2019-18904: bsc#1160922)
+- Ensure download of signature file from custom repositories
+
+---
+Fri Jan 10 13:47:22 UTC 2020 - Ivan Kapelyukhin 
+
+- Version 2.5.1
+- Relax systemd units dependencies (bsc#1160673)
+
+---
+Wed Dec 18 14:51:40 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.5.0
+- Add `rmt-cli scc sync-systems` command
+
+---
+Tue Dec 10 11:39:24 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.4.5
+- rmt-server-pubcloud: escape paths in regex
+
+---
+Mon Dec  9 15:37:43 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.4.4
+- Verbose error reporting for SCC API errors (bsc#1157119)
+
+---
+Wed Nov 13 13:39:20 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.4.3
+- rmt-server-pubcloud: Relax zypper auth plugin checks; produce detailed logs
+- rmt-server-pubcloud: Allow access to SLES 12 SP1 repos when SLES 11 was 
activated
+
+---

Old:

  rmt-server-2.4.2.tar.bz2

New:

  rmt-server-2.5.4.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.IQc1Ik/_old  2020-02-19 12:41:12.947702639 +0100
+++ /var/tmp/diff_new_pack.IQc1Ik/_new  2020-02-19 12:41:12.947702639 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rmt-server
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -25,7 +25,7 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.4.2
+Version:2.5.4
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -56,7 +56,7 @@
 Requires(post): timezone
 Requires(post): util-linux
 Conflicts:  yast2-rmt < 1.0.3
-Recommends: yast2-rmt >= 1.0.3
+Recommends: yast2-rmt >= 1.3.0
 Recommends: rmt-server-config
 # Does not build for i586 and s390 and is not supported on those architectures
 ExcludeArch:%{ix86} s390
@@ -132,9 +132,11 @@
 
 install -m 444 package/files/systemd/rmt-server-mirror.timer 
%{buildroot}%{_unitdir}
 install -m 444 package/files/systemd/rmt-server-sync.timer 
%{buildroot}%{_unitdir}
+install -m 444 package/files/systemd/rmt-server-systems-scc-sync.timer 
%{buildroot}%{_unitdir}
 
 install -m 444 package/files/systemd/rmt-server-mirror.service 
%{buildroot}%{_unitdir}
 install -m 444 package/files/systemd/rmt-server-sync.service 
%{buildroot}%{_unitdir}
+install -m 444 package/files/systemd/rmt-server-systems-scc-sync.service 
%{buildroot}%{_unitdir}
 install -m 444 package/files/systemd/rmt-server.service %{buildroot}%{_unitdir}
 install -m 444 package/files/systemd/rmt-server.target %{buildroot}%{_unitdir}
 install -m 444 package/files/systemd/rmt-server-migration.service 
%{buildroot}%{_unitdir}
@@ -147,6 +149,7 @@
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server-mirror
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server-sync
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server-regsharing
+ln -fs %{_sbindir}/service 
%{buildroot}%{_sbindir}/rcrmt-server-systems-scc-sync
 
 mkdir -p %{buildroot}%{_sysconfdir}
 mv %{_builddir}/rmt.conf %{buildroot}%{_sysconfdir}/rmt.conf
@@ -223,6 +226,7 

commit rmt-server for openSUSE:Factory

2019-09-18 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-09-18 13:13:07

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.7948 (New)


Package is "rmt-server"

Wed Sep 18 13:13:07 2019 rev:27 rq:731538 version:2.4.2

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-09-05 
12:43:59.939459553 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.7948/rmt-server.changes  
2019-09-18 13:15:00.892644777 +0200
@@ -1,0 +2,8 @@
+Mon Sep 16 11:00:45 UTC 2019 - José D. Gómez R. 
+
+- Version 2.4.2
+- Fixed system listing when architecture is not well referenced
+  (bsc#1141122)
+- Added rmt-client-setup-res for RES8 systems
+
+---

Old:

  rmt-server-2.4.1.tar.bz2

New:

  rmt-server-2.4.2.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.NZuKPZ/_old  2019-09-18 13:15:02.260644489 +0200
+++ /var/tmp/diff_new_pack.NZuKPZ/_new  2019-09-18 13:15:02.304644480 +0200
@@ -25,7 +25,7 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.4.1
+Version:2.4.2
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++

++ rmt-server-2.4.1.tar.bz2 -> rmt-server-2.4.2.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.4.1.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.7948/rmt-server-2.4.2.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2019-09-05 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-09-05 12:43:57

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.7948 (New)


Package is "rmt-server"

Thu Sep  5 12:43:57 2019 rev:26 rq:728262 version:2.4.1

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-08-15 
12:29:13.830501834 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.7948/rmt-server.changes  
2019-09-05 12:43:59.939459553 +0200
@@ -1,0 +2,25 @@
+Wed Aug 21 10:13:45 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.4.1
+- Preserve cached metadata timestamps (bsc#1146611)
+
+---
+Tue Aug 20 11:12:58 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.4.0
+- Allow to mirror individual products/repositories (bsc#1138863)
+
+---
+Fri Aug  16 11:07:26 UTC 2019 - tmunta...@suse.com
+
+- Version 2.3.7
+- RMT now uses mirror_src to determine whether or not to download
+  source packages. (bsc#1145688)
+
+---
+Thu Aug  8 10:50:26 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.3.6
+- Make Rails log level configurable; set default log level to INFO
+
+---

Old:

  rmt-server-2.3.5.tar.bz2

New:

  rmt-server-2.4.1.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.FMZXcl/_old  2019-09-05 12:44:02.063459137 +0200
+++ /var/tmp/diff_new_pack.FMZXcl/_new  2019-09-05 12:44:02.095459130 +0200
@@ -25,7 +25,7 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.3.5
+Version:2.4.1
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++

++ rmt-server-2.3.5.tar.bz2 -> rmt-server-2.4.1.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.3.5.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.7948/rmt-server-2.4.1.tar.bz2 
differ: char 11, line 1

++ rmt.conf ++
--- /var/tmp/diff_new_pack.FMZXcl/_old  2019-09-05 12:44:02.579459036 +0200
+++ /var/tmp/diff_new_pack.FMZXcl/_new  2019-09-05 12:44:02.603459031 +0200
@@ -23,3 +23,6 @@
   proxy_auth:
   proxy_user:
   proxy_password:
+
+log_level:
+  rails: info




commit rmt-server for openSUSE:Factory

2019-08-15 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-08-15 12:29:09

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.9556 (New)


Package is "rmt-server"

Thu Aug 15 12:29:09 2019 rev:25 rq:723316 version:2.3.5

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-08-05 
10:35:13.703361997 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.9556/rmt-server.changes  
2019-08-15 12:29:13.830501834 +0200
@@ -1,0 +2,13 @@
+Wed Aug  7 12:43:02 UTC 2019 - Thomas Schmidt 
+
+- Version 2.3.5
+- Fix RMT installer_repo call for empty release_type parameter (bsc#1136178)
+
+---
+Tue Jul 30 15:57:29 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.3.4
+- Clean up download queue on metadata download errors (bsc#1142641)
+- Fix plain HTTP PubCloud config
+
+---

Old:

  rmt-server-2.3.3.tar.bz2

New:

  rmt-server-2.3.5.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.8srsNC/_old  2019-08-15 12:29:14.470501241 +0200
+++ /var/tmp/diff_new_pack.8srsNC/_new  2019-08-15 12:29:14.474501237 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -25,12 +25,12 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.3.3
+Version:2.3.5
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Proxy
-Url:https://software.opensuse.org/package/rmt-server
+URL:https://software.opensuse.org/package/rmt-server
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf

++ rmt-cli.8.gz ++
--- /var/tmp/diff_new_pack.8srsNC/_old  2019-08-15 12:29:14.494501218 +0200
+++ /var/tmp/diff_new_pack.8srsNC/_new  2019-08-15 12:29:14.498501215 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "RMT\-CLI" "8" "May 2019" "" "RMT"
+.TH "RMT\-CLI" "8" "June 2019" "" "RMT"
 .
 .SH "NAME"
 \fBrmt\-cli\fR \- control and configure your RMT server

++ rmt-server-2.3.3.tar.bz2 -> rmt-server-2.3.5.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.3.3.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.9556/rmt-server-2.3.5.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2019-08-05 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-08-05 10:35:08

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.4126 (New)


Package is "rmt-server"

Mon Aug  5 10:35:08 2019 rev:24 rq:720058 version:2.3.3

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-07-13 
14:00:35.434894458 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.4126/rmt-server.changes  
2019-08-05 10:35:13.703361997 +0200
@@ -1,0 +2,17 @@
+Wed Jul 24 08:19:18 UTC 2019 - Leon Schroeder 
+
+- Version 2.3.3
+- Removed release stage from names to be consistent with SCC (bsc#1136168)
+  * Generate friendly_name as needed
+  * Drops friendly_name column from database
+
+---
+Thu Jul 18 08:13:11 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.3.2
+- PubCloud nginx config improvements:
+  * Proxy only the known routes to the backend
+  * Disable error logging for /repo
+  * Serve smt.crt over HTTPS
+
+---

Old:

  rmt-server-2.3.1.tar.bz2

New:

  rmt-server-2.3.3.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.b6Fotd/_old  2019-08-05 10:35:16.387360484 +0200
+++ /var/tmp/diff_new_pack.b6Fotd/_new  2019-08-05 10:35:16.391360482 +0200
@@ -25,12 +25,12 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.3.1
+Version:2.3.3
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Proxy
-URL:https://software.opensuse.org/package/rmt-server
+Url:https://software.opensuse.org/package/rmt-server
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf

++ rmt-cli.8.gz ++
--- /var/tmp/diff_new_pack.b6Fotd/_old  2019-08-05 10:35:16.779360263 +0200
+++ /var/tmp/diff_new_pack.b6Fotd/_new  2019-08-05 10:35:16.803360250 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "RMT\-CLI" "8" "July 2019" "" "RMT"
+.TH "RMT\-CLI" "8" "May 2019" "" "RMT"
 .
 .SH "NAME"
 \fBrmt\-cli\fR \- control and configure your RMT server

++ rmt-server-2.3.1.tar.bz2 -> rmt-server-2.3.3.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.3.1.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.4126/rmt-server-2.3.3.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2019-07-13 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-07-13 13:49:17

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.4615 (New)


Package is "rmt-server"

Sat Jul 13 13:49:17 2019 rev:23 rq:714638 version:2.3.1

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-07-11 
13:14:37.310843280 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.4615/rmt-server.changes  
2019-07-13 14:00:35.434894458 +0200
@@ -1,0 +2,14 @@
+Fri Jul  5 10:36:48 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.3.1
+- Fix mirroring logic when errors are encountered (bsc#1140492)
+- Refactor RMT::Mirror to download metadata/licenses in parallel
+
+---
+Mon Jul  1 11:36:11 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.3.0
+- Check repo metadata GPG signatures during mirroring (bsc#1132690)
+- Add rmt-server-config subpackage with nginx configs (fate#327816, 
bsc#1136081)
+
+---
@@ -16 +30 @@
-- Fix create UUID when system_uuid file empty
+- Fix create UUID when system_uuid file empty (bsc#1138316)
@@ -46 +60 @@
-- Updated dependency nokogiri to 1.10.3 (CVE-2019-11068)
+- Updated dependency nokogiri to 1.10.3 (CVE-2019-11068: bsc#1132160)
@@ -79 +93 @@
-- Updated rails to version 5.1.6.2 (CVE-2019-5419)
+- Updated rails to version 5.1.6.2 (CVE-2019-5419: bsc#1129271)

Old:

  rmt-server-2.2.1.tar.bz2

New:

  rmt-server-2.3.1.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.OwSl0l/_old  2019-07-13 14:00:37.206893917 +0200
+++ /var/tmp/diff_new_pack.OwSl0l/_new  2019-07-13 14:00:37.238893906 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
@@ -25,7 +25,7 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.2.1
+Version:2.3.1
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -46,8 +46,10 @@
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
 BuildRequires:  systemd
+Requires:   gpg2
 Requires:   mariadb
 Requires:   nginx
+Requires:   rmt-server-configuration
 Requires(post): %{ruby_version}
 Requires(post): %{rubygem bundler}
 Requires(post): shadow
@@ -55,6 +57,7 @@
 Requires(post): util-linux
 Conflicts:  yast2-rmt < 1.0.3
 Recommends: yast2-rmt >= 1.0.3
+Recommends: rmt-server-config
 # Does not build for i586 and s390 and is not supported on those architectures
 ExcludeArch:%{ix86} s390
 
@@ -71,10 +74,22 @@
 
 RMT supersedes the main functionality of SMT in SLES 15.
 
+%package config
+Summary:RMT default configuration
+Group:  Productivity/Networking/Web/Proxy
+Requires:   rmt-server = %version
+Provides:   rmt-server-configuration
+Conflicts:  rmt-server-configuration
+
+%description config
+Summary:Default nginx configuration for RMT.
+
 %package pubcloud
 Summary:RMT pubcloud extensions
 Group:  Productivity/Networking/Web/Proxy
 Requires:   rmt-server = %version
+Provides:   rmt-server-configuration
+Conflicts:  rmt-server-configuration
 
 %description pubcloud
 This package extends the basic RMT functionality with capabilities
@@ -139,8 +154,11 @@
 # nginx
 install -D -m 644 package/files/nginx/nginx-http.conf 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server-http.conf
 install -D -m 644 package/files/nginx/nginx-https.conf 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server-https.conf
-install -D -m 644 package/files/nginx/auth-handler.conf 
%{buildroot}%{_sysconfdir}/nginx/rmt-auth.d/auth-handler.conf
-install -D -m 644 package/files/nginx/auth-location.conf 
%{buildroot}%{_sysconfdir}/nginx/rmt-auth.d/auth-location.conf
+
+install -D -m 644 package/files/nginx-pubcloud/nginx-http.conf 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server-pubcloud-http.conf
+install -D -m 644 package/files/nginx-pubcloud/nginx-https.conf 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server-pubcloud-https.conf
+install -D -m 644 package/files/nginx-pubcloud/auth-handler.conf 
%{buildroot}%{_sysconfdir}/nginx/rmt-auth.d/auth-handler.conf
+install -D -m 644 package/files/nginx-pubcloud/auth-location.conf 
%{buildroot}%{_sysconfdir}/nginx/rmt-auth.d/auth-location.conf
 
 sed -i -e '/BUNDLE_PATH: .*/cBUNDLE_PATH: 

commit rmt-server for openSUSE:Factory

2019-07-11 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-07-11 13:14:35

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.4615 (New)


Package is "rmt-server"

Thu Jul 11 13:14:35 2019 rev:22 rq:713243 version:2.2.1

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-06-24 
21:54:18.536149804 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.4615/rmt-server.changes  
2019-07-11 13:14:37.310843280 +0200
@@ -1,0 +2,5 @@
+Wed Jun 26 12:14:44 UTC 2019 - Serhii Kotov 
+- Version 2.2.1
+- Fix dependency to removed boot_cli_i18n file (bsc#1136020) 
+
+---

Old:

  rmt-server-2.2.0.tar.bz2

New:

  rmt-server-2.2.1.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.3wuBrg/_old  2019-07-11 13:14:38.098842955 +0200
+++ /var/tmp/diff_new_pack.3wuBrg/_new  2019-07-11 13:14:38.102842954 +0200
@@ -25,7 +25,7 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.2.0
+Version:2.2.1
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++

++ rmt-server-2.2.0.tar.bz2 -> rmt-server-2.2.1.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.2.0.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.4615/rmt-server-2.2.1.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2019-06-24 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-06-24 21:53:39

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.4615 (New)


Package is "rmt-server"

Mon Jun 24 21:53:39 2019 rev:21 rq:711708 version:2.2.0

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-05-22 
11:16:55.266493611 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.4615/rmt-server.changes  
2019-06-24 21:54:18.536149804 +0200
@@ -1,0 +2,12 @@
+Fri Jun 14 14:37:57 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.2.0
+- Add `rmt-cli systems list` command to list registered systems
+
+---
+Thu Jun  6 13:29:12 UTC 2019 - Leon Schroeder 
+
+- Version 2.1.5
+- Fix create UUID when system_uuid file empty
+
+---
@@ -29 +41 @@
-- Updated dependency nokogiri to 1.10.3 (CVE-2019-11068: bsc#1132160)
+- Updated dependency nokogiri to 1.10.3 (CVE-2019-11068)
@@ -62 +74,2 @@
-- Updated rails to version 5.1.6.2 (CVE-2019-5419: bsc#1129271)
+- Updated rails to version 5.1.6.2 (CVE-2019-5419)
+

Old:

  rmt-server-2.1.4.tar.bz2

New:

  rmt-server-2.2.0.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.oH9uPW/_old  2019-06-24 21:54:19.192150308 +0200
+++ /var/tmp/diff_new_pack.oH9uPW/_new  2019-06-24 21:54:19.196150312 +0200
@@ -25,7 +25,7 @@
 %define ruby_version %{rb_default_ruby_suffix}
 
 Name:   rmt-server
-Version:2.1.4
+Version:2.2.0
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++
--- /var/tmp/diff_new_pack.oH9uPW/_old  2019-06-24 21:54:19.224150333 +0200
+++ /var/tmp/diff_new_pack.oH9uPW/_new  2019-06-24 21:54:19.228150337 +0200
@@ -1,7 +1,7 @@
 .\" generated with Ronn/v0.7.3
 .\" http://github.com/rtomayko/ronn/tree/0.7.3
 .
-.TH "RMT\-CLI" "8" "May 2019" "" "RMT"
+.TH "RMT\-CLI" "8" "June 2019" "" "RMT"
 .
 .SH "NAME"
 \fBrmt\-cli\fR \- control and configure your RMT server

++ rmt-server-2.1.4.tar.bz2 -> rmt-server-2.2.0.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-2.1.4.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new.4615/rmt-server-2.2.0.tar.bz2 
differ: char 11, line 1




commit rmt-server for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-05-22 11:16:52

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.5148 (New)


Package is "rmt-server"

Wed May 22 11:16:52 2019 rev:20 rq:704427 version:2.1.4

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-05-17 
23:44:32.929867151 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.5148/rmt-server.changes  
2019-05-22 11:16:55.266493611 +0200
@@ -29 +29 @@
-- Updated dependency nokogiri to 1.10.3 (CVE-2019-11068)
+- Updated dependency nokogiri to 1.10.3 (CVE-2019-11068: bsc#1132160)
@@ -62,2 +62 @@
-- Updated rails to version 5.1.6.2 (CVE-2019-5419)
-
+- Updated rails to version 5.1.6.2 (CVE-2019-5419: bsc#1129271)



Other differences:
--




commit rmt-server for openSUSE:Factory

2019-05-17 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-05-17 23:44:25

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new.5148 (New)


Package is "rmt-server"

Fri May 17 23:44:25 2019 rev:19 rq:703695 version:2.1.4

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-03-05 
12:23:19.828877868 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.5148/rmt-server.changes  
2019-05-17 23:44:32.929867151 +0200
@@ -1,0 +2,80 @@
+Wed May 15 14:36:17 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.1.4
+- Fix duplicate nginx location in rmt-server-pubcloud (bsc#1135222)
+
+---
+Mon May 13 12:09:59 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.1.3
+- Mirror additional repos that were enabled during mirroring (bsc#1132690)
+
+---
+Wed May  8 10:06:23 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.1.2
+- Make service IDs consistent across different RMT instances (bsc#1134428)
+
+---
+Mon May  6 11:07:36 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 2.1.1
+- Make SMT data import scripts faster (bsc#1134190)
+
+---
+Wed Apr 24 09:29:14 UTC 2019 - Thomas Muntaner 
+
+- Version 2.1.0
+- Updated dependency nokogiri to 1.10.3 (CVE-2019-11068)
+- Allow RMT registration to work under HTTP as well as HTTPS.
+
+---
+Wed Apr 17 10:51:47 UTC 2019 - tmunta...@suse.com
+
+- Version 2.0.0
+- Breaking Change: Added headers to generated CSV files
+
+---
+Tue Apr  2 16:02:04 UTC 2019 - Serhii Kotov 
+
+- Version 1.2.8
+- Offline migration from SLE 15 to SLE 15 SP1 will add Python2 module 
+
+---
+Thu Mar 21 11:55:02 UTC 2019 - sko...@suse.com
+
+- Version 1.2.7
+- Online migrations will automatically add additional modules
+  to the client systems depending on the base product
+
+---
+Wed Mar 20 16:14:09 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 1.2.6
+- Fix incorrect triggering of registration sharing (bsc#1129392)
+- Add a script to manually test registration sharing
+
+---
+Mon Mar 18 11:41:47 UTC 2019 - tmunta...@suse.com
+
+- Version 1.2.5
+- Updated rails to version 5.1.6.2 (CVE-2019-5419)
+
+---
+Wed Mar 13 12:18:05 UTC 2019 - Ivan Kapelyukhin 
+
+- Version 1.2.4
+- Supply log severity to journald
+
+---
+Tue Mar 12 17:21:47 UTC 2019 - Hernan Schmidt 
+
+- Version 1.2.3
+- Fix license mirroring issue in some non-SUSE repositories (bsc#1128858)
+
+---
+Mon Mar 11 14:16:31 UTC 2019 - Thomas Muntaner 
+
+- Added the ability to mirror the SUMA product tree.
+
+---

Old:

  auth-handler.conf
  auth-location.conf
  http-certs.conf
  nginx-http.conf
  nginx-https.conf
  rmt-cli_bash-completion.sh
  rmt-server-1.2.2.tar.bz2
  rmt-server-migration.service
  rmt-server-mirror-sles12.timer
  rmt-server-mirror.service
  rmt-server-mirror.timer
  rmt-server-sync-sles12.timer
  rmt-server-sync.service
  rmt-server-sync.timer
  rmt-server.reg
  rmt-server.service
  rmt-server.target

New:

  rmt-server-2.1.4.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.zCsRiE/_old  2019-05-17 23:44:33.825866659 +0200
+++ /var/tmp/diff_new_pack.zCsRiE/_new  2019-05-17 23:44:33.829866656 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -22,39 +22,19 @@
 %define conf_dir %{_sysconfdir}/rmt
 %define rmt_user_rmt
 %define rmt_group   nginx
-%if 0%{?suse_version} == 1315
-%define is_sle_12_family 1
-%define ruby_version ruby2.5
-%else
 %define ruby_version %{rb_default_ruby_suffix}
-%endif
+
 Name:   rmt-server
-Version:1.2.2
+Version:2.1.4
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
 Group:

commit rmt-server for openSUSE:Factory

2019-03-05 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-03-05 12:23:13

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


Package is "rmt-server"

Tue Mar  5 12:23:13 2019 rev:18 rq:681402 version:1.2.2

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2019-01-21 
10:58:13.891440756 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.28833/rmt-server.changes 
2019-03-05 12:23:19.828877868 +0100
@@ -1,0 +2,39 @@
+Thu Feb 21 13:48:54 UTC 2019 - ikapelyuk...@suse.com
+
+- Version 1.2.2
+- Set CURLOPT_LOW_SPEED_LIMIT to prevent downloads from getting stuck 
(bsc#1107806)
+- Removed use-ruby-2.5-in-rails.patch, use-ruby-2.5-in-rmt-data-import.patch 
and
+   use-ruby-2.5-in-rmt-cli.patch as they are no longer needed.
+
+---
+Mon Feb 18 11:30:19 UTC 2019 - sko...@suse.com
+
+- Version 1.2.1
+- Truncate the RMT lockfile when writing a new PID (bsc#1125770)
+- Zypper authentication plugin (fate#326629)
+- Fix nested serializers in system/activations
+- Fix HTTP vhost config
+
+---
+Wed Jan 30 10:40:38 UTC 2019 - ikapelyuk...@suse.com
+
+- Version 1.2.0
+- Legacy zypper XML endpoint for backward compatibility
+  with SMT (fate#326629)
+- Instance verification plugin in rmt-server-pubcloud (fate#326629)
+
+---
+Tue Jan 22 11:38:24 UTC 2019 - fschnizl...@suse.com
+
+- Version 1.1.3
+- Fix missing trailing slashes on custom repository import from SMT
+  (bsc#1118745)
+
+
+---
+Fri Jan 18 11:38:24 UTC 2019 - sko...@suse.com
+
+- Version 1.1.2
+- Fix product version display (bsc#1117722)
+
+---

Old:

  rmt-server-1.1.1.tar.bz2
  use-ruby-2.5-in-rails.patch
  use-ruby-2.5-in-rmt-cli.patch
  use-ruby-2.5-in-rmt-data-import.patch

New:

  http-certs.conf
  rmt-server-1.2.2.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.aUmjio/_old  2019-03-05 12:23:20.960877523 +0100
+++ /var/tmp/diff_new_pack.aUmjio/_new  2019-03-05 12:23:20.964877522 +0100
@@ -24,14 +24,17 @@
 %define rmt_group   nginx
 %if 0%{?suse_version} == 1315
 %define is_sle_12_family 1
+%define ruby_version ruby2.5
+%else
+%define ruby_version %{rb_default_ruby_suffix}
 %endif
 Name:   rmt-server
-Version:1.1.1
+Version:1.2.2
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Proxy
-URL:https://software.opensuse.org/package/rmt-server
+Url:https://software.opensuse.org/package/rmt-server
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf
@@ -51,9 +54,10 @@
 Source16:   auth-location.conf
 Source17:   rmt-cli_bash-completion.sh
 Source18:   rmt-server.reg
-Patch0: use-ruby-2.5-in-rmt-cli.patch
-Patch1: use-ruby-2.5-in-rails.patch
-Patch2: use-ruby-2.5-in-rmt-data-import.patch
+Source19:   http-certs.conf
+BuildRequires:  %{ruby_version}
+BuildRequires:  %{ruby_version}-devel
+BuildRequires:  %{rubygem bundler}
 BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  libcurl-devel
@@ -61,14 +65,11 @@
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
-BuildRequires:  ruby2.5
-BuildRequires:  ruby2.5-devel
-BuildRequires:  ruby2.5-rubygem-bundler
 BuildRequires:  systemd
 Requires:   mariadb
 Requires:   nginx
-Requires(post): ruby2.5
-Requires(post): ruby2.5-rubygem-bundler
+Requires(post): %{ruby_version}
+Requires(post): %{rubygem bundler}
 Requires(post): shadow
 Requires(post): timezone
 Requires(post): util-linux
@@ -103,13 +104,12 @@
 cp -p %{SOURCE2} .
 
 %setup -q
-
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
+sed -i '1 s|/usr/bin/env\ ruby|/usr/bin/ruby.%{ruby_version}|' bin/rails
+sed -i '1 s|/usr/bin/env\ ruby|/usr/bin/ruby.%{ruby_version}|' bin/rmt-cli
+sed -i '1 s|/usr/bin/env\ ruby|/usr/bin/ruby.%{ruby_version}|' 
bin/rmt-data-import
 
 %build
-bundle.ruby2.5 install %{?jobs:--jobs %{jobs}} --without test development 
--deployment --standalone
+bundle.%{ruby_version} install %{?jobs:--jobs %{jobs}} --without test 
development --deployment --standalone
 
 %install
 mkdir -p %{buildroot}%{data_dir}
@@ -165,6 +165,7 @@
 install -D -m 644 %{SOURCE14} 

commit rmt-server for openSUSE:Factory

2019-01-21 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2019-01-21 10:57:46

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


Package is "rmt-server"

Mon Jan 21 10:57:46 2019 rev:17 rq:666467 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-12-07 
14:40:23.574700044 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.28833/rmt-server.changes 
2019-01-21 10:58:13.891440756 +0100
@@ -1,0 +2,32 @@
+Tue Jan 15 14:32:07 UTC 2019 - hschm...@suse.com
+
+- Cut version 1.1.1 
+
+---
+Tue Jan  8 14:37:20 UTC 2019 - hschm...@suse.com
+
+- Fix some migration problems which caused some extensions / modules
+  to be dropped. (bsc#1118584, bsc#1118579)
+
+---
+Tue Dec 11 17:04:00 UTC 2018 - tmunta...@suse.com
+
+- Fix listing of enabled for mirroring for non-mirrored products. (bsc#1102193)
+
+---
+Tue Dec 11 14:48:27 UTC 2018 - sko...@suse.com
+
+- Include online migration paths into offline migration (bsc#1117106)
+
+---
+Tue Dec 11 10:42:33 UTC 2018 - sko...@suse.com
+
+- Sync products that do not have base product (bsc#1109307)
+
+---
+Fri Dec 7 15:39:00 UTC 2018 - tmunta...@suse.com
+
+- Repository table using context relevant values instead of true and
+  false.
+
+---

Old:

  rmt-server-1.1.0.tar.bz2

New:

  rmt-server-1.1.1.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.VtMd3G/_old  2019-01-21 10:58:14.883439461 +0100
+++ /var/tmp/diff_new_pack.VtMd3G/_new  2019-01-21 10:58:14.883439461 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rmt-server
 #
-# 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
@@ -26,7 +26,7 @@
 %define is_sle_12_family 1
 %endif
 Name:   rmt-server
-Version:1.1.0
+Version:1.1.1
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -116,6 +116,7 @@
 mkdir -p %{buildroot}%{lib_dir}
 mkdir -p %{buildroot}%{app_dir}
 mkdir -p %{buildroot}%{conf_dir}/ssl
+mkdir -p %{buildroot}%{data_dir}/regsharing
 
 mv tmp %{buildroot}%{data_dir}
 mkdir %{buildroot}%{data_dir}/public
@@ -146,11 +147,15 @@
 install -m 444 %{SOURCE9} %{buildroot}%{_unitdir}
 install -m 444 %{SOURCE10} %{buildroot}%{_unitdir}
 install -m 444 %{SOURCE11} %{buildroot}%{_unitdir}
+install -m 444 
engines/registration_sharing/package/rmt-server-regsharing.service 
%{buildroot}%{_unitdir}
+install -m 444 
engines/registration_sharing/package/rmt-server-regsharing.timer 
%{buildroot}%{_unitdir}
+
 mkdir -p %{buildroot}%{_sbindir}
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server-migration
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server-mirror
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server-sync
+ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server-regsharing
 
 mkdir -p %{buildroot}%{_sysconfdir}
 mv %{_builddir}/rmt.conf %{buildroot}%{_sysconfdir}/rmt.conf
@@ -242,9 +247,15 @@
 %files pubcloud
 %attr(-,%{rmt_user},%{rmt_group}) %{app_dir}/engines/
 %dir %{_sysconfdir}/nginx/rmt-auth.d/
+%dir %attr(-,%{rmt_user},%{rmt_group}) %{data_dir}/regsharing
+%exclude %{app_dir}/engines/registration_sharing/package/
 %config(noreplace) %{_sysconfdir}/nginx/rmt-auth.d/auth-handler.conf
 %config(noreplace) %{_sysconfdir}/nginx/rmt-auth.d/auth-location.conf
 
+%{_sbindir}/rcrmt-server-regsharing
+%{_unitdir}/rmt-server-regsharing.service
+%{_unitdir}/rmt-server-regsharing.timer
+
 %pre
 getent group %{rmt_group} >/dev/null || %{_sbindir}/groupadd -r %{rmt_group}
 getent passwd %{rmt_user} >/dev/null || \
@@ -279,4 +290,16 @@
 %postun
 %service_del_postun rmt-server.target rmt-server.service 
rmt-server-migration.service rmt-server-mirror.service rmt-server-sync.service
 
+%pre pubcloud
+%service_add_pre rmt-server-regsharing.service
+
+%post pubcloud
+%service_add_post rmt-server-regsharing.service
+
+%preun pubcloud
+%service_del_preun rmt-server-regsharing.service
+
+%postun 

commit rmt-server for openSUSE:Factory

2018-12-07 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-12-07 14:40:11

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


Package is "rmt-server"

Fri Dec  7 14:40:11 2018 rev:16 rq:656016 version:1.1.0

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-11-13 
17:42:20.920228865 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new.19453/rmt-server.changes 
2018-12-07 14:40:23.574700044 +0100
@@ -1,0 +2,56 @@
+Thu Dec 6 15:00:00 UTC 2018 - tmunta...@suse.com
+
+- Version 1.1.0
+
+---
+Wed Dec 5 14:30:00 UTC 2018 - tmunta...@suse.com
+
+- Bugfix: Alias commands in short form no longer raise an exception
+  * remove -> rm -> r
+  * list -> ls -> l
+
+---
+Mon Dec 3 17:00:00 UTC 2018 - tmunta...@suse.com
+
+- Added ability to enable/disable multiple repositories at the
+  same time.
+
+---
+Mon Dec 3 16:08:00 UTC 2018 - tmunta...@suse.com
+
+- The command `rmt-cli products list` is more compact for smaller
+  screens.
+
+---
+Thu Nov 22 15:31:29 UTC 2018 - hschm...@suse.com
+
+- Remove the "No product license found" message when mirroring.
+  It's not useful for users, and it was just causing confusion,
+  as many people mistook it for an error.
+
+---
+Thu Nov 22 11:23:18 UTC 2018 - wstephen...@suse.com
+
+- Register to SLP if a server running on this host (bsc#1113760)
+
+---
+Wed Nov 21 10:30:44 UTC 2018 - sko...@suse.com
+
+- Modules for migration are being sorted in the correct order
+
+---
+Tue Nov 20 11:57:10 UTC 2018 - tmunta...@suse.com
+
+- Added the ability to localize RMT
+
+---
+Fri Nov  9 13:24:52 UTC 2018 - sschric...@suse.de
+
+- Add bash completion for rmt-cli
+
+---
+Thu Nov  8 15:37:57 UTC 2018 - tmunta...@suse.com
+
+- Added ability to enable/disable multiple products at the same time
+
+---
@@ -5,0 +62,2 @@
+- Offline migrations will automatically add additional modules
+  to the client systems depending on the base product

Old:

  rmt-server-1.0.7.tar.bz2

New:

  rmt-cli_bash-completion.sh
  rmt-server-1.1.0.tar.bz2
  rmt-server.reg



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.KKSIDg/_old  2018-12-07 14:40:24.930698365 +0100
+++ /var/tmp/diff_new_pack.KKSIDg/_new  2018-12-07 14:40:24.938698355 +0100
@@ -26,7 +26,7 @@
 %define is_sle_12_family 1
 %endif
 Name:   rmt-server
-Version:1.0.7
+Version:1.1.0
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -49,6 +49,8 @@
 Source14:   nginx-https.conf
 Source15:   auth-handler.conf
 Source16:   auth-location.conf
+Source17:   rmt-cli_bash-completion.sh
+Source18:   rmt-server.reg
 Patch0: use-ruby-2.5-in-rmt-cli.patch
 Patch1: use-ruby-2.5-in-rails.patch
 Patch2: use-ruby-2.5-in-rmt-data-import.patch
@@ -167,6 +169,11 @@
 mkdir -p %{buildroot}%{_libexecdir}/supportconfig/plugins
 install -D -m 544 support/rmt 
%{buildroot}%{_libexecdir}/supportconfig/plugins/rmt
 
+# bash completion
+install -D -m 644 %{SOURCE17} 
%{buildroot}%{_datadir}/bash-completion/completions/rmt-cli
+
+install -D -m 644 %{SOURCE18} 
%{buildroot}%{_sysconfdir}/slp.reg.d/rmt-server.reg
+
 # cleanup of /usr/bin/env commands
 grep -rl '\/usr\/bin\/env ruby' %{buildroot}%{lib_dir}/vendor/bundle/ruby | 
xargs \
 sed -i -e 's@\/usr\/bin\/env ruby.ruby2\.5@\/usr\/bin\/ruby\.ruby2\.5@g' \
@@ -206,9 +213,11 @@
 %dir %{_sysconfdir}/nginx
 %dir %{_sysconfdir}/nginx/vhosts.d
 %dir /var/lib/rmt
+%dir %{_sysconfdir}/slp.reg.d
 %config(noreplace) %attr(0640, %{rmt_user},root) %{_sysconfdir}/rmt.conf
 %config(noreplace) %{_sysconfdir}/nginx/vhosts.d/rmt-server-http.conf
 %config(noreplace) %{_sysconfdir}/nginx/vhosts.d/rmt-server-https.conf
+%config(noreplace) %{_sysconfdir}/slp.reg.d/rmt-server.reg
 %{_mandir}/man8/rmt-cli.8%{?ext_man}
 %{_bindir}/rmt-cli
 %{_bindir}/rmt-data-import
@@ -223,6 +232,9 @@
 %{_unitdir}/rmt-server-mirror.timer
 %{_unitdir}/rmt-server-sync.service

commit rmt-server for openSUSE:Factory

2018-11-13 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-11-13 17:00:16

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Tue Nov 13 17:00:16 2018 rev:15 rq:648444 version:1.0.7

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-09-19 
14:32:06.603354447 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-11-13 17:42:20.920228865 +0100
@@ -1,0 +2,22 @@
+Tue Oct 30 15:35:17 UTC 2018 - sko...@suse.com
+
+- Version 1.0.7
+- Import migration_extra attribute from SCC API
+- Dependency gems security updates:
+  - Update loofah to 2.2.3 (CVE-2018-16468)
+  - Update rack to 2.0.6 (CVE-2018-16470)
+  - Update nokogiri to 1.8.5 (CVE-2018-14404)
+
+---
+Tue Oct 30 14:18:13 UTC 2018 - tmunta...@suse.com
+
+- Added flag `--all-modules` to the `products enable` command to
+  enable all free modules/extensions.
+
+---
+Thu Sep 27 15:35:29 UTC 2018 - ikapelyuk...@suse.com
+
+- Improved exception handling when HTTP request fails due to
+  a network or SSL validity issue
+
+---

Old:

  rmt-server-1.0.6.tar.bz2

New:

  auth-handler.conf
  auth-location.conf
  rmt-server-1.0.7.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.lZ9oS7/_old  2018-11-13 17:42:22.632226491 +0100
+++ /var/tmp/diff_new_pack.lZ9oS7/_new  2018-11-13 17:42:22.636226486 +0100
@@ -26,7 +26,7 @@
 %define is_sle_12_family 1
 %endif
 Name:   rmt-server
-Version:1.0.6
+Version:1.0.7
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -47,6 +47,8 @@
 Source12:   rmt-server-sync-sles12.timer
 Source13:   rmt-server-mirror-sles12.timer
 Source14:   nginx-https.conf
+Source15:   auth-handler.conf
+Source16:   auth-location.conf
 Patch0: use-ruby-2.5-in-rmt-cli.patch
 Patch1: use-ruby-2.5-in-rails.patch
 Patch2: use-ruby-2.5-in-rmt-data-import.patch
@@ -86,6 +88,15 @@
 
 RMT supersedes the main functionality of SMT in SLES 15.
 
+%package pubcloud
+Summary:RMT pubcloud extensions
+Group:  Productivity/Networking/Web/Proxy
+Requires:   rmt-server = %version
+
+%description pubcloud
+This package extends the basic RMT functionality with capabilities
+required for public cloud environments.
+
 %prep
 cp -p %{SOURCE2} .
 
@@ -145,6 +156,8 @@
 # nginx
 install -D -m 644 %{SOURCE4} 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server-http.conf
 install -D -m 644 %{SOURCE14} 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server-https.conf
+install -D -m 644 %{SOURCE15} 
%{buildroot}%{_sysconfdir}/nginx/rmt-auth.d/auth-handler.conf
+install -D -m 644 %{SOURCE16} 
%{buildroot}%{_sysconfdir}/nginx/rmt-auth.d/auth-location.conf
 
 sed -i -e '/BUNDLE_PATH: .*/cBUNDLE_PATH: 
"\/usr\/lib64\/rmt\/vendor\/bundle\/"' \
 -e 's/^BUNDLE_JOBS: .*/BUNDLE_JOBS: "1"/' \
@@ -184,6 +197,7 @@
 
 %files
 %attr(-,%{rmt_user},%{rmt_group}) %{app_dir}
+%exclude %{app_dir}/engines/
 %attr(-,%{rmt_user},%{rmt_group}) %{data_dir}
 %attr(-,%{rmt_user},%{rmt_group}) %{conf_dir}
 %attr(-,%{rmt_user},%{rmt_group}) /var/lib/rmt
@@ -213,6 +227,12 @@
 %{_libdir}/rmt
 %{_libexecdir}/supportconfig/plugins/rmt
 
+%files pubcloud
+%attr(-,%{rmt_user},%{rmt_group}) %{app_dir}/engines/
+%dir %{_sysconfdir}/nginx/rmt-auth.d/
+%config(noreplace) %{_sysconfdir}/nginx/rmt-auth.d/auth-handler.conf
+%config(noreplace) %{_sysconfdir}/nginx/rmt-auth.d/auth-location.conf
+
 %pre
 getent group %{rmt_group} >/dev/null || %{_sbindir}/groupadd -r %{rmt_group}
 getent passwd %{rmt_user} >/dev/null || \

++ auth-handler.conf ++
auth_request /auth;
auth_request_set $auth_status $upstream_status;
++ auth-location.conf ++
location = /auth {
internal;
proxy_pass  http://rmt/api/auth/check;
proxy_pass_request_body off;
proxy_set_headerContent-Length "";
proxy_set_headerX-Original-URI $request_uri;
}
++ nginx-https.conf ++
--- /var/tmp/diff_new_pack.lZ9oS7/_old  2018-11-13 17:42:22.700226398 +0100
+++ /var/tmp/diff_new_pack.lZ9oS7/_new  2018-11-13 17:42:22.700226398 +0100
@@ -14,6 +14,8 @@
 ssl_certificate_key /etc/rmt/ssl/rmt-server.key;
 ssl_protocols   TLSv1.2 TLSv1.3;
 
+include /etc/nginx/rmt-auth*.d/auth-location*.conf;
+
 location / {
 try_files $uri/index.html $uri.html $uri 

commit rmt-server for openSUSE:Factory

2018-09-19 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-09-19 14:30:05

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Wed Sep 19 14:30:05 2018 rev:14 rq:636372 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-08-31 
10:44:31.807208686 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-09-19 14:32:06.603354447 +0200
@@ -7,0 +8 @@
+- Nginx forwards to IPv4 address only (bsc#1107100)



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.podHiP/_old  2018-09-19 14:32:08.143353401 +0200
+++ /var/tmp/diff_new_pack.podHiP/_new  2018-09-19 14:32:08.155353393 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define app_dir %{_datadir}/rmt/
-%define lib_dir %{_libdir}/rmt/
-%define data_dir %{_localstatedir}/lib/rmt/
+%define app_dir %{_datadir}/rmt
+%define lib_dir %{_libdir}/rmt
+%define data_dir %{_localstatedir}/lib/rmt
 %define conf_dir %{_sysconfdir}/rmt
 %define rmt_user_rmt
 %define rmt_group   nginx
@@ -31,7 +31,7 @@
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Proxy
-Url:https://software.opensuse.org/package/rmt-server
+URL:https://software.opensuse.org/package/rmt-server
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf
@@ -102,14 +102,12 @@
 mkdir -p %{buildroot}%{data_dir}
 mkdir -p %{buildroot}%{lib_dir}
 mkdir -p %{buildroot}%{app_dir}
-mkdir -p %{buildroot}%{conf_dir}
-mkdir -p %{buildroot}/var/lib/rmt
+mkdir -p %{buildroot}%{conf_dir}/ssl
 
 mv tmp %{buildroot}%{data_dir}
 mkdir %{buildroot}%{data_dir}/public
 mv public/repo %{buildroot}%{data_dir}/public/
 mv vendor %{buildroot}%{lib_dir}
-mv ssl %{buildroot}%{conf_dir}
 
 cp -ar . %{buildroot}%{app_dir}
 ln -s %{data_dir}/tmp %{buildroot}%{app_dir}/tmp
@@ -234,9 +232,9 @@
 
 # Run only on upgrade
 if [ $1 -eq 2 ]; then
-  if [ -d %{app_dir}/ssl ]; then
+  if [ -f %{app_dir}/ssl/rmt-ca.crt ]; then
 mv %{app_dir}/ssl/* %{conf_dir}/ssl
-echo "RMT ssl configuration has been moved to a new place. New place is: 
%{conf_dir}/ssl"
+echo "RMT SSL configuration has been moved to a new location: 
%{conf_dir}/ssl"
   fi
   if [ -f %{app_dir}/config/system_uuid ]; then
 mv %{app_dir}/config/system_uuid /var/lib/rmt/system_uuid

++ nginx-https.conf ++
--- /var/tmp/diff_new_pack.podHiP/_old  2018-09-19 14:32:08.24335 +0200
+++ /var/tmp/diff_new_pack.podHiP/_new  2018-09-19 14:32:08.24335 +0200
@@ -1,5 +1,5 @@
 upstream rmt {
-server localhost:4224;
+server 127.0.0.1:4224;
 }
 
 server {

++ rmt-cli.8.gz ++

++ rmt-server-1.0.6.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-1.0.6.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server-1.0.6.tar.bz2 differ: 
char 11, line 1




commit rmt-server for openSUSE:Factory

2018-08-31 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-08-31 10:44:00

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Fri Aug 31 10:44:00 2018 rev:13 rq:631740 version:1.0.6

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-07-27 
10:58:14.753876642 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-08-31 10:44:31.807208686 +0200
@@ -1,0 +2,8 @@
+Thu Aug  2 16:19:35 UTC 2018 - fschnizl...@suse.com
+
+- Version 1.0.6
+- Change file paths to new locations to make RMT work with
+  read-only rootfs (bsc#1102198)
+- Change file permissions for rmt.conf (bsc#1104232)
+
+---
@@ -4,0 +13 @@
+- sort all list outputs alphabetically (bsc#1088680)

Old:

  rmt-server-1.0.5.tar.bz2

New:

  rmt-server-1.0.6.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.UA0Uqg/_old  2018-08-31 10:44:32.547209572 +0200
+++ /var/tmp/diff_new_pack.UA0Uqg/_new  2018-08-31 10:44:32.551209577 +0200
@@ -19,18 +19,19 @@
 %define app_dir %{_datadir}/rmt/
 %define lib_dir %{_libdir}/rmt/
 %define data_dir %{_localstatedir}/lib/rmt/
+%define conf_dir %{_sysconfdir}/rmt
 %define rmt_user_rmt
 %define rmt_group   nginx
 %if 0%{?suse_version} == 1315
 %define is_sle_12_family 1
 %endif
 Name:   rmt-server
-Version:1.0.5
+Version:1.0.6
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Proxy
-URL:https://software.opensuse.org/package/rmt-server
+Url:https://software.opensuse.org/package/rmt-server
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf
@@ -67,7 +68,8 @@
 Requires(post): shadow
 Requires(post): timezone
 Requires(post): util-linux
-Recommends: yast2-rmt
+Conflicts:  yast2-rmt < 1.0.3
+Recommends: yast2-rmt >= 1.0.3
 # Does not build for i586 and s390 and is not supported on those architectures
 ExcludeArch:%{ix86} s390
 
@@ -100,12 +102,14 @@
 mkdir -p %{buildroot}%{data_dir}
 mkdir -p %{buildroot}%{lib_dir}
 mkdir -p %{buildroot}%{app_dir}
+mkdir -p %{buildroot}%{conf_dir}
+mkdir -p %{buildroot}/var/lib/rmt
 
 mv tmp %{buildroot}%{data_dir}
 mkdir %{buildroot}%{data_dir}/public
 mv public/repo %{buildroot}%{data_dir}/public/
 mv vendor %{buildroot}%{lib_dir}
-mv ssl %{buildroot}%{app_dir}
+mv ssl %{buildroot}%{conf_dir}
 
 cp -ar . %{buildroot}%{app_dir}
 ln -s %{data_dir}/tmp %{buildroot}%{app_dir}/tmp
@@ -183,11 +187,14 @@
 %files
 %attr(-,%{rmt_user},%{rmt_group}) %{app_dir}
 %attr(-,%{rmt_user},%{rmt_group}) %{data_dir}
+%attr(-,%{rmt_user},%{rmt_group}) %{conf_dir}
+%attr(-,%{rmt_user},%{rmt_group}) /var/lib/rmt
 %dir %{_libexecdir}/supportconfig
 %dir %{_libexecdir}/supportconfig/plugins
 %dir %{_sysconfdir}/nginx
 %dir %{_sysconfdir}/nginx/vhosts.d
-%config(noreplace) %{_sysconfdir}/rmt.conf
+%dir /var/lib/rmt
+%config(noreplace) %attr(0640, %{rmt_user},root) %{_sysconfdir}/rmt.conf
 %config(noreplace) %{_sysconfdir}/nginx/vhosts.d/rmt-server-http.conf
 %config(noreplace) %{_sysconfdir}/nginx/vhosts.d/rmt-server-https.conf
 %{_mandir}/man8/rmt-cli.8%{?ext_man}
@@ -219,10 +226,23 @@
 %service_add_post rmt-server.target rmt-server.service 
rmt-server-migration.service rmt-server-mirror.service rmt-server-sync.service
 cd %{_datadir}/rmt && runuser -u %{rmt_user} -g %{rmt_group} -- bin/rails 
secrets:setup >/dev/null
 cd %{_datadir}/rmt && runuser -u %{rmt_user} -g %{rmt_group} -- bin/rails 
runner -e production "Rails::Secrets.write({'production' => {'secret_key_base' 
=> SecureRandom.hex(64)}}.to_yaml)" >/dev/null
-if [ $1 -eq 1 ] ; then
+
+# Run only on install
+if [ $1 -eq 1 ]; then
   echo "Please run the YaST RMT module (or 'yast2 rmt' from the command line) 
to complete the configuration of your RMT" >> /dev/stdout
 fi
 
+# Run only on upgrade
+if [ $1 -eq 2 ]; then
+  if [ -d %{app_dir}/ssl ]; then
+mv %{app_dir}/ssl/* %{conf_dir}/ssl
+echo "RMT ssl configuration has been moved to a new place. New place is: 
%{conf_dir}/ssl"
+  fi
+  if [ -f %{app_dir}/config/system_uuid ]; then
+mv %{app_dir}/config/system_uuid /var/lib/rmt/system_uuid
+  fi
+fi
+
 %preun
 %service_del_preun rmt-server.target rmt-server.service 
rmt-server-migration.service rmt-server-mirror.service rmt-server-sync.service
 

++ nginx-https.conf ++
--- /var/tmp/diff_new_pack.UA0Uqg/_old  2018-08-31 10:44:32.587209621 +0200
+++ 

commit rmt-server for openSUSE:Factory

2018-07-27 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-07-27 10:57:23

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Fri Jul 27 10:57:23 2018 rev:12 rq:625432 version:1.0.5

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-07-02 
23:34:03.777203787 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-07-27 10:58:14.753876642 +0200
@@ -1,0 +2,13 @@
+Thu Jul 19 12:27:23 UTC 2018 - wstephen...@suse.com
+
+- Version 1.0.5
+- Include 'last_seen_at' field in API systems output, for 
+  consistency with SCC
+
+---
+Wed Jul  4 15:32:13 UTC 2018 - fschuel...@suse.com
+
+- Version 1.0.4
+- Only show post-install message on initial install
+
+---

Old:

  rmt-server-1.0.3.tar.bz2

New:

  rmt-server-1.0.5.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.kUQGcI/_old  2018-07-27 10:58:15.413877905 +0200
+++ /var/tmp/diff_new_pack.kUQGcI/_new  2018-07-27 10:58:15.417877912 +0200
@@ -25,12 +25,12 @@
 %define is_sle_12_family 1
 %endif
 Name:   rmt-server
-Version:1.0.3
+Version:1.0.5
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Proxy
-Url:https://software.opensuse.org/package/rmt-server
+URL:https://software.opensuse.org/package/rmt-server
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf
@@ -219,7 +219,9 @@
 %service_add_post rmt-server.target rmt-server.service 
rmt-server-migration.service rmt-server-mirror.service rmt-server-sync.service
 cd %{_datadir}/rmt && runuser -u %{rmt_user} -g %{rmt_group} -- bin/rails 
secrets:setup >/dev/null
 cd %{_datadir}/rmt && runuser -u %{rmt_user} -g %{rmt_group} -- bin/rails 
runner -e production "Rails::Secrets.write({'production' => {'secret_key_base' 
=> SecureRandom.hex(64)}}.to_yaml)" >/dev/null
-echo "Please run the YaST RMT module (or 'yast2 rmt' from the command line) to 
complete the configuration of your RMT" >> /dev/stdout
+if [ $1 -eq 1 ] ; then
+  echo "Please run the YaST RMT module (or 'yast2 rmt' from the command line) 
to complete the configuration of your RMT" >> /dev/stdout
+fi
 
 %preun
 %service_del_preun rmt-server.target rmt-server.service 
rmt-server-migration.service rmt-server-mirror.service rmt-server-sync.service

++ rmt-cli.8.gz ++

++ rmt-server-1.0.3.tar.bz2 -> rmt-server-1.0.5.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-1.0.3.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server-1.0.5.tar.bz2 differ: 
char 11, line 1




commit rmt-server for openSUSE:Factory

2018-07-02 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-07-02 23:33:50

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Mon Jul  2 23:33:50 2018 rev:11 rq:620196 version:1.0.3

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-06-27 
10:22:45.369117082 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-07-02 23:34:03.777203787 +0200
@@ -1,0 +2,6 @@
+Wed Jun 27 12:18:16 UTC 2018 - ikapelyuk...@suse.com
+
+- Version 1.0.3
+- Fix duplicate migration paths (bsc#1097824)
+
+---

Old:

  rmt-server-1.0.2.tar.bz2

New:

  rmt-server-1.0.3.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.VjhH3L/_old  2018-07-02 23:34:05.665201451 +0200
+++ /var/tmp/diff_new_pack.VjhH3L/_new  2018-07-02 23:34:05.665201451 +0200
@@ -25,7 +25,7 @@
 %define is_sle_12_family 1
 %endif
 Name:   rmt-server
-Version:1.0.2
+Version:1.0.3
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++

++ rmt-server-1.0.2.tar.bz2 -> rmt-server-1.0.3.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-1.0.2.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server-1.0.3.tar.bz2 differ: 
char 11, line 1




commit rmt-server for openSUSE:Factory

2018-06-27 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-06-27 10:22:12

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Wed Jun 27 10:22:12 2018 rev:10 rq:619136 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-05-19 
15:43:12.253007695 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-06-27 10:22:45.369117082 +0200
@@ -1,0 +2,14 @@
+Tue Jun 19 15:01:19 UTC 2018 - ikapelyuk...@suse.com
+
+- Version 1.0.2
+- Improved handling of errors during mirroring (bsc#1096967)
+- Set correct permissions for product.license directory (bsc#1097367)
+- Log version on service startup
+
+---
+Fri Jun  1 12:50:03 UTC 2018 - wstephen...@suse.com
+
+- Version 1.0.1
+- Use curl instead of wget in rmt-client-setup (bsc#1094348)
+
+---

Old:

  rmt-server-1.0.0.tar.bz2

New:

  rmt-server-1.0.2.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.pKbRec/_old  2018-06-27 10:22:48.197013957 +0200
+++ /var/tmp/diff_new_pack.pKbRec/_new  2018-06-27 10:22:48.201013812 +0200
@@ -25,7 +25,7 @@
 %define is_sle_12_family 1
 %endif
 Name:   rmt-server
-Version:1.0.0
+Version:1.0.2
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later

++ rmt-cli.8.gz ++

++ rmt-server-1.0.0.tar.bz2 -> rmt-server-1.0.2.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-1.0.0.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server-1.0.2.tar.bz2 differ: 
char 11, line 1




commit rmt-server for openSUSE:Factory

2018-05-19 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-05-19 15:43:00

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Sat May 19 15:43:00 2018 rev:9 rq:610308 version:1.0.0

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-04-27 
16:09:18.962304615 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-05-19 15:43:12.253007695 +0200
@@ -1,0 +2,58 @@
+Fri May 18 08:24:11 UTC 2018 - sko...@suse.com
+
+- Bump version to 1.0.0 (bsc#1093879)
+- Make rmt-server recommend yast2-rmt
+- Add the post-install message about running yast2-rmt
+- Add new script rmt-data-import for migration from SMT to RMT
+- Split off usage instruction into MANUAL.md
+- Squash migrations into one
+- Small improvements on CLI responses
+- Rename clientSetup4RMT.sh => rmt-client-setup
+- Add use-ruby-2.5-in-rmt-data-import.patch
+
+---
+Fri May 11 15:54:46 UTC 2018 - hschm...@suse.com
+
+- Don't check if a product has repos and that they are mirrored
+  when deactivating.
+  See: https://github.com/SUSE/rmt/pull/168
+
+---
+Wed May  9 09:36:02 UTC 2018 - wstephen...@suse.com
+
+- Show custom repositories and product bindings in supportconfig
+  plugin output
+- Add CSV output option
+  See: https://github.com/SUSE/rmt/pull/158
+
+---
+Tue May  8 09:58:29 UTC 2018 - tmunta...@suse.com
+
+- Rename of service files
+  rmt.service -> rmt-server.service
+  rmt-migration.service -> rmt-server-migration.service
+  See: https://github.com/SUSE/rmt/pull/159
+
+---
+Mon May  7 10:55:19 UTC 2018 - tmunta...@suse.com
+
+- RMT server binds to 127.0.0.1, not 0.0.0.0
+  See: https://github.com/SUSE/rmt/pull/158
+---
+Mon May  7 10:30:58 UTC 2018 - sko...@suse.com
+
+- Lockfile handling with File#flock
+  See: https://github.com/SUSE/rmt/pull/157
+
+---
+Thu May  3 15:27:58 UTC 2018 - sko...@suse.com
+
+- Added lockfile feature for mirror, sync & import commands
+
+---
+Thu May  3 08:50:43 UTC 2018 - tmunta...@suse.com
+
+- Removed ability to change user/group through configuration (GH-144)
+  See: https://github.com/SUSE/rmt/pull/154
+
+---

Old:

  rmt-migration.service
  rmt-server-0.0.7.tar.bz2
  rmt.8.gz
  rmt.service
  rmt.target

New:

  rmt-cli.8.gz
  rmt-server-1.0.0.tar.bz2
  rmt-server-migration.service
  rmt-server.service
  rmt-server.target
  use-ruby-2.5-in-rmt-data-import.patch



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.UJ05FX/_old  2018-05-19 15:43:13.528961012 +0200
+++ /var/tmp/diff_new_pack.UJ05FX/_new  2018-05-19 15:43:13.528961012 +0200
@@ -16,45 +16,39 @@
 #
 
 
-%if 0%{?suse_version} == 1315
-%define is_sle_12_family 1
-%endif
-
-%define app_dir /usr/share/rmt/
+%define app_dir %{_datadir}/rmt/
 %define lib_dir %{_libdir}/rmt/
-%define data_dir /var/lib/rmt/
+%define data_dir %{_localstatedir}/lib/rmt/
 %define rmt_user_rmt
 %define rmt_group   nginx
-
+%if 0%{?suse_version} == 1315
+%define is_sle_12_family 1
+%endif
 Name:   rmt-server
-Version:0.0.7
+Version:1.0.0
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Proxy
-Url:https://software.opensuse.org/package/rmt
-# Does not build for i586 and s390 and is not supported on those architectures
-ExcludeArch:%ix86 s390
-
+Url:https://software.opensuse.org/package/rmt-server
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf
-Source3:rmt.8.gz
+Source3:rmt-cli.8.gz
 Source4:nginx-http.conf
 Source5:rmt-server-mirror.service
 Source6:rmt-server-mirror.timer
 Source7:rmt-server-sync.service
 Source8:rmt-server-sync.timer
-Source9:rmt.service
-Source10:   rmt.target
-Source11:   rmt-migration.service
+Source9:rmt-server.service
+Source10:   rmt-server.target
+Source11:   rmt-server-migration.service
 Source12:   rmt-server-sync-sles12.timer
 Source13:   

commit rmt-server for openSUSE:Factory

2018-04-27 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-04-27 16:09:18

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Fri Apr 27 16:09:18 2018 rev:8 rq:601636 version:0.0.7

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-04-11 
14:02:16.474188989 +0200
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-04-27 16:09:18.962304615 +0200
@@ -1,0 +2,30 @@
+Thu Apr 26 14:58:45 UTC 2018 - tmunta...@suse.com
+
+- Added supportconfig plugin
+  See: https://github.com/SUSE/rmt/pull/146
+- Rename organizations_products.json to organizations_products_unscoped.json 
(fixes bsc#1088687)
+  See: https://github.com/SUSE/rmt/pull/151
+- Improved log formatting in journald
+  See: https://github.com/SUSE/rmt/pull/145
+
+---
+Wed Apr 25 14:47:18 UTC 2018 - tmunta...@suse.com
+
+- version 0.0.7
+- Fixed offline repository sync with usb (bsc#1089038)
+  See: https://github.com/SUSE/rmt/pull/147
+- Removed unique index for uuid in HwInfo table
+  See: https://github.com/SUSE/rmt/pull/142
+- "rmt-cli products enable ..." enables recommended extensions in SLE 15
+  See: https://github.com/SUSE/rmt/pull/141
+- Added RMT header in requests for Connect API
+  See: https://github.com/SUSE/rmt/pull/139
+
+---
+Thu Apr 19 15:09:41 UTC 2018 - sko...@suse.com
+
+- version 0.0.6
+- storing hardware info
+  https://github.com/SUSE/rmt/pull/138
+
+---

Old:

  rmt-server-0.0.5.tar.bz2

New:

  rmt-server-0.0.7.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.NkqGpe/_old  2018-04-27 16:09:20.502248135 +0200
+++ /var/tmp/diff_new_pack.NkqGpe/_new  2018-04-27 16:09:20.502248135 +0200
@@ -27,7 +27,7 @@
 %define rmt_group   nginx
 
 Name:   rmt-server
-Version:0.0.5
+Version:0.0.7
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0-or-later
@@ -150,6 +150,10 @@
 -e 's/^BUNDLE_JOBS: .*/BUNDLE_JOBS: "1"/' \
 %{buildroot}%{app_dir}/.bundle/config
 
+# supportconfig plugin
+mkdir -p %{buildroot}%{_libexecdir}/supportconfig/plugins
+install -D -m 544 support/rmt 
%{buildroot}%{_libexecdir}/supportconfig/plugins/rmt
+
 # cleanup of /usr/bin/env commands
 grep -rl '\/usr\/bin\/env ruby' %{buildroot}%{lib_dir}/vendor/bundle/ruby | 
xargs \
 sed -i -e 's@\/usr\/bin\/env ruby.ruby2\.5@\/usr\/bin\/ruby\.ruby2\.5@g' \
@@ -182,12 +186,14 @@
 %defattr(-,root,root)
 %attr(-,%{rmt_user},%{rmt_group}) %{app_dir}
 %attr(-,%{rmt_user},%{rmt_group}) %{data_dir}
+%dir %{_libexecdir}/supportconfig
+%dir %{_libexecdir}/supportconfig/plugins
+%dir %{_sysconfdir}/nginx
+%dir %{_sysconfdir}/nginx/vhosts.d
 %config(noreplace) %{_sysconfdir}/rmt.conf
 %config(noreplace) %{_sysconfdir}/nginx/vhosts.d/rmt-server-http.conf
 %config(noreplace) %{_sysconfdir}/nginx/vhosts.d/rmt-server-https.conf
 %doc %{_mandir}/man8/rmt.8.gz
-%{_sysconfdir}/nginx
-%{_sysconfdir}/nginx/vhosts.d
 %{_bindir}/rmt-cli
 %{_sbindir}/rcrmt
 %{_sbindir}/rcrmt-migration
@@ -202,6 +208,7 @@
 %{_unitdir}/rmt-server-sync.timer
 
 %{_libdir}/rmt
+%{_libexecdir}/supportconfig/plugins/rmt
 
 %pre
 getent group %{rmt_group} >/dev/null || %{_sbindir}/groupadd -r %{rmt_group}

++ rmt-migration.service ++
--- /var/tmp/diff_new_pack.NkqGpe/_old  2018-04-27 16:09:20.574245495 +0200
+++ /var/tmp/diff_new_pack.NkqGpe/_new  2018-04-27 16:09:20.574245495 +0200
@@ -7,6 +7,7 @@
 [Service]
 Type=oneshot
 User=_rmt
+Environment=LOG_TO_JOURNALD=1
 WorkingDirectory=/usr/share/rmt
 ExecStart=/usr/share/rmt/bin/rails db:create db:migrate RAILS_ENV=production
 

++ rmt-server-0.0.5.tar.bz2 -> rmt-server-0.0.7.tar.bz2 ++
/work/SRC/openSUSE:Factory/rmt-server/rmt-server-0.0.5.tar.bz2 
/work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server-0.0.7.tar.bz2 differ: 
char 11, line 1

++ rmt-server-mirror.service ++
--- /var/tmp/diff_new_pack.NkqGpe/_old  2018-04-27 16:09:20.630243440 +0200
+++ /var/tmp/diff_new_pack.NkqGpe/_new  2018-04-27 16:09:20.634243294 +0200
@@ -6,6 +6,7 @@
 [Service]
 Type=simple
 Restart=no
+Environment=LOG_TO_JOURNALD=1
 ExecStart=/usr/share/rmt/bin/rmt-cli mirror
 
 [Install]

++ rmt-server-sync.service ++
--- /var/tmp/diff_new_pack.NkqGpe/_old  2018-04-27 16:09:20.690241241 +0200
+++ /var/tmp/diff_new_pack.NkqGpe/_new  2018-04-27 16:09:20.694241094 +0200
@@ -6,6 +6,7 @@
 [Service]
 Type=simple
 

commit rmt-server for openSUSE:Factory

2018-04-11 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-04-11 13:59:56

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Wed Apr 11 13:59:56 2018 rev:7 rq:594894 version:0.0.5

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-03-02 
21:11:24.817576271 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-04-11 14:02:16.474188989 +0200
@@ -1,0 +2,40 @@
+Mon Apr  9 14:40:39 UTC 2018 - tmunta...@suse.com
+
+- Only enable free modules in migrations for SLE 15
+  https://github.com/SUSE/rmt/pull/132 
+
+---
+Mon Apr  9 09:58:02 UTC 2018 - ikapelyuk...@suse.com
+
+- version 0.0.5
+- Allow access to the API only via HTTPS, add directories to store SSL
+  keys & certificates, add clientSetup4RMT.sh script
+  https://github.com/SUSE/rmt/pull/122
+
+---
+Fri Apr  6 13:45:21 UTC 2018 - hschm...@suse.com
+
+- Add the offline migration endpoint for upgrading major SLES versions.
+  https://github.com/SUSE/rmt/pull/121
+- Use the recommended systemd service type ("simple" instead of
+  "forking").
+  https://github.com/SUSE/rmt/pull/129
+- Don't create a local licenses directory if the repo has no licenses.
+  Closes bsc#1087707.
+  https://github.com/SUSE/rmt/pull/126
+- Don't allow duplicate activations to exist in the DB.
+  https://github.com/SUSE/rmt/pull/119
+
+---
+Fri Mar 23 10:51:14 UTC 2018 - hschm...@suse.com
+
+- Version 0.0.4
+- Fix nginx config to point to correct root location
+  See: https://github.com/SUSE/rmt/issues/113
+- Add message to help output about collecting feedback from users
+- Only allow one activation to exist for a given system-service
+  combination.
+- Update loofah and rails-html-sanitizer gems due to CVEs.
+- Add proper foreign key constraints where applicable.
+
+---

Old:

  rmt-server-0.0.3.tar.bz2
  rmt-server.conf

New:

  nginx-http.conf
  nginx-https.conf
  rmt-server-0.0.5.tar.bz2



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.eOOeYo/_old  2018-04-11 14:02:18.59811 +0200
+++ /var/tmp/diff_new_pack.eOOeYo/_new  2018-04-11 14:02:18.602112078 +0200
@@ -27,20 +27,20 @@
 %define rmt_group   nginx
 
 Name:   rmt-server
-Version:0.0.3
+Version:0.0.5
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Productivity/Networking/Web/Proxy
 Url:https://software.opensuse.org/package/rmt
-# Does not build for i586 and s390 and is not supported on that architectures
+# Does not build for i586 and s390 and is not supported on those architectures
 ExcludeArch:%ix86 s390
 
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf
 Source3:rmt.8.gz
-Source4:rmt-server.conf
+Source4:nginx-http.conf
 Source5:rmt-server-mirror.service
 Source6:rmt-server-mirror.timer
 Source7:rmt-server-sync.service
@@ -50,6 +50,7 @@
 Source11:   rmt-migration.service
 Source12:   rmt-server-sync-sles12.timer
 Source13:   rmt-server-mirror-sles12.timer
+Source14:   nginx-https.conf
 
 Patch0: use-ruby-2.5-in-rmt-cli.patch
 Patch1: use-ruby-2.5-in-rails.patch
@@ -103,15 +104,15 @@
 mkdir -p %{buildroot}%{lib_dir}
 mkdir -p %{buildroot}%{app_dir}
 
-mv log %{buildroot}%{data_dir}
 mv tmp %{buildroot}%{data_dir}
-mv public %{buildroot}%{data_dir}
+mkdir %{buildroot}%{data_dir}/public
+mv public/repo %{buildroot}%{data_dir}/public/
 mv vendor %{buildroot}%{lib_dir}
+mv ssl %{buildroot}%{app_dir}
 
 cp -ar . %{buildroot}%{app_dir}
-ln -s %{data_dir}/log %{buildroot}%{app_dir}/log
 ln -s %{data_dir}/tmp %{buildroot}%{app_dir}/tmp
-ln -s %{data_dir}/public %{buildroot}%{app_dir}/public
+ln -s %{data_dir}/public/repo %{buildroot}%{app_dir}/public/repo
 mkdir -p %{buildroot}%{_bindir}
 ln -s %{app_dir}/bin/rmt-cli %{buildroot}%{_bindir}
 install -D -m 644 %_sourcedir/rmt.8.gz %{buildroot}%_mandir/man8/rmt.8.gz
@@ -142,7 +143,8 @@
 mv %{_builddir}/rmt.conf %{buildroot}%{_sysconfdir}/rmt.conf
 
 # nginx
-install -D -m 644 %{SOURCE4} 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server.conf
+install -D -m 644 %{SOURCE4} 
%{buildroot}%{_sysconfdir}/nginx/vhosts.d/rmt-server-http.conf
+install -D -m 644 

commit rmt-server for openSUSE:Factory

2018-03-02 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-03-02 21:11:19

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Fri Mar  2 21:11:19 2018 rev:6 rq:581716 version:0.0.3

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-02-20 
17:58:19.47962 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-03-02 21:11:24.817576271 +0100
@@ -1,0 +2,5 @@
+Thu Feb 22 13:37:01 UTC 2018 - tschm...@suse.com
+
+- Do not build for s390 (bsc#1082150) 
+
+---



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.keQqnL/_old  2018-03-02 21:11:27.037496442 +0100
+++ /var/tmp/diff_new_pack.keQqnL/_new  2018-03-02 21:11:27.037496442 +0100
@@ -33,8 +33,8 @@
 License:GPL-2.0+
 Group:  Productivity/Networking/Web/Proxy
 Url:https://software.opensuse.org/package/rmt
-# Does not build for i586 and is not supported on that arch
-ExcludeArch:%ix86
+# Does not build for i586 and s390 and is not supported on that architectures
+ExcludeArch:%ix86 s390
 
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc





commit rmt-server for openSUSE:Factory

2018-02-20 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-02-20 17:56:40

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Tue Feb 20 17:56:40 2018 rev:5 rq:578277 version:0.0.3

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2018-02-14 
10:51:22.110231256 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-02-20 17:58:19.47962 +0100
@@ -1,0 +2,17 @@
+Fri Feb 16 11:20:33 UTC 2018 - tmunta...@suse.com
+
+- Use correct service for systemd timers
+
+---
+Fri Feb 16 09:44:26 UTC 2018 - tschm...@suse.com
+
+- RMT on SLE12 also uses ruby 2.5
+  - Removed use-ruby-2.4-in-rails.patch and use-ruby-2.4-in-rmt-cli.patch as
+they are no longer needed.
+
+---
+Wed Feb 14 18:19:19 UTC 2018 - tmunta...@suse.com
+
+- Fixed systemd timers for SLES 12 and Leap
+
+---

Old:

  use-ruby-2.4-in-rails.patch
  use-ruby-2.4-in-rmt-cli.patch

New:

  rmt-server-mirror-sles12.timer
  rmt-server-sync-sles12.timer



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.AUyNas/_old  2018-02-20 17:58:20.847395208 +0100
+++ /var/tmp/diff_new_pack.AUyNas/_new  2018-02-20 17:58:20.855394920 +0100
@@ -16,8 +16,8 @@
 #
 
 
-%if (0%{?suse_version} > 0 && 0%{?suse_version} <= 1320) || (0%{?sle_version} 
> 0 && 0%{?sle_version} <= 120300)
-%define use_ruby_2_4 1
+%if 0%{?suse_version} == 1315
+%define is_sle_12_family 1
 %endif
 
 %define app_dir /usr/share/rmt/
@@ -48,39 +48,28 @@
 Source9:rmt.service
 Source10:   rmt.target
 Source11:   rmt-migration.service
+Source12:   rmt-server-sync-sles12.timer
+Source13:   rmt-server-mirror-sles12.timer
 
-Patch0: use-ruby-2.4-in-rmt-cli.patch
-Patch1: use-ruby-2.4-in-rails.patch
-Patch2: use-ruby-2.5-in-rmt-cli.patch
-Patch3: use-ruby-2.5-in-rails.patch
+Patch0: use-ruby-2.5-in-rmt-cli.patch
+Patch1: use-ruby-2.5-in-rails.patch
 
+BuildRequires:  fdupes
 BuildRequires:  gcc
 BuildRequires:  libcurl-devel
 BuildRequires:  libffi-devel
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
-BuildRequires:  systemd
-%if 0%{?use_ruby_2_4}
-BuildRequires:  ruby2.4
-BuildRequires:  ruby2.4-devel
-BuildRequires:  ruby2.4-rubygem-bundler
-%else
 BuildRequires:  ruby2.5
 BuildRequires:  ruby2.5-devel
 BuildRequires:  ruby2.5-rubygem-bundler
-%endif
-BuildRequires:  fdupes
+BuildRequires:  systemd
 
 Requires:   mariadb
 Requires:   nginx
-%if 0%{?use_ruby_2_4}
-Requires(post): ruby2.4
-Requires(post): ruby2.4-rubygem-bundler
-%else
 Requires(post): ruby2.5
 Requires(post): ruby2.5-rubygem-bundler
-%endif
 Requires(post): timezone
 Requires(post): util-linux
 Requires(post): shadow
@@ -103,20 +92,11 @@
 
 %setup -q
 
-%if 0%{?use_ruby_2_4}
 %patch0 -p1
 %patch1 -p1
-%else
-%patch2 -p1
-%patch3 -p1
-%endif
 
 %build
-%if 0%{?use_ruby_2_4}
-bundle.ruby2.4 install %{?jobs:--jobs %jobs} --without test development 
--deployment --standalone
-%else
 bundle.ruby2.5 install %{?jobs:--jobs %jobs} --without test development 
--deployment --standalone
-%endif
 
 %install
 mkdir -p %{buildroot}%{data_dir}
@@ -138,10 +118,17 @@
 
 # systemd
 mkdir -p %{buildroot}%{_unitdir}
-install -m 444 %{SOURCE5} %{buildroot}%{_unitdir}
+
+%if 0%{?is_sle_12_family}
+install -m 444 %{SOURCE12} %{buildroot}%{_unitdir}/rmt-server-sync.timer
+install -m 444 %{SOURCE13} %{buildroot}%{_unitdir}/rmt-server-mirror.timer
+%else
 install -m 444 %{SOURCE6} %{buildroot}%{_unitdir}
-install -m 444 %{SOURCE7} %{buildroot}%{_unitdir}
 install -m 444 %{SOURCE8} %{buildroot}%{_unitdir}
+%endif
+
+install -m 444 %{SOURCE5} %{buildroot}%{_unitdir}
+install -m 444 %{SOURCE7} %{buildroot}%{_unitdir}
 install -m 444 %{SOURCE9} %{buildroot}%{_unitdir}
 install -m 444 %{SOURCE10} %{buildroot}%{_unitdir}
 install -m 444 %{SOURCE11} %{buildroot}%{_unitdir}
@@ -162,16 +149,9 @@
 %{buildroot}%{app_dir}/.bundle/config
 
 # cleanup of /usr/bin/env commands
-%if 0%{?use_ruby_2_4}
-grep -rl '\/usr\/bin\/env ruby' %{buildroot}%{lib_dir}/vendor/bundle/ruby | 
xargs \
-sed -i -e's@\/usr\/bin\/env ruby.ruby2\.4@\/usr\/bin\/ruby\.ruby2\.4@g' \
--e 's@\/usr\/bin\/env ruby@\/usr\/bin\/ruby\.ruby2\.4@g'
-%else
 grep -rl '\/usr\/bin\/env ruby' %{buildroot}%{lib_dir}/vendor/bundle/ruby | 
xargs \
 sed -i -e 's@\/usr\/bin\/env ruby.ruby2\.5@\/usr\/bin\/ruby\.ruby2\.5@g' \
  

commit rmt-server for openSUSE:Factory

2018-02-14 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2018-02-14 10:51:17

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Wed Feb 14 10:51:17 2018 rev:4 rq:576054 version:0.0.3

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2017-12-19 
10:58:37.916931923 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2018-02-14 10:51:22.110231256 +0100
@@ -1,0 +2,14 @@
+Mon Feb 12 13:28:36 UTC 2018 - tmunta...@suse.com
+
+- version 0.0.3
+- Added nginx integration
+- Added systemd timers for rmt-server-sync and rmt-server-mirror
+- Added custom repository integration
+
+---
+Wed Jan 24 12:03:41 UTC 2018 - ikapelyuk...@suse.com
+
+- version 0.0.2
+- Use cached metadata when possible (bsc#109)
+
+---

Old:

  rmt-server-0.0.1.tar.bz2

New:

  rmt-migration.service
  rmt-server-0.0.3.tar.bz2
  rmt-server-mirror.service
  rmt-server-mirror.timer
  rmt-server-sync.service
  rmt-server-sync.timer
  rmt-server.conf
  rmt.service
  rmt.target



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.VYbVNL/_old  2018-02-14 10:51:22.978200018 +0100
+++ /var/tmp/diff_new_pack.VYbVNL/_new  2018-02-14 10:51:22.978200018 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package rmt-server
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -27,19 +27,27 @@
 %define rmt_group   nginx
 
 Name:   rmt-server
-Version:0.0.1
+Version:0.0.3
 Release:0
 Summary:Repository mirroring tool and registration proxy for SCC
 License:GPL-2.0+
 Group:  Productivity/Networking/Web/Proxy
 Url:https://software.opensuse.org/package/rmt
-# Does not build for i586 and is not supported on tha arch
+# Does not build for i586 and is not supported on that arch
 ExcludeArch:%ix86
 
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc
 Source2:rmt.conf
 Source3:rmt.8.gz
+Source4:rmt-server.conf
+Source5:rmt-server-mirror.service
+Source6:rmt-server-mirror.timer
+Source7:rmt-server-sync.service
+Source8:rmt-server-sync.timer
+Source9:rmt.service
+Source10:   rmt.target
+Source11:   rmt-migration.service
 
 Patch0: use-ruby-2.4-in-rmt-cli.patch
 Patch1: use-ruby-2.4-in-rails.patch
@@ -52,6 +60,7 @@
 BuildRequires:  libmysqlclient-devel
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
+BuildRequires:  systemd
 %if 0%{?use_ruby_2_4}
 BuildRequires:  ruby2.4
 BuildRequires:  ruby2.4-devel
@@ -59,16 +68,18 @@
 %else
 BuildRequires:  ruby2.5
 BuildRequires:  ruby2.5-devel
-BuildRequires:  ruby2.5-stdlib
+BuildRequires:  ruby2.5-rubygem-bundler
 %endif
 BuildRequires:  fdupes
 
 Requires:   mariadb
+Requires:   nginx
 %if 0%{?use_ruby_2_4}
 Requires(post): ruby2.4
 Requires(post): ruby2.4-rubygem-bundler
 %else
 Requires(post): ruby2.5
+Requires(post): ruby2.5-rubygem-bundler
 %endif
 Requires(post): timezone
 Requires(post): util-linux
@@ -104,7 +115,7 @@
 %if 0%{?use_ruby_2_4}
 bundle.ruby2.4 install %{?jobs:--jobs %jobs} --without test development 
--deployment --standalone
 %else
-bundle.ruby.ruby2.5 install %{?jobs:--jobs %jobs} --without test development 
--deployment --standalone
+bundle.ruby2.5 install %{?jobs:--jobs %jobs} --without test development 
--deployment --standalone
 %endif
 
 %install
@@ -127,22 +138,44 @@
 
 # systemd
 mkdir -p %{buildroot}%{_unitdir}
-install -m 444 service/rmt.target %{buildroot}%{_unitdir}
-install -m 444 service/rmt.service %{buildroot}%{_unitdir}
-install -m 444 service/rmt-migration.service %{buildroot}%{_unitdir}
+install -m 444 %{SOURCE5} %{buildroot}%{_unitdir}
+install -m 444 %{SOURCE6} %{buildroot}%{_unitdir}
+install -m 444 %{SOURCE7} %{buildroot}%{_unitdir}
+install -m 444 %{SOURCE8} %{buildroot}%{_unitdir}
+install -m 444 %{SOURCE9} %{buildroot}%{_unitdir}
+install -m 444 %{SOURCE10} %{buildroot}%{_unitdir}
+install -m 444 %{SOURCE11} %{buildroot}%{_unitdir}
 mkdir -p %{buildroot}%{_sbindir}
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt
 ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-migration
+ln -fs %{_sbindir}/service %{buildroot}%{_sbindir}/rcrmt-server-mirror
+ln -fs 

commit rmt-server for openSUSE:Factory

2017-12-19 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2017-12-19 10:58:36

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Tue Dec 19 10:58:36 2017 rev:3 rq:558062 version:0.0.1

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2017-12-11 
18:58:01.646205003 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2017-12-19 10:58:37.916931923 +0100
@@ -1,0 +2,5 @@
+Sat Dec 16 08:36:05 UTC 2017 - bwiedem...@suse.com
+
+- Dont package build logs to make build reproducible
+
+---



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.My5itB/_old  2017-12-19 10:58:39.092875155 +0100
+++ /var/tmp/diff_new_pack.My5itB/_new  2017-12-19 10:58:39.096874963 +0100
@@ -137,7 +137,9 @@
 mkdir -p %{buildroot}%{_sysconfdir}
 mv %{_builddir}/rmt.conf %{buildroot}%{_sysconfdir}/rmt.conf
 
-sed -i '/BUNDLE_PATH: .*/cBUNDLE_PATH: "\/usr\/lib64\/rmt\/vendor\/bundle\/"' 
%{buildroot}%{app_dir}/.bundle/config
+sed -i -e '/BUNDLE_PATH: .*/cBUNDLE_PATH: 
"\/usr\/lib64\/rmt\/vendor\/bundle\/"' \
+-e 's/^BUNDLE_JOBS: .*/BUNDLE_JOBS: "1"/' \
+%{buildroot}%{app_dir}/.bundle/config
 
 # cleanup unneeded files
 rm -r %{buildroot}%{app_dir}/service
@@ -154,7 +156,9 @@
 rm -rf %{buildroot}%{lib_dir}/vendor/bundle/ruby/*/gems/*/ext
 rm -rf %{buildroot}%{lib_dir}/vendor/bundle/ruby/*/gems/*/bin
 rm -rf %{buildroot}%{lib_dir}/vendor/bundle/ruby/*/gems/*/spec
-rm -rf %{buildroot}%{lib_dir}/vendor/bundle/ruby/*/gems/*/.gitignore
+rm -f %{buildroot}%{lib_dir}/vendor/bundle/ruby/*/gems/*/.gitignore
+rm -f %{buildroot}%{lib_dir}/vendor/bundle/ruby/*/extensions/*/*/*/gem_make.out
+rm -f %{buildroot}%{lib_dir}/vendor/bundle/ruby/*/extensions/*/*/*/mkmf.log
 
 %fdupes %{buildroot}/%{lib_dir}
 





commit rmt-server for openSUSE:Factory

2017-12-11 Thread root
Hello community,

here is the log from the commit of package rmt-server for openSUSE:Factory 
checked in at 2017-12-11 18:57:54

Comparing /work/SRC/openSUSE:Factory/rmt-server (Old)
 and  /work/SRC/openSUSE:Factory/.rmt-server.new (New)


Package is "rmt-server"

Mon Dec 11 18:57:54 2017 rev:2 rq:556006 version:0.0.1

Changes:

--- /work/SRC/openSUSE:Factory/rmt-server/rmt-server.changes2017-12-06 
08:56:17.902016312 +0100
+++ /work/SRC/openSUSE:Factory/.rmt-server.new/rmt-server.changes   
2017-12-11 18:58:01.646205003 +0100
@@ -1,0 +2,6 @@
+Wed Dec  6 10:31:02 UTC 2017 - dims...@opensuse.org
+
+- Exclude Build for i586: does not build and is not supported on
+  32bit intel archs.
+
+---



Other differences:
--
++ rmt-server.spec ++
--- /var/tmp/diff_new_pack.sq7Htu/_old  2017-12-11 18:58:02.402168996 +0100
+++ /var/tmp/diff_new_pack.sq7Htu/_new  2017-12-11 18:58:02.402168996 +0100
@@ -33,6 +33,8 @@
 License:GPL-2.0+
 Group:  Productivity/Networking/Web/Proxy
 Url:https://software.opensuse.org/package/rmt
+# Does not build for i586 and is not supported on tha arch
+ExcludeArch:%ix86
 
 Source0:%{name}-%{version}.tar.bz2
 Source1:rmt-server-rpmlintrc