Re: [RPM Spec] Shall we use Local time or UTC for %changelog date?

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

 



On Fri, Jul 22, 2011 at 03:27:58PM +0200, David Tardon wrote:
> On Fri, Jul 22, 2011 at 02:34:45PM +0200, Vít Ondruch wrote:
> > Dne 22.7.2011 14:31, Dmitry Butskoy napsal(a):
> > > Ding Yi Chen wrote:
> > >> Hi list,
> > >> I recently ran into an interesting problem related to time zone.
> > >>
> > >> I live in time zone GMT+10.
> > >> On 0:10, 18th July,
> > >> I wrote my changelog as:
> > >> * Mon Jul 18 2011 ......
> > >> ....
> > >>
> > >> And then run rpmlint, which give me:
> > >> <packageName>: E: changelog-time-in-future 2011-07-18
> > >>
> > >> So I am wondering which one I should use: local time or convert it to UTC?
> > > Certainly convert it to UTC.
> > >
> > > As at any other international things (post, airports) the time must be
> > > unique.
> > >
> > > Regards,
> > > Dmitry Butskoy
> > > http://www.fedoraproject.org/wiki/DmitryButskoy
> > >
> > 
> > Alternatively you can use rpmlint just after 10 AM and you will be safe ;)
> 
> Alternatively you can just ignore the warning. That is what I would do.
> 
yep, if it's just that the date you've used is different according to
timezone.  (Of course, be careful that you didn't just flub the date :-)

The rpm changelog can reasonably be in any timezone.  It's primarily for
people to check on their machines by running rpm -q[p] --changelog (which
could be days later because the update has to be built in koji and then
pushed to the repos.

Its also used when you or another maintainer has to see what was done to
a package in the past... which is usually (not always but in the majority of
cases) also days later.

-Toshio

Attachment: pgpckXaD1hTHP.pgp
Description: PGP signature

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[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