プロジェクト

全般

プロフィール

Vote #68832

完了

Git adapter lost commits before 7 days from database latest changeset

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
低め
担当者:
-
カテゴリ:
SCM_3
対象バージョン:
開始日:
2010/12/21
期日:
進捗率:

0%

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

説明

Hi,

We work with several branches on a git repo, but Redmine only seems to track changes from master branch. The problem is that our commit messages like:
"Fixes #241"... do not work if they are created on a "develop" branch for example. Redmine does not "see" these commit messages, therefore it can't mark the bug as fixed.

This seems to be a bug implementation of issue #1406

Database version : Postgresql 8.3
git version: 1.5.6.5
Redmine version: 1.0.4


journals

The reason is Redmine parse only 1 week before the last known commit.

See source:tags/1.0.4/app/models/repository/git.rb#L48
--------------------------------------------------------------------------------
This issue is related with #6013.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
For example.
https://www.chiliproject.org/issues/214
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Redmine calls "git log --all --since='YYYY-MM-DD'" to fetch new changesets.
at source:1.1.2/lib/redmine/scm/adapters/git_adapter.rb#L114 .

If latest changeset in your database is "2011-03-30", Redmine calls "git log --all --since='2011-03-23'".
--------------------------------------------------------------------------------
I am curious: Do the commits you mentioned in #8256 for ChiliProject also go to Redmine? I am confused by how these two projects progress --- would they share most of the new changes?
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Fixed in r5788.
--------------------------------------------------------------------------------


related_issues

relates,Closed,6013,git tab,browsing, very slow -- even after first time
relates,Closed,4549,Repository: git / view all revision fails with branches
relates,Closed,6092,Truncate Git revision labels in Activity page/feed and allow configurable length
relates,New,5357,Git: SCM revisions ordered by date/time (should be reverse commit order)
relates,New,2799,Support for Bazaar's shared reposetories (created with init-repo)
relates,New,6566,Convert the git adapter to rugged
relates,Closed,8857,Git: Too long in fetching repositories after upgrade from 1.1 or new branch at first time
relates,Closed,9472,The git scm module causes an excess amount of DB traffic.
duplicates,Closed,3940,Git: The entry or revision was not found in the rebased repository
duplicates,Closed,8049,Git: fetch_changesets not updating project's repository
duplicates,Closed,8256,404 on repository revision access using git

Admin Redmine さんがほぼ2年前に更新

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

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

いいね!0
いいね!0