Expand description
The pkgsrc module handles the download of package source repositories.
This requires interaction with git
and the official Arch Linux Gitlab, where all of the
package source repositories for the official packages are located.
Structs§
- PkgSrc
Downloader - This struct is the entry point for downloading package source repositories from ArchLinux’s Gitlab.
- Repo
Update 🔒Error
Enums§
Constants§
- PACKAGE_
REPO_ 🔒RENAMES - Some package repositories’ names differ from the name of the package. These are only few and need to be handled separately.
- PKGBASE_
MAINTAINER_ 🔒URL - REPO_
BASE_ 🔒URL - SSH_
HOST 🔒
Functions§
- clone_
repo 🔒 - Clone a git repository into a target directory.
- update_
repo 🔒 - Update a local git repository to the newest state. Resets any local changes in case in each repository beforehand to prevent any conflicts.
- warmup_
ssh_ session - Create a new ssh connection that doesn’t get bound to a given session. This allows that session to be reused, effectively eliminating the need to authenticate every time a git repository is cloned/pulled.