Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453056 - repoman skips ChangeLog update if timestamp differs from value in CVS/Entries
Summary: repoman skips ChangeLog update if timestamp differs from value in CVS/Entries
Status: RESOLVED OBSOLETE
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-19 22:54 UTC by Chris Reffett (RETIRED)
Modified: 2016-02-03 15:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Reffett (RETIRED) gentoo-dev Security 2013-01-19 22:54:27 UTC
It appears that if the copyright date on the ChangeLog is wrong, repoman doesn't add commit messages to it. An example of this behavior can be seen in the commits to kde-misc/kover over the past couple of days. Portage version 2.2.0_alpha155.
Comment 1 Zac Medico gentoo-dev 2013-01-19 23:53:44 UTC
I've looked at the diffs and the only change I see is 2012 -> 2013. Is that what you think caused it? Do you think it's reproducible? Nobody else has reported problems with the 2012 -> 2013 transition.
Comment 2 Chris Reffett (RETIRED) gentoo-dev Security 2013-01-20 00:13:19 UTC
I don't know if it's reproducible, this is the only time I've seen it happen. In the commit that fixed kover-5 and added kover-6, as well as the commit that removed kover-5, it appears that ChangeLog was not touched at all, and then when I manually changed the date and committed that, the next update properly modified ChangeLog. That's why I think it was the date, but I haven't seen the problems in my other 2012-2013 commits as well so I really don't know for sure.
Comment 3 Zac Medico gentoo-dev 2013-01-20 00:22:53 UTC
I suspect what happened is that the timestamp of ChangeLog differed from the value recorded in CVS/Entries. You can avoid this by doing `cvs up ChangeLog`, which causes cvs to sync the timestamp value in CVS/Entries.
Comment 4 Zac Medico gentoo-dev 2013-01-20 00:24:43 UTC
To clarify the reason for the behavior, repoman thinks you've modified the ChangeLog when the timestamp differs from the value in CVS/Entries. In this case, repoman skips ChangeLog generation, since it assumes you already called echangelog or something.
Comment 5 Brian Dolbec (RETIRED) gentoo-dev 2016-02-03 15:45:38 UTC
With Gentoo finally moved to a git based tree, the CVS and Changelog code are not likely to be used together. In fact It will be difficult to check all the CVS code in the rewrite currently under way.

Re-open if it still does apply