mirror of
https://github.com/ben-grande/qusal.git
synced 2024-10-01 02:35:49 -04:00
fix: conform files to editorconfig specification
This commit is contained in:
parent
89a4ea8073
commit
523bca2327
4
.github/workflows/main.yaml
vendored
4
.github/workflows/main.yaml
vendored
@ -45,17 +45,13 @@ jobs:
|
|||||||
- name: Install pip packages
|
- name: Install pip packages
|
||||||
run: pip3 install $(cat dependencies/pip.txt)
|
run: pip3 install $(cat dependencies/pip.txt)
|
||||||
- uses: pre-commit/action@v3.0.1
|
- uses: pre-commit/action@v3.0.1
|
||||||
continue-on-error: true
|
|
||||||
env:
|
env:
|
||||||
SPEC_VENDOR: Github Actions
|
SPEC_VENDOR: Github Actions
|
||||||
SPEC_PACKAGER: Github Actions
|
SPEC_PACKAGER: Github Actions
|
||||||
- uses: editorconfig-checker/action-editorconfig-checker@main
|
- uses: editorconfig-checker/action-editorconfig-checker@main
|
||||||
- name: Run Editorconfig Checker
|
- name: Run Editorconfig Checker
|
||||||
continue-on-error: true
|
|
||||||
run: editorconfig-checker
|
run: editorconfig-checker
|
||||||
- name: Lint commits
|
- name: Lint commits
|
||||||
continue-on-error: true
|
|
||||||
# yamllint disable-line rule:line-length
|
|
||||||
run: |
|
run: |
|
||||||
if test "${{ github.event_name}}" = "pull_request"
|
if test "${{ github.event_name}}" = "pull_request"
|
||||||
then
|
then
|
||||||
|
@ -128,8 +128,8 @@ name: keys
|
|||||||
force: True
|
force: True
|
||||||
{# Only run this state if the requirements are executed successfully #}
|
{# Only run this state if the requirements are executed successfully #}
|
||||||
require:
|
require:
|
||||||
{# Ensure successful 'qvm.clone' run to create 'tpl-keys-clone'
|
{# Ensure successful 'qvm.clone' run to create 'tpl-keys-clone' #}
|
||||||
This module was executed in the 'clone_template' macro #}
|
{# This module was executed in the 'clone_template' macro #}
|
||||||
- qvm: tpl-keys-clone
|
- qvm: tpl-keys-clone
|
||||||
{# If qube does not exist, create it with the specified settings #}
|
{# If qube does not exist, create it with the specified settings #}
|
||||||
present:
|
present:
|
||||||
|
@ -116,6 +116,9 @@ fi
|
|||||||
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 08 2024 Ben Grande <ben.grande.b@gmail.com> - f60077f
|
||||||
|
- doc: spell check
|
||||||
|
|
||||||
* Fri Jul 05 2024 Ben Grande <ben.grande.b@gmail.com> - 34d2943
|
* Fri Jul 05 2024 Ben Grande <ben.grande.b@gmail.com> - 34d2943
|
||||||
- fix: correct markdown lint package name
|
- fix: correct markdown lint package name
|
||||||
|
|
||||||
|
@ -118,6 +118,9 @@ fi
|
|||||||
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 08 2024 Ben Grande <ben.grande.b@gmail.com> - f60077f
|
||||||
|
- doc: spell check
|
||||||
|
|
||||||
* Thu Jul 04 2024 Ben Grande <ben.grande.b@gmail.com> - 383c840
|
* Thu Jul 04 2024 Ben Grande <ben.grande.b@gmail.com> - 383c840
|
||||||
- doc: lint markdown files
|
- doc: lint markdown files
|
||||||
|
|
||||||
|
@ -126,6 +126,9 @@ fi
|
|||||||
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 08 2024 Ben Grande <ben.grande.b@gmail.com> - f60077f
|
||||||
|
- doc: spell check
|
||||||
|
|
||||||
* Thu Jul 04 2024 Ben Grande <ben.grande.b@gmail.com> - 383c840
|
* Thu Jul 04 2024 Ben Grande <ben.grande.b@gmail.com> - 383c840
|
||||||
- doc: lint markdown files
|
- doc: lint markdown files
|
||||||
|
|
||||||
|
@ -43,8 +43,8 @@ will be able to download from many protocol as long as the installed tools
|
|||||||
accepts them.
|
accepts them.
|
||||||
|
|
||||||
Supported protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS,
|
Supported protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS,
|
||||||
IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP,
|
IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP,
|
||||||
SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS, RSYNC, BitTorrent.
|
SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS, RSYNC, BitTorrent.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
@ -130,6 +130,9 @@ fi
|
|||||||
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 08 2024 Ben Grande <ben.grande.b@gmail.com> - f60077f
|
||||||
|
- doc: spell check
|
||||||
|
|
||||||
* Sat Jul 06 2024 Ben Grande <ben.grande.b@gmail.com> - 8604887
|
* Sat Jul 06 2024 Ben Grande <ben.grande.b@gmail.com> - 8604887
|
||||||
- feat: unify cacher tag list to a single script
|
- feat: unify cacher tag list to a single script
|
||||||
|
|
||||||
@ -276,6 +279,3 @@ fi
|
|||||||
|
|
||||||
* Wed Dec 20 2023 Ben Grande <ben.grande.b@gmail.com> - 38d98ec
|
* Wed Dec 20 2023 Ben Grande <ben.grande.b@gmail.com> - 38d98ec
|
||||||
- fix: nft shebang and table names
|
- fix: nft shebang and table names
|
||||||
|
|
||||||
* Wed Dec 20 2023 Ben Grande <ben.grande.b@gmail.com> - d3ae662
|
|
||||||
- fix: cacher client installation indentation
|
|
||||||
|
@ -120,6 +120,9 @@ fi
|
|||||||
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
%dnl TODO: missing '%ghost', files generated during %post, such as Qrexec policies.
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jul 08 2024 Ben Grande <ben.grande.b@gmail.com> - f60077f
|
||||||
|
- doc: spell check
|
||||||
|
|
||||||
* Thu Jul 04 2024 Ben Grande <ben.grande.b@gmail.com> - 383c840
|
* Thu Jul 04 2024 Ben Grande <ben.grande.b@gmail.com> - 383c840
|
||||||
- doc: lint markdown files
|
- doc: lint markdown files
|
||||||
|
|
||||||
|
@ -12,10 +12,9 @@ usage(){
|
|||||||
|
|
||||||
get_qube_feat(){
|
get_qube_feat(){
|
||||||
qube="${1}"
|
qube="${1}"
|
||||||
qvm-features "${qube}" \
|
qvm-features "${qube}" | \
|
||||||
| grep -e os-distribution -e os-version -e template-release \
|
grep -E "^(os-(distribution|version)|template-(release|name))" | \
|
||||||
-e template-release -e template-name \
|
sed "s/ / /g;s/ /: /;s/^/ /"
|
||||||
| tr -s " " | sed "s/ /: /;s/^/ /"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
case "${1-}" in
|
case "${1-}" in
|
||||||
|
@ -44,6 +44,7 @@ take_screenshot() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
print_help(){
|
print_help(){
|
||||||
|
# editorconfig-checker-disable
|
||||||
echo "Usage: ${0##*/} [OPTIONS]
|
echo "Usage: ${0##*/} [OPTIONS]
|
||||||
-h, --help print this help message and exit
|
-h, --help print this help message and exit
|
||||||
Capture mode:
|
Capture mode:
|
||||||
@ -57,6 +58,7 @@ Development mode:
|
|||||||
-D, --dialog-cmd dialog tool: kdialog, zenity
|
-D, --dialog-cmd dialog tool: kdialog, zenity
|
||||||
-S, --screenshot-cmd screenshot tool: maim, scrot, spectacle,
|
-S, --screenshot-cmd screenshot tool: maim, scrot, spectacle,
|
||||||
xfce4-screenshooter"
|
xfce4-screenshooter"
|
||||||
|
# editorconfig-checker-enable
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -16,8 +16,8 @@ will be able to download from many protocol as long as the installed tools
|
|||||||
accepts them.
|
accepts them.
|
||||||
|
|
||||||
Supported protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS,
|
Supported protocols: DICT, FILE, FTP, FTPS, GOPHER, GOPHERS, HTTP, HTTPS,
|
||||||
IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP,
|
IMAP, IMAPS, LDAP, LDAPS, MQTT, POP3, POP3S, RTMP, RTMPS, RTSP, SCP, SFTP,
|
||||||
SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS, RSYNC, BitTorrent.
|
SMB, SMBS, SMTP, SMTPS, TELNET, TFTP, WS, WSS, RSYNC, BitTorrent.
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ Install Signal Desktop and creates an app qube named "signal".
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo qubesctl top.enable signal
|
sudo qubesctl top.enable signal
|
||||||
sudo qubesctl --targets=tpl-signal,signal state.appply
|
sudo qubesctl --targets=tpl-signal,signal state.apply
|
||||||
sudo qubesctl top.disable signal
|
sudo qubesctl top.disable signal
|
||||||
sudo qubesctl state.apply signal.appmenus
|
sudo qubesctl state.apply signal.appmenus
|
||||||
```
|
```
|
||||||
|
@ -53,7 +53,10 @@ case "${find_tool}" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
files="$(echo "$files" | sort -u)"
|
echo "${files}" | sort -u | tr " " "\n"
|
||||||
sh_files="$(echo "$sh_files" | sort -u)"
|
exit
|
||||||
test -z "${files}" || shellcheck ${files}
|
|
||||||
test -z "${sh_files}" || shellcheck -s sh ${sh_files}
|
#files="$(echo "$files" | sort -u)"
|
||||||
|
#sh_files="$(echo "$sh_files" | sort -u)"
|
||||||
|
#test -z "${files}" || shellcheck ${files}
|
||||||
|
#test -z "${sh_files}" || shellcheck -s sh ${sh_files}
|
||||||
|
@ -105,7 +105,8 @@ if test "${key}" = "description"; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if test "${key}" = "summary"; then
|
if test "${key}" = "summary"; then
|
||||||
summary="$(sed -n "/^# ${name}$/,/^## Table of Contents$/{
|
summary="$(sed -n -e \
|
||||||
|
"/^# ${name}$/,/^## Table of Contents$/{
|
||||||
/./!d; /^#/d; /^SPDX/d; /^<!--/d; /^-->/d; s/\.$//; p}" \
|
/./!d; /^#/d; /^SPDX/d; /^<!--/d; /^-->/d; s/\.$//; p}" \
|
||||||
-- "${readme}")"
|
-- "${readme}")"
|
||||||
block_max_chars summary "${summary}" 70
|
block_max_chars summary "${summary}" 70
|
||||||
|
Loading…
Reference in New Issue
Block a user