Accepting request 1242955 from devel:languages:rust
OBS-URL: https://build.opensuse.org/request/show/1242955 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cargo-audit?expand=0&rev=24
This commit is contained in:
@@ -1,76 +0,0 @@
|
||||
From 645cfd950abf7c2fff6fc12915e7562439007b57 Mon Sep 17 00:00:00 2001
|
||||
From: William Brown <william@blackhats.net.au>
|
||||
Date: Tue, 7 Jan 2025 10:08:13 +1000
|
||||
Subject: [PATCH] Skip warnings
|
||||
|
||||
---
|
||||
admin/src/bin/rustsec-admin/main.rs | 2 +-
|
||||
admin/src/lib.rs | 2 +-
|
||||
admin/tests/acceptance.rs | 2 +-
|
||||
cargo-audit/src/bin/cargo-audit/main.rs | 2 +-
|
||||
cargo-audit/tests/acceptance.rs | 2 +-
|
||||
5 files changed, 5 insertions(+), 5 deletions(-)
|
||||
|
||||
diff --git a/admin/src/bin/rustsec-admin/main.rs b/admin/src/bin/rustsec-admin/main.rs
|
||||
index 36d5912..eda0452 100644
|
||||
--- a/admin/src/bin/rustsec-admin/main.rs
|
||||
+++ b/admin/src/bin/rustsec-admin/main.rs
|
||||
@@ -1,6 +1,6 @@
|
||||
//! Main entry point for the `rustsec-admin` CLI application
|
||||
|
||||
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
|
||||
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
use rustsec_admin::application::APPLICATION;
|
||||
diff --git a/admin/src/lib.rs b/admin/src/lib.rs
|
||||
index 6f4b8ba..564de2e 100644
|
||||
--- a/admin/src/lib.rs
|
||||
+++ b/admin/src/lib.rs
|
||||
@@ -2,7 +2,7 @@
|
||||
//!
|
||||
//! Administrative tool for the RustSec Advisory Database
|
||||
|
||||
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
|
||||
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
pub mod application;
|
||||
diff --git a/admin/tests/acceptance.rs b/admin/tests/acceptance.rs
|
||||
index f559e4c..594dda8 100644
|
||||
--- a/admin/tests/acceptance.rs
|
||||
+++ b/admin/tests/acceptance.rs
|
||||
@@ -1,4 +1,4 @@
|
||||
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
|
||||
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
use abscissa_core::testing::prelude::*;
|
||||
diff --git a/cargo-audit/src/bin/cargo-audit/main.rs b/cargo-audit/src/bin/cargo-audit/main.rs
|
||||
index 7f0c3c0..78ce4f3 100644
|
||||
--- a/cargo-audit/src/bin/cargo-audit/main.rs
|
||||
+++ b/cargo-audit/src/bin/cargo-audit/main.rs
|
||||
@@ -1,6 +1,6 @@
|
||||
//! Main entry point for `cargo audit`
|
||||
|
||||
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
|
||||
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
use cargo_audit::application::APP;
|
||||
diff --git a/cargo-audit/tests/acceptance.rs b/cargo-audit/tests/acceptance.rs
|
||||
index 96d5529..982f8f3 100644
|
||||
--- a/cargo-audit/tests/acceptance.rs
|
||||
+++ b/cargo-audit/tests/acceptance.rs
|
||||
@@ -4,7 +4,7 @@
|
||||
//! For more information, see:
|
||||
//! <https://docs.rs/abscissa_core/latest/abscissa_core/testing/index.html>
|
||||
|
||||
-#![deny(warnings, missing_docs, trivial_casts, unused_qualifications)]
|
||||
+#![deny(missing_docs, trivial_casts, unused_qualifications)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
use abscissa_core::testing::prelude::*;
|
||||
--
|
||||
2.39.5 (Apple Git-154)
|
||||
|
2
_service
2
_service
@@ -3,7 +3,7 @@
|
||||
<param name="url">https://github.com/RustSec/rustsec.git</param>
|
||||
<param name="versionformat">@PARENT_TAG@~git@TAG_OFFSET@.%h</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="revision">cargo-audit/v0.21.0</param>
|
||||
<param name="revision">cargo-audit/v0.21.1</param>
|
||||
<!-- <param name="revision">main</param> -->
|
||||
<param name="match-tag">cargo-audit/v*</param>
|
||||
<param name="versionrewrite-pattern">.*v(\d+\.\d+\.\d+)</param>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/RustSec/rustsec.git</param>
|
||||
<param name="changesrevision">78f9859ef6a78bc4a7c7219dac1d0b250446c84c</param></service></servicedata>
|
||||
<param name="changesrevision">bd6fb0fba41246ed860e0e8374d8f31aceabc8f9</param></service></servicedata>
|
@@ -1,3 +1,53 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 04 00:59:28 UTC 2025 - william.brown@suse.com
|
||||
|
||||
- Remove 0001-Skip-warnings.patch
|
||||
- Update to version 0.21.1~git0.bd6fb0f:
|
||||
* bump cargo-audit version in cargo toml, I forgot
|
||||
* Bump minor version of cargo-lock according to the msrv policy of the crate
|
||||
* Populate changelogs
|
||||
* Bump versions of crates to be published
|
||||
* Documentation tweaks
|
||||
* Move binary scanning into its own top-level module, improve documentation
|
||||
* More informative doc strings on BinaryFormat variants
|
||||
* Fix conditional compilation by always exposing binary format struct in rustsec
|
||||
* cfg-out binary format type only available with binary scanning enabled
|
||||
* Remove binary scanning from rustsec default features
|
||||
* Correctly pass through the binary-scanning feature to rustsec crate
|
||||
* Do not assert in tests that there are no vulnerabilities in our own Cargo.lock
|
||||
* lower cargo-lock MSRV to 1.73, that's all that our locked dependencies require
|
||||
* Bump cargo-lock MSRV to 1.74 following the bump in dependency versions
|
||||
* Bump other dependencies with vulns, preserving MSRV
|
||||
* Upgrade url crate to fix self-audit issue
|
||||
* cargo fmt
|
||||
* Comment out hanging test
|
||||
* allow(lint) for allow(lint), how deep does the rabbit hole go?
|
||||
* Fix typo
|
||||
* Don't fail the build if something in acceptance test code is missing documentation
|
||||
* Suppress useless warnings that break the build due to deny(warnings)
|
||||
* fix: formatting for `*.rs` files
|
||||
* style: simplify some statements for readability
|
||||
* cargo fmt
|
||||
* Fix handling of the database.fetch option
|
||||
* fix(cargo-lock): normalize everything for git-ref in dependencies
|
||||
* test(cargo-lock): show tag in dependencies is not normalized
|
||||
* test(cargo-lock): show branch in dependencies is normalized
|
||||
* test(cargo-lock): make lockfile loading inline
|
||||
* update
|
||||
* move binary-scanning to rustsec api
|
||||
* Additionnal clippy and fmt fixes
|
||||
* Make cargo-audit's binary_deps module public
|
||||
* Do not serialize schema version as 'null' if not set to fix OSV JSON schema compliance
|
||||
* Fix links to CVSS calculator
|
||||
* Wording tweak in README
|
||||
* Document recursive scanning recipe in README.md
|
||||
* Nicer link
|
||||
* Document the changes for 0.20.1
|
||||
* Populate cargo-audit v0.21 changelog
|
||||
* Commit Cargo.lock changes
|
||||
* Bump platforms to v3.5.0 following #1278
|
||||
* chore: regenerate platform support and bump to platforms@3.4.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 00:30:30 UTC 2025 - William Brown <william.brown@suse.com>
|
||||
|
||||
|
@@ -20,7 +20,7 @@
|
||||
%global workspace_name rustsec
|
||||
|
||||
Name: cargo-audit
|
||||
Version: 0.21.0~git0.78f9859
|
||||
Version: 0.21.1~git0.bd6fb0f
|
||||
Release: 0
|
||||
Summary: Audit rust sources for known security vulnerabilities
|
||||
License: ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND MIT AND MPL-2.0 AND MPL-2.0+
|
||||
@@ -28,7 +28,6 @@ Group: Development/Languages/Rust
|
||||
URL: https://github.com/RustSec/cargo-audit
|
||||
Source0: %{workspace_name}-%{version}.tar.zst
|
||||
Source1: vendor.tar.zst
|
||||
Patch0: 0001-Skip-warnings.patch
|
||||
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: pkgconfig(openssl)
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b6b63ddf92f0be13845b839ca3e2c697da9d1c05a9a1cd3869186269e67f93ab
|
||||
size 701261
|
3
rustsec-0.21.1~git0.bd6fb0f.tar.zst
Normal file
3
rustsec-0.21.1~git0.bd6fb0f.tar.zst
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e7f02bc84cb109251d2d6c02437a0ef3b6ccade3c115ae69e7de22f131061f36
|
||||
size 705329
|
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:430cb12fc7655fe88b8dc69ffcdc94563dd1fa94bce3343b2e2020c1c9a1e499
|
||||
size 31522507
|
||||
oid sha256:d6b4e9b818d448b575ebcd69ec7eb7c1799f1cf55cb1a42b9d026431ce26bca8
|
||||
size 31711691
|
||||
|
Reference in New Issue
Block a user