mirror of
https://github.com/ben-grande/qusal.git
synced 2025-08-07 05:32:21 -04:00

Contributing to Qubes OS using Debian is possible, but there are edge cases with linter versions, GUI editor versions, test packages in run-tests that are better supported on Fedora, as this is the template that Qubes OS developers most use. Fixes: https://github.com/ben-grande/qusal/issues/139 Fixes: https://github.com/ben-grande/qusal/issues/126
45 lines
962 B
Text
45 lines
962 B
Text
{#
|
|
SPDX-FileCopyrightText: 2023 - 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
#}
|
|
|
|
{% if grains['nodename'] != 'dom0' -%}
|
|
|
|
include:
|
|
- dev.install-common
|
|
- dev.install-python
|
|
|
|
"{{ slsdotpath }}-installed-qusal":
|
|
pkg.installed:
|
|
- require:
|
|
- sls: utils.tools.common.update
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- setopt: "install_weak_deps=False"
|
|
- pkgs:
|
|
- yamllint
|
|
- codespell
|
|
- pre-commit
|
|
- reuse
|
|
|
|
## Debian doesn't have: salt-lint
|
|
{% set pkg = {
|
|
'Debian': {
|
|
'pkg': [],
|
|
},
|
|
'RedHat': {
|
|
'pkg': ['salt-lint'],
|
|
},
|
|
}.get(grains.os_family) -%}
|
|
|
|
"{{ slsdotpath }}-installed-os-specific-qusal":
|
|
pkg.installed:
|
|
- require:
|
|
- sls: utils.tools.common.update
|
|
- install_recommends: False
|
|
- skip_suggestions: True
|
|
- setopt: "install_weak_deps=False"
|
|
- pkgs: {{ pkg.pkg|sequence|yaml }}
|
|
|
|
{% endif -%}
|