Bug 34654 - упаковать completion для zsh и fish
Summary: упаковать completion для zsh и fish
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: password-store (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: Nikolay A. Fetisov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-16 13:22 MSK by Alexey Shabalin
Modified: 2021-07-03 02:39 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Shabalin 2018-03-16 13:22:56 MSK
Прошу упаковать completion  для zsh и fish.
И мне кажется, лучше все разложить по отдельным пакетам:
- password-store
- bash-completion-%name
- zsh-completion-%name
- fish-completion-%name
- vim-plugin-%name
Comment 1 Alexey Shabalin 2018-03-16 13:36:45 MSK
Так же слишком много "лишних" зависимостей:
GraphicsMagick-common GraphicsMagick-nox ImageMagick-tools dirtree feh imlib2 libfpx qt5-dbus qt5-tools-common xclip
Из за этого кода:
		if type feh >/dev/null 2>&1; then
			echo -n "$1" | qrencode --size 10 -o - | feh -x --title "pass: $2" -g +200+200 -
			return
		elif type gm >/dev/null 2>&1; then
			echo -n "$1" | qrencode --size 10 -o - | gm display -title "pass: $2" -geometry +200+200 -
			return
		elif type display >/dev/null 2>&1; then
			echo -n "$1" | qrencode --size 10 -o - | display -title "pass: $2" -geometry +200+200 -
			return
		fi

Можно сделать выбор чего-то одного, а остальное вырезать из зависимостей.
Comment 2 Alexey Shabalin 2018-03-16 17:40:30 MSK
Я подготовил тестовое задание #202057.
Прошу посмотреть.
Comment 3 Repository Robot 2021-07-03 02:39:48 MSK
password-store-1.7.4-alt1 -> sisyphus:

 Fri Jul 02 2021 Nikolay A. Fetisov <naf@altlinux> 1.7.4-alt1
 - New version (Closes: 36738)
 - Pack fish and zsh completions (Closes: 34654)
 - Add subpackage -gui with GUI-related dependencies
 Tue Jun 19 2018 Nikolay A. Fetisov <naf@altlinux> 1.7.2-alt1
 - New version
   * Ensure signature regexes are anchored, fix for CVE-2018-12356
   * Allow grep options and arguments for 'search' command
   * Other changes and bug fixes