qusal/salt/fetcher
Ben Grande f9ead06408 fix: remove extraneous package repository updates
Updates happens multiple times, normally 2 to 3, even if we consider a
state without includes. On states with multiple includes, it could
easily get approximately 10 updates being ran. This behavior leads to
unnecessary network bandwidth being spent and more time to run the
installation state. When the connection is slow and not using the
cacher, such as torified connections on Whonix, the installation can
occurs much faster.

Adding external repositories has to be done prior to update to ensure it
is also fetched.

Fixes: https://github.com/ben-grande/qusal/issues/29
2024-03-18 17:51:36 +01:00
..
clone.sls feat: fetcher 2023-12-18 15:31:19 +00:00
clone.top feat: fetcher 2023-12-18 15:31:19 +00:00
configure-dvm.sls feat: fetcher 2023-12-18 15:31:19 +00:00
configure-dvm.top feat: fetcher 2023-12-18 15:31:19 +00:00
create.sls chore: copyright update 2024-01-29 16:49:54 +01:00
create.top feat: fetcher 2023-12-18 15:31:19 +00:00
init.top feat: fetcher 2023-12-18 15:31:19 +00:00
install.sls fix: remove extraneous package repository updates 2024-03-18 17:51:36 +01:00
install.top feat: fetcher 2023-12-18 15:31:19 +00:00
README.md doc: prefix qubesctl with sudo 2024-02-23 16:55:11 +01:00

fetcher

Fetch publicly accessible files over the internet in Qubes OS.

Table of Contents

Description

A Template for DispVMs will be created and named "dvm-fetcher", from this qube you will create others that can connect to the internet to download files. You will be able to download from many protocol as long as the installed tools accepts them.

Supported protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP, SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS, RSYNC, BitTorrent.

Installation

  • Top:
sudo qubesctl top.enable fetcher
sudo qubesctl --targets=tpl-fetcher,dvm-fetcher state.apply
sudo qubesctl top.disable fetcher
  • State:
sudo qubesctl state.apply fetcher.create
sudo qubesctl --skip-dom0 --targets=tpl-fetcher state.apply fetcher.install
sudo qubesctl --skip-dom0 --targets=dvm-fetcher state.apply fetcher.configure-dvm

Usage

You will create disposable qubes based on the Template for DispVMs dvm-fetcher to download files over the internet using popular command-line tools such as git, curl, wget, rsync, transmission-cli as well as a graphical interface for torrenting transmission-qt.

You can use disposables based from dvm-fetcher to clone repositories, download PGP signatures, Operating System ISOs etc.