gentoo/dev-vcs/git-cliff/files/git-cliff-2.9.1-disable_repo_tests.patch
Armas Spann 6b068ac841
dev-vcs/git-cliff: new package, add 2.9.1
dev-vcs/git-cliff: new package, add 2.9.1
This PR aims to get `git-cliff` inside the official Gentoo portage-tree.

`git-cliff` is a Git extension for automated changelog creation.

As such a helper might be a benefit for staying close to conventional-commits
as well as keeping an organized Git structure. This extension might help or
support one or another to get rid of annoying changelog issues.

This PR adds the following ***ebuild***:
* `git-cliff-2.9.1.ebuild`: latest "tagged" version

And the following ***patches***:
* `git-cliff-2.9.1-disable_repo_tests.patch`:
  disables git-repository related tests (not available inside sandbox)
* `git-cliff-2.9.1-silence_run_os_command_test.patch`:
  disables failing OS-command test (not available inside sandbox)

Adding myself as the maintainer of this ebuild.

Signed-off-by: Armas Spann <zappel@simple-co.de>
Part-of: https://github.com/gentoo/gentoo/pull/42924
Closes: https://github.com/gentoo/gentoo/pull/42924
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2025-07-08 00:33:24 +02:00

67 lines
1.2 KiB
Diff

--- a/git-cliff-core/src/repo.rs
+++ b/git-cliff-core/src/repo.rs
@@ -584,6 +584,7 @@
Ok(())
}
+ #[ignore]
#[test]
fn get_latest_commit() -> Result<()> {
let repository = get_repository()?;
@@ -594,6 +595,7 @@
Ok(())
}
+ #[ignore]
#[test]
fn commit_search() -> Result<()> {
let repository = get_repository()?;
@@ -603,6 +605,7 @@
Ok(())
}
+ #[ignore]
#[test]
fn get_latest_tag() -> Result<()> {
let repository = get_repository()?;
@@ -615,6 +618,7 @@
Ok(())
}
+ #[ignore]
#[test]
fn git_tags() -> Result<()> {
let repository = get_repository()?;
@@ -656,6 +660,7 @@
Ok(())
}
+ #[ignore]
#[test]
fn git_upstream_remote() -> Result<()> {
let repository = get_repository()?;
@@ -673,6 +678,7 @@
Ok(())
}
+ #[ignore]
#[test]
fn resolves_existing_tag_with_name_and_message() -> Result<()> {
let repository = get_repository()?;
@@ -690,6 +696,7 @@
Ok(())
}
+ #[ignore]
#[test]
fn resolves_tag_when_no_tags_exist() -> Result<()> {
let repository = get_repository()?;
@@ -699,6 +706,7 @@
Ok(())
}
+ #[ignore]
#[test]
fn includes_root_commit() -> Result<()> {
let repository = get_repository()?;