From 01eeb8faf9519d242eadcbef903ab260564653e6 Mon Sep 17 00:00:00 2001 From: John Wass Date: Tue, 31 Dec 2024 20:34:13 -0500 Subject: [PATCH] Release v1.5.0 (#1062) ## [v1.5.0](https://github.com/ctc-oss/fapolicy-analyzer/releases/tag/v1.5.0) - 2024-12-31 ### Added - Include the command line based fapolicy Trust DB admin tool in the CLI RPM distribution. ([#1025](https://github.com/ctc-oss/fapolicy-analyzer/pull/1025)) - Include the command line based fapolicy profile tool in the CLI RPM distribution. ([#1040](https://github.com/ctc-oss/fapolicy-analyzer/pull/1040)) - Include the command line based rule compiler tool in the CLI RPM distribution. ([#1043](https://github.com/ctc-oss/fapolicy-analyzer/pull/1043)) - Add friendly messages in case of application crash, with instructions for bug reporting and trace file. ([#1045](https://github.com/ctc-oss/fapolicy-analyzer/pull/1045)) - Added fapolicyd cache stats view with text and 2D plots, showing cache performance. ([#1048](https://github.com/ctc-oss/fapolicy-analyzer/pull/1048)) ### Fixed - Fixed trust init issue related to sha1 hashes and improved diagnostics around parsing the trust db entries. ([#1038](https://github.com/ctc-oss/fapolicy-analyzer/pull/1038)) - Fixed webkit version selection to support both Fedora and EPEL versions of webkit2. ([#1044](https://github.com/ctc-oss/fapolicy-analyzer/pull/1044)) ### Packaging - Subpackaged RPM build to support separate CLI and GUI installations. ([#1025](https://github.com/ctc-oss/fapolicy-analyzer/pull/1025)) --- .github/workflows/rpm.yml | 4 +++- CHANGELOG.md | 20 ++++++++++++++++++++ Cargo.lock | 2 +- crates/tools/Cargo.toml | 2 +- crates/tools/src/fapolicy_profiler.rs | 2 +- crates/tools/src/rule_check.rs | 2 +- crates/tools/src/trust_db_util.rs | 2 +- fapolicy-analyzer.spec | 4 ++-- news/1025.packaging.md | 1 - news/1038.fixed.md | 1 - news/1040.added.md | 1 - news/1043.added.md | 1 - news/1044.fixed.md | 1 - news/1045.added.md | 1 - news/1048.added.md | 1 - pyproject.toml | 2 +- scripts/srpm/fapolicy-analyzer.el9.spec | 4 ++-- 17 files changed, 33 insertions(+), 18 deletions(-) delete mode 100644 news/1025.packaging.md delete mode 100644 news/1038.fixed.md delete mode 100644 news/1040.added.md delete mode 100644 news/1043.added.md delete mode 100644 news/1044.fixed.md delete mode 100644 news/1045.added.md delete mode 100644 news/1048.added.md diff --git a/.github/workflows/rpm.yml b/.github/workflows/rpm.yml index 19c5f589f..a8ba859c3 100644 --- a/.github/workflows/rpm.yml +++ b/.github/workflows/rpm.yml @@ -454,9 +454,11 @@ jobs: tag_name: ${{ steps.tag_name.outputs.VERSION }} prerelease: ${{ startsWith(github.ref, 'refs/tags/v0') || contains(github.ref, 'rc') }} draft: true + # the tarball-artifacts are only published from el9 to prevent duplicates and capture vendor-rs + # el9 is also beneficial because it is always present, unlike the fc versions that are evolving files: | fapolicy-analyzer.spec /tmp/archives/source0/*.tar.gz /tmp/archives/rpm-artifacts-*/*.rpm /tmp/archives/srpm-artifacts-*/*.src.rpm - /tmp/archives/tarball-artifacts-*/*.tar.gz + /tmp/archives/tarball-artifacts-el9/*.tar.gz diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d8d2f97c..b1e914acb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,26 @@ Release notes +## [v1.5.0](https://github.com/ctc-oss/fapolicy-analyzer/releases/tag/v1.5.0) - 2024-12-31 + +### Added + +- Include the command line based fapolicy Trust DB admin tool in the CLI RPM distribution. ([#1025](https://github.com/ctc-oss/fapolicy-analyzer/pull/1025)) +- Include the command line based fapolicy profile tool in the CLI RPM distribution. ([#1040](https://github.com/ctc-oss/fapolicy-analyzer/pull/1040)) +- Include the command line based rule compiler tool in the CLI RPM distribution. ([#1043](https://github.com/ctc-oss/fapolicy-analyzer/pull/1043)) +- Add friendly messages in case of application crash, with instructions for bug reporting and trace file. ([#1045](https://github.com/ctc-oss/fapolicy-analyzer/pull/1045)) +- Added fapolicyd cache stats view with text and 2D plots, showing cache performance. ([#1048](https://github.com/ctc-oss/fapolicy-analyzer/pull/1048)) + +### Fixed + +- Fixed trust init issue related to sha1 hashes and improved diagnostics around parsing the trust db entries. ([#1038](https://github.com/ctc-oss/fapolicy-analyzer/pull/1038)) +- Fixed webkit version selection to support both Fedora and EPEL versions of webkit2. ([#1044](https://github.com/ctc-oss/fapolicy-analyzer/pull/1044)) + +### Packaging + +- Subpackaged RPM build to support separate CLI and GUI installations. ([#1025](https://github.com/ctc-oss/fapolicy-analyzer/pull/1025)) + + ## [v1.4.0](https://github.com/ctc-oss/fapolicy-analyzer/releases/tag/v1.4.0) - 2024-07-28 diff --git a/Cargo.lock b/Cargo.lock index 15ad75ce7..5e4375189 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -561,7 +561,7 @@ dependencies = [ [[package]] name = "fapolicy-tools" -version = "0.5.0" +version = "1.5.0" dependencies = [ "ariadne", "clap", diff --git a/crates/tools/Cargo.toml b/crates/tools/Cargo.toml index 84b387759..88e5a1823 100644 --- a/crates/tools/Cargo.toml +++ b/crates/tools/Cargo.toml @@ -2,7 +2,7 @@ name = "fapolicy-tools" description = "Tools to assist with the configuration and maintenance of fapolicyd" license = "GPL-3.0-or-later" -version = "0.5.0" +version = "1.5.0" edition = "2021" [[bin]] diff --git a/crates/tools/src/fapolicy_profiler.rs b/crates/tools/src/fapolicy_profiler.rs index e0c3a91df..d137de8e1 100644 --- a/crates/tools/src/fapolicy_profiler.rs +++ b/crates/tools/src/fapolicy_profiler.rs @@ -26,7 +26,7 @@ use std::process::Command; use strip_ansi_escapes::strip_str; #[derive(Parser)] -#[clap(name = "File Access Policy Profiler", version = "v0.0.0")] +#[clap(name = "File Access Policy Profiler", version = "1.5.0")] struct Opts { /// do not write events to stdout #[clap(long)] diff --git a/crates/tools/src/rule_check.rs b/crates/tools/src/rule_check.rs index 0d0baf02b..19ae29734 100644 --- a/crates/tools/src/rule_check.rs +++ b/crates/tools/src/rule_check.rs @@ -35,7 +35,7 @@ use std::io::{BufRead, BufReader}; use std::process::ExitCode; #[derive(Parser)] -#[clap(name = "Rule Checker", version = "v0.0.0")] +#[clap(name = "Rule Checker", version = "1.5.0")] struct Opts { /// path to *.rules or rules.d #[clap(default_value=fapolicyd::RULES_FILE_PATH)] diff --git a/crates/tools/src/trust_db_util.rs b/crates/tools/src/trust_db_util.rs index be4b62a04..a7291eee7 100644 --- a/crates/tools/src/trust_db_util.rs +++ b/crates/tools/src/trust_db_util.rs @@ -69,7 +69,7 @@ pub enum Error { } #[derive(Parser)] -#[clap(name = "Trust DB Utils", version = "v0.1")] +#[clap(name = "Trust DB Util", version = "1.5.0")] struct Opts { #[clap(subcommand)] cmd: Subcommand, diff --git a/fapolicy-analyzer.spec b/fapolicy-analyzer.spec index 77a846d94..45417c3b1 100644 --- a/fapolicy-analyzer.spec +++ b/fapolicy-analyzer.spec @@ -4,7 +4,7 @@ Summary: File Access Policy Analyzer Name: fapolicy-analyzer -Version: 1.4.0 +Version: 1.5.0 Release: 1%{?dist} SourceLicense: GPL-3.0-or-later @@ -186,5 +186,5 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %license LICENSE.dependencies %changelog -* Sun Jul 28 2024 John Wass 1.4.0-1 +* Tue Dec 31 2024 John Wass 1.5.0-1 - New release diff --git a/news/1025.packaging.md b/news/1025.packaging.md deleted file mode 100644 index 94f3fe164..000000000 --- a/news/1025.packaging.md +++ /dev/null @@ -1 +0,0 @@ -Subpackaged RPM build to support separate CLI and GUI installations. diff --git a/news/1038.fixed.md b/news/1038.fixed.md deleted file mode 100644 index c36a562c2..000000000 --- a/news/1038.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fixed trust init issue related to sha1 hashes and improved diagnostics around parsing the trust db entries. diff --git a/news/1040.added.md b/news/1040.added.md deleted file mode 100644 index 16e06ea70..000000000 --- a/news/1040.added.md +++ /dev/null @@ -1 +0,0 @@ -Include the command line based fapolicy profile tool in the CLI RPM distribution. diff --git a/news/1043.added.md b/news/1043.added.md deleted file mode 100644 index 263b6318b..000000000 --- a/news/1043.added.md +++ /dev/null @@ -1 +0,0 @@ -Include the command line based rule compiler tool in the CLI RPM distribution. diff --git a/news/1044.fixed.md b/news/1044.fixed.md deleted file mode 100644 index 6ca3fa29c..000000000 --- a/news/1044.fixed.md +++ /dev/null @@ -1 +0,0 @@ -Fixed webkit version selection to support both Fedora and EPEL versions of webkit2. diff --git a/news/1045.added.md b/news/1045.added.md deleted file mode 100644 index c31c10b18..000000000 --- a/news/1045.added.md +++ /dev/null @@ -1 +0,0 @@ -Add friendly messages in case of application crash, with instructions for bug reporting and trace file. diff --git a/news/1048.added.md b/news/1048.added.md deleted file mode 100644 index 6f24be205..000000000 --- a/news/1048.added.md +++ /dev/null @@ -1 +0,0 @@ -Added fapolicyd cache stats view with text and 2D plots, showing cache performance. diff --git a/pyproject.toml b/pyproject.toml index 44d726e00..156e18c1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ ignore = ["E402"] [tool.towncrier] filename = "CHANGELOG.md" -version = "1.4.0" +version = "1.5.0" start_string = "\n" title_format = "## [v{version}](https://github.com/ctc-oss/fapolicy-analyzer/releases/tag/v{version}) - {project_date}" issue_format = "[#{issue}](https://github.com/ctc-oss/fapolicy-analyzer/pull/{issue})" diff --git a/scripts/srpm/fapolicy-analyzer.el9.spec b/scripts/srpm/fapolicy-analyzer.el9.spec index 81c35ed6b..cee3e3a5f 100644 --- a/scripts/srpm/fapolicy-analyzer.el9.spec +++ b/scripts/srpm/fapolicy-analyzer.el9.spec @@ -3,7 +3,7 @@ Summary: File Access Policy Analyzer Name: fapolicy-analyzer -Version: 1.4.0 +Version: 1.5.0 Release: 1%{?dist} License: GPL-3.0-or-later URL: https://github.com/ctc-oss/fapolicy-analyzer @@ -275,5 +275,5 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %license LICENSE %changelog -* Sun Jul 28 2024 John Wass 1.4.0-1 +* Tue Dec 31 2024 John Wass 1.5.0-1 - New release