Fix XBPS repository setup instructions

This commit is contained in:
xavierk
2026-09-16 09:48:06 +05:30
parent 69e08d9d3a
commit 54cd56e4ec
4 changed files with 22 additions and 4 deletions
+14
View File
@@ -79,6 +79,20 @@ def test_release_footer_verifies_the_clearsigned_checksum_asset():
assert "sha256sum -c SHA256SUMS" in footer
def test_release_footer_configures_the_xbps_url_as_a_repository():
footer = (REPO_ROOT / "packaging" / "release-footer.md").read_text(
encoding="utf-8"
)
repository = (
"repository=https://git.bongbetic.com/xavierk/Fenris-xbps/"
"raw/branch/stable/x86_64"
)
assert repository in footer
assert "sudo xbps-install -M -S fenris" in footer
assert "sudo xbps-install -S https://git.bongbetic.com" not in footer
@pytest.mark.parametrize(
("changelog", "expected_error"),
[