mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
f9ead06408
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 |
||
---|---|---|
.. | ||
clone.sls | ||
clone.top | ||
configure-dvm.sls | ||
configure-dvm.top | ||
configure.sls | ||
configure.top | ||
create.sls | ||
create.top | ||
home-cleanup.sls | ||
home-cleanup.top | ||
init.sls | ||
init.top | ||
install-python-tools.sls | ||
install-python-tools.top | ||
install-salt-tools.sls | ||
install-salt-tools.top | ||
install-terminal.sls | ||
install-terminal.top | ||
install.sls | ||
install.top | ||
README.md |
dev
Development environment in Qubes OS.
Table of Contents
Description
Setup a development qube named "dev". Defines the user interactive shell, installing goodies, applying dotfiles, being client of sys-pgp, sys-git and sys-ssh-agent.
Installation
- Top
sudo qubesctl top.enable dev
sudo qubesctl --targets=tpl-dev,dvm-dev,dev state.apply
sudo qubesctl top.disable dev
- State
sudo qubesctl state.apply dev.create
sudo qubesctl --skip-dom0 --targets=tpl-dev state.apply dev.install
sudo qubesctl --skip-dom0 --targets=dvm-dev state.apply dev.configure-dvm
sudo qubesctl --skip-dom0 --targets=dev state.apply dev.configure
Usage
The development qube dev
can be used for:
- code development;
- building programs;
- signing commits, tags, pushes and verifying with split-gpg;
- fetching and pushing to and from local qube repository with split-git; and
- fetching and pushing to and from remote repository with split-ssh-agent.