Bug 19590 - [FR] rpm-files completion for apt-get
Summary: [FR] rpm-files completion for apt-get
Alias: None
Product: Sisyphus
Classification: Development
Component: zsh (show other bugs)
Version: unstable
Hardware: all Linux
: P3 enhancement
Assignee: Sir Raorn
QA Contact: qa-sisyphus
: 20503 (view as bug list)
Depends on:
Reported: 2009-04-12 20:10 MSD by Evgenii Terechkov
Modified: 2009-06-21 03:26 MSD (History)
8 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Evgenii Terechkov 2009-04-12 20:10:25 MSD
Хотелось бы, чтобы apt-get install <Tab> умело комплитить локальные rpm-файлы. Часто пользуюсь для тестирования пакетов до отправки в Сизиф. Сейчас приходится пользоваться apt-get install package*version*<Tab> (shell expansion).
Comment 1 Aeliya Grevnyov 2009-04-13 05:36:27 MSD
кстати да, давно уже привык перед такими действиями запускать bash. 
было бы очень удобно
Comment 2 Repository Robot 2009-04-13 17:39:22 MSD
zsh-1:4.3.9-alt2 -> sisyphus:

* Mon Apr 13 2009 Alexey I. Froloff <raorn@altlinux> 1:4.3.9-alt2

- Completion fixes and improvements:
 + rpm: fix --target option argument completion (closes: #9478)
 + rsync: fix rsync remote file completion (closes: #12958)
 + screen: fix session completion (closes: #16702)
 + man: strip section and extension from all manual pages
 + sudo: use it's built-in "secure path" for command completion
 + gear-changelog: add -r/--rules option, --no-spec -> --no-specfile
 + added (somewhat buggy) gear-buildreq, gear-hsh and gear-rpm
 + aptitude: use _deb_packages on Debian, _rpm_packages otherwise
 + aptitude: on "install" offer "avail" packages instead of "uninstalled"
 + apt,aptitude: on "install" also offer package files (closes: #19590)
Comment 3 Michael Shigorin 2009-04-14 23:18:03 MSD
Comment 4 Andrey Rahmatullin 2009-06-19 21:49:57 MSD
*** Bug 20503 has been marked as a duplicate of this bug. ***
Comment 5 Andrey Rahmatullin 2009-06-19 21:50:24 MSD
$ sudo apt-get install /home/wrar/RPM/RPMS/athlon/gtk2-themes-qtcurve-0.64.1-alt1.
Completing `arguments', `action', or `package'

Не дополняет.

wrar@wrars-comp RPM/RPMS/athlon $ sudo apt-get install ./gtk2-th
Completing `arguments', `action', or `package'

Не дополняет.
Comment 6 Sir Raorn 2009-06-19 22:08:22 MSD
Угу.  Оно срабатывает на /.  У apt'а есть какой-то (неиспользуемый у нас) синтаксис packagename/distroversion или что-то с этом роде.  Могу оторвать нахрен за ненадобностью.
Comment 7 Repository Robot 2009-06-21 03:26:05 MSD
zsh-1:4.3.9-alt3 -> sisyphus:

* Sun Jun 21 2009 Alexey I. Froloff <raorn@altlinux> 1:4.3.9-alt3

- fixed building with new toolchain
- _apt: dropped "install package/release" syntax (closes: #19590)