commit b8aaed79155058e3086d46e87357b95ba188842f
parent 535be585f9c6c4d381a68cd8fbc51e218f1d5e77
Author: Jan Pobrislo <ccx@te2000.cz>
Date: Wed, 25 Feb 2026 21:43:14 +0000
Remove strace where it's already inherited from core. Do not report false duplicates.
Diffstat:
2 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/zsh-functions/confz_site_containers_alpine_extrapkg_init b/zsh-functions/confz_site_containers_alpine_extrapkg_init
@@ -2,6 +2,8 @@
# vim: ft=zsh noet ts=4 sts=4 sw=4
typeset -gA site_containers_alpine_extrapkg
+(){
+setopt local_options no_xtrace
site_containers_alpine_extrapkg['2bwm']="2bwm-doc"
site_containers_alpine_extrapkg['3proxy']="3proxy-doc"
site_containers_alpine_extrapkg['66']="66-doc"
@@ -5924,3 +5926,4 @@ site_containers_alpine_extrapkg['zycore']="zycore-doc"
site_containers_alpine_extrapkg['zydis']="zydis-doc"
site_containers_alpine_extrapkg['zziplib']="zziplib-doc"
site_containers_alpine_extrapkg['zzz']="zzz-doc"
+}
diff --git a/zsh-functions/confz_site_containers_init b/zsh-functions/confz_site_containers_init
@@ -382,14 +382,15 @@ confz_site_container_alpine_extrapkgs_check() {
local pkg extra
for pkg in $=vars[packages]; do
if (($+pkg_assoc[$pkg])); then
- printf >&2 '%s\n' \
+ [[ $pkg_assoc[$pkg] == from_extra ]] ||
+ printf >&2 '%s\n' \
"$fg_bold[magenta]Warning$reset_color duplicate package ${(qqq)pkg} for container ${(q+)vars[image_name]}"
continue
fi
- pkg_assoc[$pkg]=1
+ pkg_assoc[$pkg]=from_arg
if (($+site_containers_alpine_extrapkg[$pkg])); then
for extra in $=site_containers_alpine_extrapkg[$pkg]; do
- pkg_assoc[$extra]=1
+ (($+pkg_assoc[$extra])) || pkg_assoc[$extra]=from_extra
done
fi
done
@@ -533,7 +534,6 @@ confz_site_container_images_check() {
local -a alpine_terminal=(
$alpine_community
tmux{,-doc}
- strace{,-doc}
vis{,-doc}
# mandoc
man-pages
@@ -554,7 +554,6 @@ confz_site_container_images_check() {
make{,-doc}
patch{,-doc}
rsync{,-doc}
- strace{,-doc}
{skalibs,s6,execline}-{dev,static}
)
@@ -623,7 +622,7 @@ confz_site_container_images_check() {
require site_container_alpine_extrapkgs :containers_dir :svscan_dir \
image_name=alpine-sndio \
- packages="$alpine_community sndio alsa-utils strace tmux"
+ packages="$alpine_community sndio alsa-utils tmux"
require site_container_alpine_extrapkgs :containers_dir :svscan_dir \
image_name=alpine-httpd \
@@ -643,7 +642,7 @@ confz_site_container_images_check() {
require site_container_alpine_extrapkgs :containers_dir :svscan_dir \
image_name=alpine-mpv \
- packages="$alpine_x11 mpv mpv-dbg strace gdb"
+ packages="$alpine_x11 mpv mpv-dbg gdb"
local -a alpine_pdf=(
$alpine_x11
@@ -1105,7 +1104,6 @@ confz_site_container_images_check() {
colordiff
tree
broot
- strace
gdb
postgresql16{-jit,-contrib,-contrib-jit,-doc,-dev,-plpython3}
postgresql17{-jit,-contrib,-contrib-jit,-doc,-dev,-plpython3}
@@ -1158,7 +1156,6 @@ confz_site_container_images_check() {
colordiff
tree
broot
- strace
gdb
musl-dev
ncurses-dev
@@ -1196,7 +1193,7 @@ confz_site_container_images_check() {
make
patch
rsync
- strace
+
{skalibs,s6,execline}-{dev,static}
s6-networking
# added
@@ -1230,60 +1227,60 @@ confz_site_container_images_check() {
require site_container_alpine :containers_dir :svscan_dir \
release=v3.17 image_name=alpine-puppet packages="$alpine_puppet"
- local -a alpine_recombee=(
- $alpine_community
- # man-db
- man-pages # man-pages-posix
- git
- git-lfs
- git-daemon
- git-doc
- zsh-vcs
- vim vis
- tmux
- htop
- openssh
- python3 ipython py3-pip py3-wheel
- python3-dev libffi{,-dev} # for compiling cffi
- py3-cffi py3-cryptography py3-pynacl
- ruby ruby-bundler ruby-json # for puppet
- ruby-bigdecimal ruby-rdoc # for gitlab
- make
- patch
- ripgrep
- bat{,-doc}
- # delta
- colordiff
- jq
- weechat weechat-python py3-websocket-client # for wee-slack
- weechat-spell aspell aspell-utils aspell-doc
- py3-feedparser # for weemustfeed.py
- rsync
- tree # broot
- gnupg pass
- go # for DC/OS CLI
- file
- strace gdb
- task py3-cffi # for taskwarrior/bugwarrior
- sfeed sfeed-doc lynx elinks w3m curl # alternative RSS/ATOM processor
- drill ldns-tools # for drill
- musl-utils # for getent
- notmuch mblaze notmuch-doc mblaze-doc notmuch-vim
- py3-notmuch py3-gpgme # for alot
- ncurses-dev # for building sfeed from source
- socat
- gawk
- # postgresql-dev # for developing pg_cgroup
- mksh
- dpkg dpkg-dev
- fuse3-dev pcre2-dev # for tup
- openssl
- ctags
- jsonnet
- yq
- )
- #require site_container_alpine :containers_dir :svscan_dir \
- # release=v3.13 image_name=alpine-recombee packages="$alpine_recombee"
+# local -a alpine_recombee=(
+# $alpine_community
+# # man-db
+# man-pages # man-pages-posix
+# git
+# git-lfs
+# git-daemon
+# git-doc
+# zsh-vcs
+# vim vis
+# tmux
+# htop
+# openssh
+# python3 ipython py3-pip py3-wheel
+# python3-dev libffi{,-dev} # for compiling cffi
+# py3-cffi py3-cryptography py3-pynacl
+# ruby ruby-bundler ruby-json # for puppet
+# ruby-bigdecimal ruby-rdoc # for gitlab
+# make
+# patch
+# ripgrep
+# bat{,-doc}
+# # delta
+# colordiff
+# jq
+# weechat weechat-python py3-websocket-client # for wee-slack
+# weechat-spell aspell aspell-utils aspell-doc
+# py3-feedparser # for weemustfeed.py
+# rsync
+# tree # broot
+# gnupg pass
+# go # for DC/OS CLI
+# file
+# strace gdb
+# task py3-cffi # for taskwarrior/bugwarrior
+# sfeed sfeed-doc lynx elinks w3m curl # alternative RSS/ATOM processor
+# drill ldns-tools # for drill
+# musl-utils # for getent
+# notmuch mblaze notmuch-doc mblaze-doc notmuch-vim
+# py3-notmuch py3-gpgme # for alot
+# ncurses-dev # for building sfeed from source
+# socat
+# gawk
+# # postgresql-dev # for developing pg_cgroup
+# mksh
+# dpkg dpkg-dev
+# fuse3-dev pcre2-dev # for tup
+# openssl
+# ctags
+# jsonnet
+# yq
+# )
+# #require site_container_alpine :containers_dir :svscan_dir \
+# # release=v3.13 image_name=alpine-recombee packages="$alpine_recombee"
local -a void_core=(
abduco{,-doc}