dev_scripts::sync

Module pkgsrc

source
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§

Enums§

Constants§

Functions§

  • clone_repo 🔒
    Clone a git repository into a target directory.
  • Update a local git repository to the newest state. Resets any local changes in case in each repository beforehand to prevent any conflicts.
  • 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.