プロジェクト

全般

プロフィール

Vote #65609

完了

Most recent CVS revisions are missing in "revisions" view

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2009/08/19
期日:
進捗率:

0%

予定工数:
category_id:
3
version_id:
27
issue_org_id:
3761
author_id:
7501
assigned_to_id:
11192
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
10
ステータス-->[Closed]

説明

When retrieving the latest revisions from CVS the most recent ones (within a few hours) are missing because (I believe) CVS uses UTC timestamps but Redmine must be querying using the users local timezone, im my case EST. The most recent check-ins appear to be "in the future" so I think Redmine misses them.


journals

I've noticed this too. Plus, the checkin times that are shown in the repository view are incorrect, ie off by five hours, which we are current GMT-5
--------------------------------------------------------------------------------
I managed to fix this by editing the following line in app/models/repository/cvs.rb (line 101)

FROM: fetch_since = latest_changeset ? latest_changeset.committed_on : nil
TO: fetch_since = latest_changeset ? latest_changeset.committed_on - 4.hours : nil

The times reported by redmine are still off (since CVS is UTC) but this change prevents redmine from missing the most recent checkins. I didn't check this in given it's hackish.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
I fixed in SVN trunk r4794, r4801 and r4802.
--------------------------------------------------------------------------------


related_issues

relates,Closed,4115,repositories/show/project-name Ages off by timezone delta
relates,Closed,996,CVS view ends up with "duplicate key violates unique constraint" after 0.7.0RC1 update

Admin Redmine さんが3年以上前に更新

  • カテゴリSCM_3 にセット
  • 対象バージョン1.2.0_27 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0