Bug 922 - mgarepo should use UTC dates in package changelog
Summary: mgarepo should use UTC dates in package changelog
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Low minor
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 858
  Show dependency treegraph
 
Reported: 2011-04-21 19:50 CEST by Nicolas Vigier
Modified: 2016-04-15 21:30 CEST (History)
4 users (show)

See Also:
Source RPM: mgarepo
CVE:
Status comment:


Attachments

Description Nicolas Vigier 2011-04-21 19:50:32 CEST
When creating a source package with mgarepo, using the command "mgarepo getsrpm -l package", the changelog generated can be different depending on the timezone configured on the local host.
I think it should use UTC dates in all case, and not use the local timezone.
Nicolas Vigier 2011-04-21 19:52:18 CEST

Priority: Normal => Low
Blocks: (none) => 858

Comment 1 Thierry Vignaud 2011-05-20 14:51:18 CEST
Not an infrastructure issue but a package issue

CC: (none) => thierry.vignaud
Component: BuildSystem => RPM Packages
Version: unspecified => Cauldron
Assignee: boklm => bugsquad
Product: Infrastructure => Mageia
Source RPM: (none) => mgarepo

Thierry Vignaud 2011-08-09 12:13:29 CEST

Assignee: bugsquad => boklm

Comment 2 Marja Van Waes 2011-12-25 21:59:04 CET
pinging because nothing happened to this report since very long ago, and it still has the status NEW.

@ Nicolas
Please set status to ASSIGNED if you think this bug was assigned correctly. If for workflow reasons you can't do that, then please put OK on the whiteboard instead.

CC: (none) => marja11

Nicolas Vigier 2011-12-26 09:55:17 CET

Status: NEW => ASSIGNED

Comment 3 Marja Van Waes 2012-05-26 13:05:39 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 4 Manuel Hiebel 2012-10-20 22:04:01 CEST
boklm leave Mageia

Status: ASSIGNED => NEW
Assignee: boklm => bugsquad

Comment 5 roelof Wobben 2012-12-31 09:18:03 CET
Hello, 

Is this bug still valid for M2 or M3 ?

Roelof

CC: (none) => boklm, r.wobben

Nicolas Vigier 2014-03-24 10:52:38 CET

CC: boklm => (none)

Comment 6 Marja Van Waes 2015-09-22 19:38:07 CEST
(In reply to roelof Wobben from comment #5)
> Hello, 
> 
> Is this bug still valid 

It is still valid, time is give in CET/CEST

Keywords: NEEDINFO => (none)

Comment 7 papoteur 2015-10-31 22:18:02 CET
Hello,
I don't understand the problem.
When I used the command "mgarepo getsrpm -l isodumper", I got a src.rpm package. The only CHANGELOG I saw is the one from the repository (without any time stamp).
Which Changelog is it?

CC: (none) => yves.brungard_mageia

Comment 8 Marja Van Waes 2015-11-01 15:01:36 CET
(In reply to papoteur from comment #7)
> Hello,
> I don't understand the problem.
> When I used the command "mgarepo getsrpm -l isodumper", I got a src.rpm
> package. The only CHANGELOG I saw is the one from the repository (without
> any time stamp).
> Which Changelog is it?

"mgarepo log isodumper"

gives:

------------------------------------------------------------------------
r886536 | daviddavid | 2015-10-06 09:49:59 +0200 (di, 06 okt 2015) | 3 lines

- new version: 0.43 (fixes mga#16910)
- remove deprecated %%makeinstall_std so use %%make_install instead (SILENT)

------------------------------------------------------------------------
r879549 | daviddavid | 2015-09-15 09:58:35 +0200 (di, 15 sep 2015) | 2 lines

- update doc file list (fix build with new rpm 4.13.0)

------------------------------------------------------------------------
r822457 | daviddavid | 2015-05-20 20:55:05 +0200 (wo, 20 mei 2015) | 4 lines

etc.
Thierry Vignaud 2015-11-04 08:34:27 CET

CC: thierry.vignaud => (none)

Comment 9 papoteur 2015-12-20 10:27:24 CET
This information are given by the command:
svn log svn+ssh://svn.mageia.org/svn/packages/cauldron/isodumper/current
------------------------------------------------------------------------
r904980 | daviddavid | 2015-11-23 07:39:30 +0100 (lun. 23 nov. 2015) | 2 lignes

- new version: 0.44 (fixes mga#16837)

------------------------------------------------------------------------
r886536 | daviddavid | 2015-10-06 09:49:59 +0200 (mar. 06 oct. 2015) | 3 lignes

- new version: 0.43 (fixes mga#16910)
- remove deprecated %%makeinstall_std so use %%make_install instead (SILENT)
...

I think timestamp is given by the command 'mgarepo ci' or 'svn ci' on which the user doesn't select the date format.

The only option I see is to add environment variable like 'LC_TIME=C' as prefix, but I'm not sure that this change the result. If modified in mgarepo, I'm not sure that packager will use the same prefix. Thus this will not assure an homogeneous solution.
I need feedback before to go further.
Comment 10 Marja Van Waes 2016-04-15 19:45:02 CEST
@ papoteur

Maybe it is better to close as wontfix? The reporter left us and no one said he'd like to have this feature, too.

Besides, if a packager wants to have UTC times, he can change his own system time to UTC, the changelog will then be given in UTC times.


('LC_TIME=C' did not work here, but changing my system time to UTC did)
Comment 11 papoteur 2016-04-15 21:30:17 CEST
OK with you, Marja

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


Note You need to log in before you can comment on or make changes to this bug.