[Aptitude-devel] Bug#403631: Expansion of aptitude match rule (regex)

Manuel A. Fernandez Montecelo manuel.montezelo at gmail.com
Fri Jun 10 21:25:33 UTC 2016


Control: tags -1 + pending


Hi,

2006-12-18 15:09 Osamu Aoki:
>Package: aptitude
>Version: 0.4.4-1
>Severity: wishlist
>
>This is for post-etch wishlist.
>
>I now love match rules like ~D, ~R, ... ~<some char><string>
>
>Here are my wishlists for expanded match rule functions:
>
> * Match <string> to the src_package names. (~z<string>)

I already implemented ~e recently.


> * Match deb_packages which the <string> matched src_packages build-depend on. (~Rbuilddep:<string>, ~RBbuilddep:<string>)
> * Match src_packages which the <string> matched deb_packages are build-dependded by. (~Dbuilddep:<string>, ~DBbuilddep:<string>)
>
>Then I want few more commands:
> * aptitude showsrc <deb_packages>: list src_package names for <deb_packages>
> * aptitude showdeb <src_packages>: list deb_package names for <src_packages>
> * aptitude source <src_packages>: download <src_packages> to current dir.
> * aptitude download <deb_packages>: download <deb_packages> to current dir.
>
>Then we can do equivalent of "apt-get build-dep ..." with regex and
>install command.

showsrc and source are about to be implemented, and "aptitude build-dep"
(the main goal here) exists for many years anyway.

I don't consider the request ~Rbuilddep etc. at this time, because
except for this bug report and despite the many reports that aptitude
accumulated over the years, nobody else requested it, and because other
tools like grep-dctrl or build-rdeps (from devscripts I think) on
provide efficient and widely used ways to do this for a long time.


Cheers.
-- 
Manuel A. Fernandez Montecelo <manuel.montezelo at gmail.com>



More information about the Aptitude-devel mailing list