[Yum] Yum for syncing with repository

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 28, 2002 at 12:26:34AM -0400, seth vidal wrote:
> the scripting part could be tricky but not impossible - I think having a
> yum list not-from-repositories would be fine - it wouldn't add pain to
> the command line options b/c it is secondary argument to list and its
> not intrusive.
> 
> the only difficult parts would be providing a good list for you in a
> sensible format.
> 
> I was thinking maybe making the list pkgs command do intelligent things
> with the -d levels - so that if you do a -d 2 its the normal columned
> output, but -d 1 is csv'd list, that way its more parseable.

I don't think I like this way of doing it.  Currently the -d levels
mean "how much info", not "what format" and I think it should be kept
that way.  If you want to implement a new option like 

--format (list|csv|xml)

then fine, but I think mucking with the -d levels would just be
confusing.

Honestly, I'm not sure how much it matters, though.  As Andrew points
out, it's not all that hard to parse what's currently there.

					-Michael



-- 
  Michael Stenner                       Office Phone: 919-660-2513
  Duke University, Dept. of Physics       mstenner@xxxxxxxxxxxx
  Box 90305, Durham N.C. 27708-0305


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux