packages: add more tags to tasks

This commit is contained in:
Hoang Nguyen 2023-11-05 00:00:00 +07:00
parent 3ae2f1f680
commit 0a00606752
Signed by: folliehiyuki
GPG Key ID: B0567C20730E9B11
8 changed files with 47 additions and 23 deletions

View File

@ -2,24 +2,20 @@ root = true
[*] [*]
tab_width = 4 tab_width = 4
indent_size = 4
indent_style = space
charset = utf-8 charset = utf-8
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
[{*.yml,*.fish,*.jsonnet,*.libsonnet}] [{*.yml,*.fish,*.jsonnet,*.libsonnet}]
indent_style = space
indent_size = 2 indent_size = 2
[*.py]
indent_style = space
indent_size = 4
[{Makefile,*.sh}] [{Makefile,*.sh}]
indent_style = tab indent_style = tab
[*.md] [*.md]
indent_style = space
indent_size = 2 indent_size = 2
max_line_length = 80 max_line_length = 80
trim_trailing_whitespace = false trim_trailing_whitespace = false

View File

@ -52,6 +52,7 @@ set -gx CDKTF_HOME $XDG_DATA_HOME/terraform-cdk
set -gx TF_PLUGIN_CACHE_DIR $XDG_CACHE_HOME/terraform/plugin-cache set -gx TF_PLUGIN_CACHE_DIR $XDG_CACHE_HOME/terraform/plugin-cache
set -gx APPTAINER_CACHEDIR $XDG_CACHE_HOME/apptainer set -gx APPTAINER_CACHEDIR $XDG_CACHE_HOME/apptainer
set -gx MAGEFILE_CACHE $XDG_CACHE_HOME/magefile set -gx MAGEFILE_CACHE $XDG_CACHE_HOME/magefile
set -gx MIX_XDG true
# set -gx MANPATH :$XDG_DATA_HOME/man # set -gx MANPATH :$XDG_DATA_HOME/man
# common envs # common envs

View File

@ -61,11 +61,10 @@
l = log --all --graph --pretty=format:'%C(yellow)%h%Creset %C(bold)<%an>%Creset -%C(bold)%C(green)%d%Creset %C(blue)%s%Creset (%cr)' l = log --all --graph --pretty=format:'%C(yellow)%h%Creset %C(bold)<%an>%Creset -%C(bold)%C(green)%d%Creset %C(blue)%s%Creset (%cr)'
br = branch --sort=-committerdate --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) %(color:bold)<%(authorname)>%(color:reset) - %(color:blue)%(contents:subject)%(color:reset) (%(committerdate:relative))' br = branch --sort=-committerdate --format='%(HEAD) %(color:yellow)%(refname:short)%(color:reset) %(color:bold)<%(authorname)>%(color:reset) - %(color:blue)%(contents:subject)%(color:reset) (%(committerdate:relative))'
s = status -sbu s = status -sbu
sbu = submodule update --remote --merge sbu = submodule update --remote --rebase
redo = reset HEAD~1 --mixed redo = reset HEAD~1
unstage = reset HEAD unstage = reset HEAD
wdiff = diff --word-diff wdiff = diff --word-diff
shallow = clone --single-branch --depth=1
compare = !git log $1...$2 --format='%C(bold)%C(green)%m%Creset %C(yellow)%h%Creset %C(bold)<%an>%Creset - %C(blue)%s%Creset' --left-right compare = !git log $1...$2 --format='%C(bold)%C(green)%m%Creset %C(yellow)%h%Creset %C(bold)<%an>%Creset - %C(blue)%s%Creset' --left-right
# External, non-core functions # External, non-core functions

View File

@ -76,11 +76,12 @@ local packages =
{ name: 'mods', url: 'github.com/charmbracelet/mods' }, { name: 'mods', url: 'github.com/charmbracelet/mods' },
// Nifty Pulumi stuff // Nifty Pulumi stuff
{ name: 'crd2pulumi', url: 'github.com/pulumi/crd2pulumi' }, { name: 'crd2pulumi', url: 'github.com/pulumi/crd2pulumi', tags: ['pulumi-addons'] },
{ name: 'schema-tools', url: 'github.com/pulumi/schema-tools' }, { name: 'schema-tools', url: 'github.com/pulumi/schema-tools', tags: ['pulumi-addons'] },
{ name: 'kubespy', url: 'github.com/pulumi/kubespy' }, { name: 'kubespy', url: 'github.com/pulumi/kubespy' },
{ name: 'registrygen', url: 'github.com/pulumi/registrygen' }, { name: 'registrygen', url: 'github.com/pulumi/registrygen', tags: ['pulumi-addons'] },
{ name: 'pulumictl', url: 'github.com/pulumi/pulumictl/cmd/pulumictl' }, { name: 'pulumictl', url: 'github.com/pulumi/pulumictl/cmd/pulumictl', tags: ['pulumi-addons'] },
{ name: 'pulumi-trace-tool', url: 'github.com/pulumi/pulumi-trace-tool', tags: ['pulumi-addons'] },
// TODO: make an Alpine package when stablized and less feature locked down // TODO: make an Alpine package when stablized and less feature locked down
// (e.g. can customize themes, fonts, ...) // (e.g. can customize themes, fonts, ...)

View File

@ -354,12 +354,16 @@
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/crd2pulumi@latest cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/crd2pulumi@latest
removes: /usr/bin/go removes: /usr/bin/go
name: packages | Install crd2pulumi name: packages | Install crd2pulumi
tags: crd2pulumi tags:
- crd2pulumi
- pulumi-addons
- command: - command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/schema-tools@latest cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/schema-tools@latest
removes: /usr/bin/go removes: /usr/bin/go
name: packages | Install schema-tools name: packages | Install schema-tools
tags: schema-tools tags:
- schema-tools
- pulumi-addons
- command: - command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/kubespy@latest cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/kubespy@latest
removes: /usr/bin/go removes: /usr/bin/go
@ -369,12 +373,23 @@
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/registrygen@latest cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/registrygen@latest
removes: /usr/bin/go removes: /usr/bin/go
name: packages | Install registrygen name: packages | Install registrygen
tags: registrygen tags:
- registrygen
- pulumi-addons
- command: - command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/pulumictl/cmd/pulumictl@latest cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/pulumictl/cmd/pulumictl@latest
removes: /usr/bin/go removes: /usr/bin/go
name: packages | Install pulumictl name: packages | Install pulumictl
tags: pulumictl tags:
- pulumictl
- pulumi-addons
- command:
cmd: /usr/bin/go install -ldflags "-s -w" github.com/pulumi/pulumi-trace-tool@latest
removes: /usr/bin/go
name: packages | Install pulumi-trace-tool
tags:
- pulumi-trace-tool
- pulumi-addons
- command: - command:
cmd: /usr/bin/go install -ldflags "-s -w" oss.terrastruct.com/d2@latest cmd: /usr/bin/go install -ldflags "-s -w" oss.terrastruct.com/d2@latest
removes: /usr/bin/go removes: /usr/bin/go

View File

@ -40,6 +40,7 @@ local packages =
{ name: 'selene', tags: ['linters'] }, { name: 'selene', tags: ['linters'] },
{ name: 'typos-cli', tags: ['linters'] }, { name: 'typos-cli', tags: ['linters'] },
{ name: 'pylyzer', tags: ['lspservers'] }, { name: 'pylyzer', tags: ['lspservers'] },
{ name: 'cargo-spellcheck', tags: ['linters'] },
] ]
+ [ + [
{ name: x } { name: x }
@ -67,8 +68,8 @@ local packagesRaw =
{ name: 'qsv', flags: '--features all_full' }, { name: 'qsv', flags: '--features all_full' },
{ name: 'faerber', url: 'https://github.com/nekowinston/faerber.git', flags: 'faerber' }, { name: 'faerber', url: 'https://github.com/nekowinston/faerber.git', flags: 'faerber' },
{ name: 'nerdfix', url: 'https://github.com/loichyan/nerdfix.git' }, { name: 'nerdfix', url: 'https://github.com/loichyan/nerdfix.git' },
{ name: 'nil', url: 'https://github.com/oxalica/nil.git', flags: 'nil' }, { name: 'nil', url: 'https://github.com/oxalica/nil.git', flags: 'nil', tags: ['lspservers'] },
{ name: 'nixpkgs-fmt', url: 'https://github.com/nix-community/nixpkgs-fmt.git', flags: 'nixpkgs-fmt' }, { name: 'nixpkgs-fmt', url: 'https://github.com/nix-community/nixpkgs-fmt.git', flags: 'nixpkgs-fmt', tags: ['linters'] },
// taplo package from Alpine's repo doesn't enable "lsp" feature // taplo package from Alpine's repo doesn't enable "lsp" feature
// Ref: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/42225 // Ref: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/42225

View File

@ -32,12 +32,16 @@
cmd: /usr/bin/cargo install --locked --force --git https://github.com/oxalica/nil.git nil cmd: /usr/bin/cargo install --locked --force --git https://github.com/oxalica/nil.git nil
removes: /usr/bin/cargo removes: /usr/bin/cargo
name: packages | Install nil name: packages | Install nil
tags: nil tags:
- nil
- lspservers
- command: - command:
cmd: /usr/bin/cargo install --locked --force --git https://github.com/nix-community/nixpkgs-fmt.git nixpkgs-fmt cmd: /usr/bin/cargo install --locked --force --git https://github.com/nix-community/nixpkgs-fmt.git nixpkgs-fmt
removes: /usr/bin/cargo removes: /usr/bin/cargo
name: packages | Install nixpkgs-fmt name: packages | Install nixpkgs-fmt
tags: nixpkgs-fmt tags:
- nixpkgs-fmt
- linters
- command: - command:
cmd: /usr/bin/cargo install --locked --force taplo-cli --features native-tls,lsp cmd: /usr/bin/cargo install --locked --force taplo-cli --features native-tls,lsp
removes: /usr/bin/cargo removes: /usr/bin/cargo
@ -66,6 +70,13 @@
tags: tags:
- pylyzer - pylyzer
- lspservers - lspservers
- community.general.cargo:
name: cargo-spellcheck
state: latest
name: packages | Install cargo-spellcheck
tags:
- cargo-spellcheck
- linters
- community.general.cargo: - community.general.cargo:
name: kubernix name: kubernix
state: latest state: latest

View File

@ -3,8 +3,8 @@ wallpaper_dir: ~/Pictures/Wallpapers
# Fonts that are not covered by system packages # Fonts that are not covered by system packages
font_versions: font_versions:
iosevka: 27.2.1 iosevka: 27.3.4
sarasa-gothic: 0.42.3 sarasa-gothic: 0.42.5
kvantum_themes: kvantum_themes:
- name: Nordic - name: Nordic