Skip to content

Commit b1beecb

Browse files
committed
feat(void): switch package repositories to R2
(cherry picked from commit 204ecd0)
1 parent ffd3840 commit b1beecb

4 files changed

Lines changed: 13 additions & 7 deletions

File tree

core/cmd/dms/commands_greeter.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1535,7 +1535,7 @@ func packageInstallHint() string {
15351535
case distros.FamilyArch:
15361536
return "Install from AUR with 'paru -S greetd-dms-greeter-git' or 'yay -S greetd-dms-greeter-git'"
15371537
case distros.FamilyVoid:
1538-
return "Install with 'sudo xbps-install -S dms-greeter' (requires DMS XBPS repo: echo 'repository=https://avengemedia.github.io/DankMaterialShell/current' | sudo tee /etc/xbps.d/dms.conf)"
1538+
return "Install with 'sudo xbps-install -S dms-greeter' (requires DMS XBPS repo: echo 'repository=https://void.danklinux.com/dms/current' | sudo tee /etc/xbps.d/dms.conf)"
15391539
default:
15401540
return "Run 'dms greeter install' to install greeter"
15411541
}

core/internal/distros/void.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
)
1414

1515
const (
16-
VoidDMSRepo = "https://avengemedia.github.io/DankMaterialShell/current"
17-
VoidDankLinuxRepo = "https://avengemedia.github.io/DankLinux/current"
16+
VoidDMSRepo = "https://void.danklinux.com/dms/current"
17+
VoidDankLinuxRepo = "https://void.danklinux.com/danklinux/current"
1818
VoidHyprlandRepo = "https://mirror.black-hole.dev/x86_64"
1919

2020
voidRunitSvDir = "/etc/sv"

core/internal/greeter/installer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ func TryInstallGreeterPackage(logFunc func(string), sudoPassword string) bool {
990990
failHint = fmt.Sprintf("⚠ dms-greeter install failed. Install from AUR: %s -S greetd-dms-greeter-git", aurHelper)
991991
installCmd = exec.CommandContext(ctx, aurHelper, "-S", "--noconfirm", "greetd-dms-greeter-git")
992992
case distros.FamilyVoid:
993-
failHint = "⚠ dms-greeter install failed. Add the DMS XBPS repo manually:\necho 'repository=https://avengemedia.github.io/DankMaterialShell/current' | sudo tee /etc/xbps.d/dms.conf\nsudo xbps-install -Sy dms-greeter"
993+
failHint = "⚠ dms-greeter install failed. Add the DMS XBPS repo manually:\necho 'repository=https://void.danklinux.com/dms/current' | sudo tee /etc/xbps.d/dms.conf\nsudo xbps-install -Sy dms-greeter"
994994
logFunc("Adding DMS XBPS repository...")
995995
if err := ensureVoidXBPSRepo(ctx, sudoPassword, "dms", distros.VoidDMSRepo); err != nil {
996996
logFunc(fmt.Sprintf("⚠ Failed to add DMS XBPS repository: %v", err))

distro/void/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,21 @@ This is a DMS maintained repo for VoidLinux until these packages are officially
1717

1818
### Using the Self-Hosted Repositories
1919

20-
We serve both stable release and development packages directly from our repository branches.
20+
We serve both stable release and development packages from Cloudflare R2 at
21+
`void.danklinux.com`.
22+
23+
> **Repository migration:** the former GitHub Pages repositories will be
24+
> frozen for 14 days at cutover. Their retirement date will be announced when
25+
> the snapshots are frozen. Replace any existing `avengemedia.github.io`
26+
> entries with the URLs below.
2127
2228
#### 1. Add Repository Configurations
2329

2430
Create configuration files in `/etc/xbps.d/` pointing to our repositories (needed for both stable and git/nightly variants):
2531

2632
```sh
27-
echo "repository=https://avengemedia.github.io/DankMaterialShell/current" | sudo tee /etc/xbps.d/dms.conf
28-
echo "repository=https://avengemedia.github.io/DankLinux/current" | sudo tee /etc/xbps.d/danklinux.conf
33+
echo "repository=https://void.danklinux.com/dms/current" | sudo tee /etc/xbps.d/dms.conf
34+
echo "repository=https://void.danklinux.com/danklinux/current" | sudo tee /etc/xbps.d/danklinux.conf
2935
```
3036

3137
#### 2. Install DMS

0 commit comments

Comments
 (0)