zsh-workers
 help / color / mirror / code / Atom feed
* Re: PATCH: completion with rpm and --target
@ 2000-04-17  8:13 Sven Wischnowsky
  2000-04-17  8:17 ` Chmouel Boudjnah
  0 siblings, 1 reply; 7+ messages in thread
From: Sven Wischnowsky @ 2000-04-17  8:13 UTC (permalink / raw)
  To: zsh-workers


Chmouel Boudjnah wrote:

> Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:
> 
> > > PS: what is the Completetion/Rpm/ directory appeared in the cvs ?
> > That once contained all the little functions that were later combined
> > in _rpm.
> 
> Humm cool, you did the split already ?

Err... the other way round. When I first wrote it I used lots of
little functions (one for every `mode'). Later we decided to put all
of them together (as we do with all comannds for a suite of commands).

Dunno how the Rpm directory survived.


Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: PATCH: completion with rpm and --target
@ 2000-04-17  8:05 Sven Wischnowsky
  2000-04-17  8:11 ` Chmouel Boudjnah
  0 siblings, 1 reply; 7+ messages in thread
From: Sven Wischnowsky @ 2000-04-17  8:05 UTC (permalink / raw)
  To: zsh-workers


Chmouel Boudjnah wrote:

> PS: what is the Completetion/Rpm/ directory appeared in the cvs ?

That once contained all the little functions that were later combined
in _rpm.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@informatik.hu-berlin.de


^ permalink raw reply	[flat|nested] 7+ messages in thread
* PATCH: completion with rpm and --target
@ 2000-04-13 13:53 Chmouel Boudjnah
  0 siblings, 0 replies; 7+ messages in thread
From: Chmouel Boudjnah @ 2000-04-13 13:53 UTC (permalink / raw)
  To: zsh-workers


completion with rpm and --target

PS: what is the Completetion/Rpm/ directory appeared in the cvs ?

--- ./Completion/Linux/_rpm.chmou       Thu Apr 13 06:45:58 2000
+++ ./Completion/Linux/_rpm     Thu Apr 13 06:47:55 2000
@@ -162,6 +162,7 @@
       '--ftpproxy:FTP proxy server:_hosts' \
       '--ftpport:FTP port number:' \
       --{short-circuit,clean,rmsource,sign,test} \
+      '--target:specify a build target:->target'\
       '--buildroot:build root directory:_files -/' \
       '--buildarch:architecture for which to build:' \
       '--buildos:ositecture for which to build:' \
@@ -189,6 +190,10 @@
   package_or_file)
     state=package_file
     ;&
+  target)
+    _wanted target expl 'Target platforms' \
+        compadd $(_call target rpm --showrc |grep 'compatible archs'|sed 's/.*: //') && ret=0
+    ;;
   package)
     _wanted packages expl 'RPM package' \
         compadd -M 'r:|-=* r:|=*' - $(_call packages rpm -qa) && ret=0

-- 
MandrakeSoft Inc                http://www.mandrakesoft.com
Montreal, QC CA.                                  --Chmouel


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-04-17  8:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-04-17  8:13 PATCH: completion with rpm and --target Sven Wischnowsky
2000-04-17  8:17 ` Chmouel Boudjnah
2000-04-17  8:54   ` Geoff Wing
2000-04-17  8:59     ` cvs (was: PATCH: completion with rpm and --target) Chmouel Boudjnah
  -- strict thread matches above, loose matches on Subject: below --
2000-04-17  8:05 PATCH: completion with rpm and --target Sven Wischnowsky
2000-04-17  8:11 ` Chmouel Boudjnah
2000-04-13 13:53 Chmouel Boudjnah

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).