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
+2 -2
View File
@@ -130,9 +130,9 @@ Users add the repository to `/etc/xbps.d/xbps.conf`:
repository=https://git.bongbetic.com/xavierk/Fenris-xbps/raw/branch/stable/x86_64 repository=https://git.bongbetic.com/xavierk/Fenris-xbps/raw/branch/stable/x86_64
``` ```
Or install directly: Or make a one-off request without writing the configuration file:
```sh ```sh
sudo xbps-install -S https://git.bongbetic.com/xavierk/Fenris-xbps/raw/branch/stable/x86_64 sudo xbps-install -R https://git.bongbetic.com/xavierk/Fenris-xbps/raw/branch/stable/x86_64 -M -S fenris
``` ```
## Publication Mechanism ## Publication Mechanism
+4 -1
View File
@@ -12,7 +12,10 @@ sudo xbps-install fenris # Void Linux
For Void Linux, configure the XBPS repository first: For Void Linux, configure the XBPS repository first:
```bash ```bash
sudo xbps-install -S https://git.bongbetic.com/xavierk/Fenris-xbps/raw/branch/stable/x86_64 sudo install -d -m 0755 /etc/xbps.d
echo 'repository=https://git.bongbetic.com/xavierk/Fenris-xbps/raw/branch/stable/x86_64' \
| sudo tee /etc/xbps.d/fenris.conf
sudo xbps-install -M -S fenris
``` ```
## Verify downloads ## Verify downloads
+2 -1
View File
@@ -201,7 +201,8 @@ echo " Branch: ${GITEA_BRANCH}"
echo " Repository URL: https://git.bongbetic.com/${GITEA_OWNER}/${GITEA_REPO}/raw/branch/${GITEA_BRANCH}/${ARCH}" echo " Repository URL: https://git.bongbetic.com/${GITEA_OWNER}/${GITEA_REPO}/raw/branch/${GITEA_BRANCH}/${ARCH}"
echo "" echo ""
echo "Client installation:" echo "Client installation:"
echo " sudo xbps-install -S https://git.bongbetic.com/${GITEA_OWNER}/${GITEA_REPO}/raw/branch/${GITEA_BRANCH}/${ARCH}" echo " echo 'repository=https://git.bongbetic.com/${GITEA_OWNER}/${GITEA_REPO}/raw/branch/${GITEA_BRANCH}/${ARCH}' | sudo tee /etc/xbps.d/fenris.conf"
echo " sudo xbps-install -M -S fenris"
echo "" echo ""
echo "Key ceremony: delete the private key after publication." echo "Key ceremony: delete the private key after publication."
echo " See docs/install/signing-key-ceremony.md" echo " See docs/install/signing-key-ceremony.md"
+14
View File
@@ -79,6 +79,20 @@ def test_release_footer_verifies_the_clearsigned_checksum_asset():
assert "sha256sum -c SHA256SUMS" in footer 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( @pytest.mark.parametrize(
("changelog", "expected_error"), ("changelog", "expected_error"),
[ [