Accepting request 1125837 from Base:System

- Update to version 1.0.7:
  * v1.0.7
  * [thin_generate_metadata] Fix command line parsing
  * [tests] Introduce era_generate_metadata
  * [era] Factor out MetadataGenerator
  * [era_invalidate] Fix missing value_parser for the --written-since option
  * [tests] Support additional program-specific arguments in IO tests
  * [examples] Add a custom emitter examples
  * Remove unnecesary type casting
  * [file_utils] Verify ioctl request code in tests
  * [file_utils] Fix the ioctl request code for the powerpc architecture
  * bump version to 1.0.6
  * [build] Update dependencies
  * [thin_delta] Remove redundant code
  * [thin_delta] Fix range mappings construction
  * [thin_delta] Fix command line parsing
  * [pack/unpack] Fix clippy lints
  * Bump version to v1.05
  * Add some test cases to delta_list
  * [pack/unpack]  Fix some wrapping issues
  * [tests] Ensure the scope of thin_check --super-block-only
  * [tests] Test repairing thin metadata with stale superblock
  * [thin_generate_damage] Support overriding superblock fields
  * [tests] Validate more fields in repaired thin superblock
  * [thin_explore] Fix visiting empty leaves
  * [xml] Improve xml value parsing and error handling
  * [all] Update error messages for xml parsers
  * [build] Update quick-xml to v0.29
  * [build] Update clap to v4.3
  * [build] Update dependencies

OBS-URL: https://build.opensuse.org/request/show/1125837
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/thin-provisioning-tools?expand=0&rev=22
This commit is contained in:
Ana Guerrero 2023-11-15 20:06:37 +00:00 committed by Git OBS Bridge
commit 2f900cc679
9 changed files with 120 additions and 72 deletions

25
_service Normal file
View File

@ -0,0 +1,25 @@
<services>
<service mode="manual" name="obs_scm">
<param name="url">https://github.com/jthornber/thin-provisioning-tools.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="changesgenerate">enable</param>
<param name="revision">refs/tags/v1.0.7</param>
</service>
<service mode="manual" name="tar" />
<service mode="manual" name="recompress">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service mode="manual" name="set_version"/>
<service name="cargo_vendor" mode="manual">
<param name="srcdir">thin-provisioning-tools</param>
<param name="compression">zst</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">thin-provisioning-tools</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/jthornber/thin-provisioning-tools.git</param>
<param name="changesrevision">76a8174c9a16647837977344598ad1beabb1a1a9</param></service></servicedata>

10
cargo_config Normal file
View File

@ -0,0 +1,10 @@
[source.crates-io]
replace-with = "vendored-sources"
[source."git+https://github.com/jthornber/rio?branch=master"]
git = "https://github.com/jthornber/rio"
branch = "master"
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

BIN
thin-provisioning-tools-0.9.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8adaf00d1b31d16cecffe86c58cd43db4b172feac5a11a3348a5a12260a22e4f
size 340819

View File

@ -1,3 +1,62 @@
-------------------------------------------------------------------
Tue Nov 14 09:09:28 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.0.7:
* v1.0.7
* [thin_generate_metadata] Fix command line parsing
* [tests] Introduce era_generate_metadata
* [era] Factor out MetadataGenerator
* [era_invalidate] Fix missing value_parser for the --written-since option
* [tests] Support additional program-specific arguments in IO tests
* [examples] Add a custom emitter examples
* Remove unnecesary type casting
* [file_utils] Verify ioctl request code in tests
* [file_utils] Fix the ioctl request code for the powerpc architecture
* bump version to 1.0.6
* [build] Update dependencies
* [thin_delta] Remove redundant code
* [thin_delta] Fix range mappings construction
* [thin_delta] Fix command line parsing
* [pack/unpack] Fix clippy lints
* Bump version to v1.05
* Add some test cases to delta_list
* [pack/unpack] Fix some wrapping issues
* [tests] Ensure the scope of thin_check --super-block-only
* [tests] Test repairing thin metadata with stale superblock
* [thin_generate_damage] Support overriding superblock fields
* [tests] Validate more fields in repaired thin superblock
* [thin_explore] Fix visiting empty leaves
* [xml] Improve xml value parsing and error handling
* [all] Update error messages for xml parsers
* [build] Update quick-xml to v0.29
* [build] Update clap to v4.3
* [build] Update dependencies
* [thin_rmap] Check the input ranges
* [thin_dump/repair] Fix the ordering of found empty roots
* [report] Fix stderr redirection
* [thin_dump/repair] Ensure the tools never fail with repairable metadata
* [build] allow overriding PDATA_TOOLS in Makefile
* [build] fix build on musl
* [thin_stat] Display column headers and further statistics
* [thin_stat] Display data run length statistics for measuring data locality
* [thin_explore] Fix unit conversion for data block size
* [thin_explore] Display space maps usage and roots
* [thin_stat] Fix opening read-only files
* [thin_dump] Fix a regression that cannot keep shared defs with only one predecessor
* [commands] Print out error root cause if available
-------------------------------------------------------------------
Fri Jun 9 12:18:33 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.0.4:
* Bump version to 1.0.4
* [build] Update dependencies
* [all] Fix clippy lints for Rust 1.69.0
* [build] Drop the nix crate
* [file_utils] Fix the BLKGETSIZE64 ioctl for 32-bit platoforms
* [file_utils] Use stat64 explicitly to handle large files on 32-bit systems
* [write_batcher] Fix compilation error on 32-bit platforms
-------------------------------------------------------------------
Wed Jun 9 13:29:05 UTC 2021 - Wolfgang Frisch <wolfgang.frisch@suse.com>

View File

@ -0,0 +1,4 @@
name: thin-provisioning-tools
version: 1.0.7
mtime: 1698938434
commit: 76a8174c9a16647837977344598ad1beabb1a1a9

View File

@ -1,7 +1,7 @@
#
# spec file for package thin-provisioning-tools
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,22 +17,15 @@
Name: thin-provisioning-tools
Version: 0.9.0
Version: 1.0.7
Release: 0
Summary: Thin Provisioning Tools
License: GPL-3.0-only
Group: System/Base
URL: https://github.com/jthornber/thin-provisioning-tools/
Source0: https://github.com/jthornber/thin-provisioning-tools/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libaio-devel
BuildRequires: libboost_headers-devel
BuildRequires: libboost_iostreams-devel
BuildRequires: libexpat-devel
BuildRequires: libtool
BuildRequires: ncurses-devel
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source2: cargo_config
BuildRequires: cargo-packaging
BuildRequires: suse-module-tools
Requires(post): coreutils
Requires(postun):coreutils
@ -42,23 +35,14 @@ Conflicts: device-mapper < 1.02.115
A suite of tools for thin provisioning on Linux.
%prep
%autosetup
%autosetup -a1
install -D -m 644 %{SOURCE2} .cargo/config
%build
export CXXFLAGS="${CXXFLAGS} -fPIC"
export LDFLAGS="-pie"
autoreconf -fiv
%configure \
--bindir=%{_sbindir} \
--enable-testing \
--enable-dev-tools \
--with-optimisation="%{optflags}" \
# In generated Makefile V=@ is used, in order to achieve verbose build ve
# must override it as V=""
make %{?_smp_mflags} V=""
%{cargo_build}
%install
%make_install STRIP="/bin/true"
%{cargo_install}
%post
%{?regenerate_initrd_post}
@ -70,49 +54,8 @@ make %{?_smp_mflags} V=""
%{?regenerate_initrd_posttrans}
%files
%doc README.md
%license COPYING
%{_sbindir}/cache_check
%{_sbindir}/cache_dump
%{_sbindir}/cache_metadata_size
%{_sbindir}/cache_repair
%{_sbindir}/cache_restore
%{_sbindir}/cache_writeback
%{_sbindir}/era_check
%{_sbindir}/era_dump
%{_sbindir}/era_invalidate
%{_sbindir}/era_restore
%{_sbindir}/pdata_tools
%{_sbindir}/thin_check
%{_sbindir}/thin_delta
%{_sbindir}/thin_dump
%{_sbindir}/thin_generate_metadata
%{_sbindir}/thin_ll_dump
%{_sbindir}/thin_ls
%{_sbindir}/thin_metadata_size
%{_sbindir}/thin_repair
%{_sbindir}/thin_restore
%{_sbindir}/thin_rmap
%{_sbindir}/thin_scan
%{_sbindir}/thin_show_duplicates
%{_sbindir}/thin_trim
%{_mandir}/man8/cache_check.8%{?ext_man}
%{_mandir}/man8/cache_dump.8%{?ext_man}
%{_mandir}/man8/cache_metadata_size.8%{?ext_man}
%{_mandir}/man8/cache_repair.8%{?ext_man}
%{_mandir}/man8/cache_restore.8%{?ext_man}
%{_mandir}/man8/cache_writeback.8%{?ext_man}
%{_mandir}/man8/era_check.8%{?ext_man}
%{_mandir}/man8/era_dump.8%{?ext_man}
%{_mandir}/man8/era_invalidate.8%{?ext_man}
%{_mandir}/man8/era_restore.8%{?ext_man}
%{_mandir}/man8/thin_check.8%{?ext_man}
%{_mandir}/man8/thin_delta.8%{?ext_man}
%{_mandir}/man8/thin_dump.8%{?ext_man}
%{_mandir}/man8/thin_ls.8%{?ext_man}
%{_mandir}/man8/thin_metadata_size.8%{?ext_man}
%{_mandir}/man8/thin_repair.8%{?ext_man}
%{_mandir}/man8/thin_restore.8%{?ext_man}
%{_mandir}/man8/thin_rmap.8%{?ext_man}
%{_mandir}/man8/thin_trim.8%{?ext_man}
%{_bindir}/pdata_tools
%changelog

3
vendor.tar.zst Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc6b1984ae75080b119b8ad4f3288f0bef6c108dee465b94252f2acaaa01b582
size 16947942