commit 16551773fab301f54df1dde6f2f365b69d1a2f151eb70def26d2552cfc549910 Author: Soc Virnyl Estela Date: Wed Nov 27 06:21:20 2024 +0000 - Update to version 5.1.7: * feat: add zstd as another alias for zst * prepare structure for roast-scm * minor: improve error message here * fix: added trace feature OBS-URL: https://build.opensuse.org/package/show/Archiving/roast?expand=0&rev=14 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..fde8e4f --- /dev/null +++ b/_service @@ -0,0 +1,9 @@ + + + + roast*.tar.gz + true + + + + diff --git a/roast-4.5.0.tar.gz b/roast-4.5.0.tar.gz new file mode 100644 index 0000000..1046f09 --- /dev/null +++ b/roast-4.5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:20d0d90061eea763e1dd31ac34e5dd5511d469421b2f0cb4343e1ce14467bb69 +size 25769 diff --git a/roast-5.1.2.tar.gz b/roast-5.1.2.tar.gz new file mode 100644 index 0000000..7045d2d --- /dev/null +++ b/roast-5.1.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fec94fc4e6efb1b6760865c7ebbf6269021fa85ec5db492f1738f2169461709e +size 29092 diff --git a/roast-5.1.6.tar.gz b/roast-5.1.6.tar.gz new file mode 100644 index 0000000..be14ed4 --- /dev/null +++ b/roast-5.1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a044f793b92f2b7a04dd9e0482d9abed46080cd0077f6eb5b3ad8e06c633d233 +size 31678 diff --git a/roast-5.1.7.tar.gz b/roast-5.1.7.tar.gz new file mode 100644 index 0000000..5f7d571 --- /dev/null +++ b/roast-5.1.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f46fe47acf7a8b13ca26c591a5b06189f45ee177ddcc0a7fe593879b403128a6 +size 32300 diff --git a/roast.changes b/roast.changes new file mode 100644 index 0000000..5127bba --- /dev/null +++ b/roast.changes @@ -0,0 +1,128 @@ +------------------------------------------------------------------- +Wed Nov 27 06:19:57 UTC 2024 - Soc Virnyl Estela + +- Update to version 5.1.7: + * feat: add zstd as another alias for zst + * prepare structure for roast-scm + * minor: improve error message here + * fix: added trace feature + +------------------------------------------------------------------- +Sat Nov 2 12:38:25 UTC 2024 - Soc Virnyl Estela + +- Update to version 5.1.6: + * fix: revert 8977c6741364c6d25fb33408d8b4232d835a768b + +------------------------------------------------------------------- +Sat Nov 2 12:04:11 UTC 2024 - Soc Virnyl Estela + +- Update to version 5.1.5: + * add service files. they serve as documentation + * fix mismatched types in roast-cli + * Bump zstd and infer + * clippy: rectify the needless pass by value + * chore: set resolver to 2 and enforce strict linting rules + * fix: just use an empty "" if strip fails + * add COC and CONTRIBUTING + * cleanup deps and begin cycle + * remove comment for 037aa62 + * docs: removed warning. ensured reproducibility. + +------------------------------------------------------------------- +Fri Nov 1 15:05:46 UTC 2024 - Soc Virnyl Estela + +- Update to version 5.1.2: + * minor: improvements on how we sort files and directories + * use rayon while you can + * performance: add rayon to parallelise copying operations + * docs: add important difference between ADDED and INCLUDED [ci skip] + * docs: improve wording [ci skip] + * docs: fix grammar [ci skip] + * docs: explain how the path behaviour works + * refactor: improve the logic handling for adding, excluding and including + * improve message logs + * fix: resolved some edge-cases with additional paths and included paths + * fix: reimplement adding of archive files + * doc: update README on CLI help + * feat and fix: properly implement exclude and include + * cli: finalise flags. begin cycle + * major: begin refactor cycle [ci skip] + * logging: set to trace level for filter_paths + * fix: avoid duplicating entries + * fix: do not consider temporary directory as hidden + * fix: just use ends_with to check if it's a valid file extension + * improvement: also filter_paths for each element in additional_paths + * feat: hidden file and gitignore finally correctly implemented +- New subpackage: obs-service-roast + +------------------------------------------------------------------- +Sun Oct 20 09:56:40 UTC 2024 - Soc Virnyl Estela + +- Update to version 4.5.0: + * docs: update README and include instructions regarding renaming + * minor: update tests and update paths code + * feat: add glob support + * fix: actually implement the fix for ef1e6f857e48821198d720d092bc7087af762f2a + * feat: add glob support to all + +------------------------------------------------------------------- +Sun Oct 20 06:40:16 UTC 2024 - Soc Virnyl Estela + +- Update to version 4.2.0: + * fix: filename should leave out version part alone + +------------------------------------------------------------------- +Sun Oct 20 03:16:24 UTC 2024 - Soc Virnyl Estela + +- Update to version 4.1.0: + * lib: move over copy_dir_all as a common utility + * cli: move logic as cli stubs + * tests: use copy_dir_all as part of lib now instead + * roast and raw: improve description of cli options then format + * move raw and roast modules to standalone files + * cli: add recomprizz args + * recomprizz: initial implementation + * import termcap + * fix: apply clippy lints + * tracing: set logic where and when to start properly + * apply clippy lints + format + * set output path correctly + * refactor: canonicalize filter + * refactor: canonicalize paths + * update deps + * reproducibility: set to false by default + * fix: additional paths variable should only be a collection of files and not directories + * doc: add a warning regarding reproducibility + * doc: fix warning msg + * doc: fix warning msg + * refactor: move mostly to libroast + * refactor: improve field naming and description + * refactor: remove tracing crate unused imports + * minor: raaaaaaaaaaaaawwwwwwww + * make names consistent + * remove: cliff.toml and git-cliff is an overengineered changelog generator + * prepare justfile for publishing + * change it to a text file + * cli: allow to explicitly tell "true" or "false" using ArgAction::Set and add our service file +- Add new subpackage `obs-service-recomprizz` + * This is a possible drop-in replacement for obs-service-recompress + +------------------------------------------------------------------- +Sat Oct 19 08:30:24 UTC 2024 - Soc Virnyl Estela + +- Update to version 3.3.1: + * tests: add library tests + ci tests + * test: this should be two separate files + +------------------------------------------------------------------- +Tue Oct 15 10:02:38 UTC 2024 - Soc Virnyl Estela + +- Update to version 3.3.0: + * Properly set preserve root + * Cleanup raw binary log output + * Support uncompressed tarballs with tar extension + +------------------------------------------------------------------- +Sat Oct 12 05:37:05 UTC 2024 - Soc Virnyl Estela + +- Initial spec for roast 3.2.2 diff --git a/roast.spec b/roast.spec new file mode 100644 index 0000000..4c619e4 --- /dev/null +++ b/roast.spec @@ -0,0 +1,113 @@ +# +# spec file for package roast +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + + +Name: roast +Version: 5.1.7 +Release: 0 +Summary: Simpler tar archiver and extractor +License: MPL-2.0 +URL: https://github.com/openSUSE-Rust/roast +Source0: https://github.com/openSUSE-Rust/roast/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source1: vendor.tar.zst +BuildRequires: cargo +BuildRequires: cargo-packaging +BuildRequires: pkgconfig(libzstd) + +%package -n obs-service-recomprizz +Version: %{version} +Summary: OBS Source Service for recomprizz-ion +License: MPL-2.0 + +%description -n obs-service-recomprizz +Utility to recompress to other compression formats. + +%package -n obs-service-roast +Version: %{version} +Summary: OBS Source Service for roast +License: MPL-2.0 + +%description -n obs-service-roast +Utility to roast source directories into highly compressed tape archives. + +%package -n obs-service-raw +Version: %{version} +Summary: OBS Source Service for raw +License: MPL-2.0 + +%description -n obs-service-raw +Utility to raw decompress tape archives to unarchived sources. + +%description +Roast is a simple tar archiver and extractor with very high +compression settings for supported formats such as zstd. + +It also supports recompression from an existing tarball. + +%prep +%autosetup -a1 + +%build +%{cargo_build} + +%install +mkdir -p %{buildroot}%{_prefix}/lib/obs/service +pushd roast-cli +%{cargo_install} --bins +popd +cp -v %{buildroot}%{_bindir}/roast %{buildroot}%{_prefix}/lib/obs/service/roast +install -m0644 roast.service %{buildroot}%{_prefix}/lib/obs/service +cp -v %{buildroot}%{_bindir}/recomprizz %{buildroot}%{_prefix}/lib/obs/service/recomprizz +install -m0644 recomprizz.service %{buildroot}%{_prefix}/lib/obs/service +cp -v %{buildroot}%{_bindir}/raw %{buildroot}%{_prefix}/lib/obs/service/raw +install -m0644 raw.service %{buildroot}%{_prefix}/lib/obs/service + +%check +%{cargo_test} + +%files +%{_bindir}/roast +%{_bindir}/raw +%{_bindir}/recomprizz +%license LICENCE +%doc CHANGELOG README.md + +%files -n obs-service-roast +%dir %{_prefix}/lib/obs +%dir %{_prefix}/lib/obs/service +%{_prefix}/lib/obs/service/roast +%{_prefix}/lib/obs/service/roast.service +%license LICENCE +%doc CHANGELOG README.md + +%files -n obs-service-recomprizz +%dir %{_prefix}/lib/obs +%dir %{_prefix}/lib/obs/service +%{_prefix}/lib/obs/service/recomprizz +%{_prefix}/lib/obs/service/recomprizz.service +%license LICENCE +%doc CHANGELOG README.md + +%files -n obs-service-raw +%dir %{_prefix}/lib/obs +%dir %{_prefix}/lib/obs/service +%{_prefix}/lib/obs/service/raw +%{_prefix}/lib/obs/service/raw.service +%license LICENCE +%doc CHANGELOG README.md + +%changelog diff --git a/vendor.tar.zst b/vendor.tar.zst new file mode 100644 index 0000000..3d88d0f --- /dev/null +++ b/vendor.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2886021fd1d9de7afa36234bd2014fe053926bacaa7e25193b7fd3491e6781fb +size 17940790