Hello community,

here is the log from the commit of package microos-tools for openSUSE:Factory 
checked in at 2020-02-19 12:40:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/microos-tools (Old)
 and      /work/SRC/openSUSE:Factory/.microos-tools.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "microos-tools"

Wed Feb 19 12:40:01 2020 rev:5 rq:774346 version:1.0+git20200214.c7654a7

Changes:
--------
--- /work/SRC/openSUSE:Factory/microos-tools/microos-tools.changes      
2019-09-02 13:18:42.293381440 +0200
+++ /work/SRC/openSUSE:Factory/.microos-tools.new.26092/microos-tools.changes   
2020-02-19 12:40:02.795567570 +0100
@@ -1,0 +2,7 @@
+Fri Feb 14 09:59:05 UTC 2020 - [email protected]
+
+- Update to version 1.0+git20200214.c7654a7:
+  * Remove btrfsQuota, snapper list provides now the same informations
+  * Adjust README.md
+
+-------------------------------------------------------------------

Old:
----
  microos-tools-1.0+git20190812.97ca0ee.tar.xz

New:
----
  microos-tools-1.0+git20200214.c7654a7.tar.xz

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

Other differences:
------------------
++++++ microos-tools.spec ++++++
--- /var/tmp/diff_new_pack.7h8LlN/_old  2020-02-19 12:40:03.315568571 +0100
+++ /var/tmp/diff_new_pack.7h8LlN/_new  2020-02-19 12:40:03.315568571 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package microos-tools
 #
-# Copyright (c) 2019 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
@@ -17,7 +17,7 @@
 
 
 Name:           microos-tools
-Version:        1.0+git20190812.97ca0ee
+Version:        1.0+git20200214.c7654a7
 Release:        0
 Summary:        Files and Scripts for openSUSE MicroOS
 License:        GPL-2.0-or-later
@@ -40,8 +40,6 @@
 
 %install
 cp -a {etc,usr} %{buildroot}
-mkdir -p %{buildroot}%{_sbindir}
-mkdir -p %{buildroot}%{_mandir}/man8
 
 %pre
 %service_add_pre setup-systemd-proxy-env.service
@@ -63,8 +61,6 @@
 %{_unitdir}
 %{_prefix}/lib/sysctl.d/30-corefiles.conf
 %{_libexecdir}/MicroOS-firstboot
-%{_sbindir}/btrfsQuota
 %{_sbindir}/setup-systemd-proxy-env
-%{_mandir}/man8/btrfsQuota.8%{?ext_man}
 
 %changelog

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.7h8LlN/_old  2020-02-19 12:40:03.347568633 +0100
+++ /var/tmp/diff_new_pack.7h8LlN/_new  2020-02-19 12:40:03.351568640 +0100
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">git://github.com/kubic-project/microos-tools.git</param>
-    <param 
name="changesrevision">97ca0eeaf80cd24a6f0b74176573ce33c9aae745</param>
+    <param 
name="changesrevision">c7654a79a800f6e00360cf407ce849d9d5279c6b</param>
  </service>
 </servicedata>
\ No newline at end of file

++++++ microos-tools-1.0+git20190812.97ca0ee.tar.xz -> 
microos-tools-1.0+git20200214.c7654a7.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/microos-tools-1.0+git20190812.97ca0ee/README.md 
new/microos-tools-1.0+git20200214.c7654a7/README.md
--- old/microos-tools-1.0+git20190812.97ca0ee/README.md 2019-08-12 
13:17:08.000000000 +0200
+++ new/microos-tools-1.0+git20200214.c7654a7/README.md 2020-02-14 
10:57:32.000000000 +0100
@@ -1,3 +1,2 @@
 # MicroOS Tools
-Files and scripts for the openSUSE MicroOS part of openSUSE Kubic
-and SUSE MicroOS of SUSE CaaS Platform.
+Files and scripts for openSUSE MicroOS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microos-tools-1.0+git20190812.97ca0ee/usr/sbin/btrfsQuota 
new/microos-tools-1.0+git20200214.c7654a7/usr/sbin/btrfsQuota
--- old/microos-tools-1.0+git20190812.97ca0ee/usr/sbin/btrfsQuota       
2019-08-12 13:17:08.000000000 +0200
+++ new/microos-tools-1.0+git20200214.c7654a7/usr/sbin/btrfsQuota       
1970-01-01 01:00:00.000000000 +0100
@@ -1,61 +0,0 @@
-#!/usr/bin/python3
-
-# From:
-# 
https://btrfs.wiki.kernel.org/index.php/Quota_support#.2Fusr.2Flocal.2Fbin.2FbtrfsQuota.py
-
-import argparse
-import subprocess
-
-parser = argparse.ArgumentParser(
-    description='Gives quotas from a BTRFS filesystem in a readable form'
-)
-parser.add_argument(
-    '--unit', metavar='U', type=str,
-    default='G',
-    help='SI Unit, [B]ytes, K, M, G, T, P',
-)
-parser.add_argument(
-    'mount_point', metavar='PATH', type=str,
-    default='/',
-    help='BTRFS mount point',
-)
-sys_args = parser.parse_args()
-mount_point = sys_args.mount_point
-
-multiplicator_lookup = ['B', 'K', 'M', 'G', 'T', 'P']
-
-subvolume_data = dict()
-cmd = ["btrfs",  "subvolume", "list", mount_point]
-for line in subprocess.check_output(cmd).splitlines():
-    args = str(line, encoding='utf8').split()
-    subvolume_data[int(args[1])] = args[-1]
-
-print("subvol\t\t\t\t\t\tgroup         total    unshared")
-print("-" * 79)
-cmd = ["btrfs", "qgroup", "show", "--raw", mount_point]
-for line in subprocess.check_output(cmd).splitlines():
-    args = str(line, encoding='utf8').split()
-
-    try:
-        subvolume_id = args[0].split('/')[-1]
-        subvolume_name = subvolume_data[int(subvolume_id)]
-    except:
-        subvolume_name = "(unknown)"
-
-    multiplicator = 1024 ** multiplicator_lookup.index(sys_args.unit)
-
-    try:
-        try:
-            total = "%02.2f" % (float(args[1]) / multiplicator)
-            unshared = "%02.2f" % (float(args[2]) / multiplicator)
-        except ValueError:
-            continue
-        print("%s\t%s\t%s%s %s%s" % (
-            subvolume_name.ljust(40),
-            args[0],
-            total.rjust(10), sys_args.unit,
-            unshared.rjust(10), sys_args.unit,
-        ))
-    except IndexError:
-        pass
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/microos-tools-1.0+git20190812.97ca0ee/usr/share/man/man8/btrfsQuota.8 
new/microos-tools-1.0+git20200214.c7654a7/usr/share/man/man8/btrfsQuota.8
--- old/microos-tools-1.0+git20190812.97ca0ee/usr/share/man/man8/btrfsQuota.8   
2019-08-12 13:17:08.000000000 +0200
+++ new/microos-tools-1.0+git20200214.c7654a7/usr/share/man/man8/btrfsQuota.8   
1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.47.5.
-.TH BTRFSQUOTA "1" "December 2018" "btrfsQuota" "User Commands"
-.SH NAME
-btrfsQuota \- manual page for btrfsQuota
-.SH DESCRIPTION
-usage: btrfsQuota [\-h] [\-\-unit U] PATH
-.PP
-Gives quotas from a BTRFS filesystem in a readable form
-.SS "positional arguments:"
-.TP
-PATH
-BTRFS mount point
-.SS "optional arguments:"
-.TP
-\fB\-h\fR, \fB\-\-help\fR
-show this help message and exit
-.TP
-\fB\-\-unit\fR U
-SI Unit, [B]ytes, K, M, G, T, P


Reply via email to