CyberShadow / aconfmgr

A configuration manager for Arch Linux
1.14k stars 41 forks source link

Use the read-only mirror to download AUR packages #155

Closed Aetf closed 2 years ago

Aetf commented 2 years ago

The mirror is hosted by GitHub, is generally faster, and doesn't require authentication.

This makes it easier to run aconfmgr while bootstrapping a system, with no SSH keys configured yet.

See https://wiki.archlinux.org/title/Arch_User_Repository#Acquire_build_files

CyberShadow commented 2 years ago

So, um...

Aetf commented 2 years ago

Sorry I went too fast and should have been more careful.

I only checked wiki and thought the mirror is not experimental because there's no mentioning of that -- probably I should edit it to also include a warning there.

I don't understand what this has anything to do at all with SSH keys. We're cloning from unauthenticated HTTPS.

I did get access denied error while bootstrapping a new system. Now thinking about it again, I realized that it was caused by my gitconfig file which replaces all aur http to use ssh protocol. I need to rework the ordering of when to extract dotfiles.

I'm closing this since there's no real need to switch anymore. Sorry again for the noise!