Re: Changing the rpm default queryformat to include arch

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

 



On Mon, 2007-11-26 at 17:38 +0530, Rahul Sundaram wrote:
> Panu Matilainen wrote:
> > On Sat, 24 Nov 2007, Rahul Sundaram wrote:
> > 
> >> Panu Matilainen wrote:
> >>
> >>>
> >>> The ugly part is that it makes parsing harder as you have to account 
> >>> for the possibility of epoch being or not being there always, but 
> >>> OTOH you can always pick your own queryformat if you don't want to 
> >>> deal with it.
> >>
> >> Can't you unconditionally have a epoch number listed all the time? 0 
> >> if there is no epoch for that package.
> > 
> > Obviously you CAN, but do you REALLY want to?
> 
> Personally, yes. I would like to see epoch listed always so that we get 
> a consistent format for other scripts to parse.

-1 showing the epoch looks ridiculous since in most cases it'll be a 0.

Yum has done this for a long time, actually:

foo-1.1-1.noarch
1:bar-1.1-1.noarch

foo has none or a 0 epoch
bar has an epoch of 1

-sv




-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux