https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292011-04-02T00:47:42ZRedmineRedmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274752011-04-02T00:47:42ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Duplicate</i></li></ul><p>Duplicate of <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Defect: Git adapter lost commits before 7 days from database latest changeset (Closed)" href="https://www.redmine.org/issues/7146">#7146</a>.</p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274762011-04-02T00:48:02ZToshi MARUYAMA
<ul><li><strong>Category</strong> set to <i>SCM</i></li></ul> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274772011-04-02T00:49:39ZYang Zhang
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Toshi, we don't have any non-master branches - are you sure this is a duplicate?</p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274792011-04-02T00:56:24ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Yes. You need to use bare repository.</p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274802011-04-02T00:57:57ZYang Zhang
<ul></ul><p>Um, it <strong>is</strong> a bare repo:<br /><pre>
$ ls /var/git/sales.git/
branches/ description hooks/ objects/ packed-refs
config HEAD info/ ORIG_HEAD refs/
</pre></p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274812011-04-02T00:58:10ZYang Zhang
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274822011-04-02T01:03:07ZToshi MARUYAMA
<ul><li><strong>Subject</strong> changed from <i>fetch_changesets not updating project's repository</i> to <i>Git: fetch_changesets not updating project's repository</i></li></ul> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274832011-04-02T01:06:00ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>Redmine runs "git branch" at <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/tags/1.1.2/lib/redmine/scm/adapters/git_adapter.rb#L38">source:tags/1.1.2/lib/redmine/scm/adapters/git_adapter.rb#L38</a> .</p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274842011-04-02T01:14:00ZYang Zhang
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Toshi, we are using 1.0.5 (we cannot upgrade), and the code is the same: <a class="source" href="https://www.redmine.org/projects/redmine/repository/svn/entry/tags/1.0.5/lib/redmine/scm/adapters/git_adapter.rb#L38">source:tags/1.0.5/lib/redmine/scm/adapters/git_adapter.rb#L38</a>.</p>
<p>As I mentioned, we have no non-master branches:</p>
<pre>
$ git branch
* master
</pre>
<p>Also, our problem hasn't been resolved - why are you repeatedly closing this ticket?</p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274852011-04-02T01:21:12ZToshi MARUYAMA
<ul></ul><blockquote>
<pre>
> $ git branch
> * master
> </pre>
</blockquote>
<p>It means you don't have branches except master.<br />You need to push other branches to your bare repsitory.</p>
<pre>
$ git push origin branch:branch
</pre> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274862011-04-02T01:21:24ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=274872011-04-02T01:37:54ZToshi MARUYAMA
<ul><li><strong>Resolution</strong> changed from <i>Duplicate</i> to <i>Invalid</i></li></ul> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=275002011-04-02T18:33:44ZYang Zhang
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>Toshi, that doesn't work - see below, Redmine's still not updating properly. Why do you keep marking this closed? And why is this marked Invalid?<br /><pre>
$ git branch testing
$ git branch
* master
testing
</pre></p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=275022011-04-02T22:56:54ZToshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>This is redmine issue tracker.<br />You should use redmine forum.</p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=275032011-04-02T23:00:43ZToshi MARUYAMA
<ul></ul><p>Try "git log --all" or "gitk --all" on your bare repository.</p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=275042011-04-02T23:11:11ZToshi MARUYAMA
<ul><li><strong>Resolution</strong> changed from <i>Invalid</i> to <i>Duplicate</i></li></ul> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=275052011-04-02T23:14:27ZToshi MARUYAMA
<ul></ul><p>Your description "The last known commit was from 22d ago" means known 7 days problem.<br />If you still have problem, you should not post to this issue, you should post to <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Defect: Git adapter lost commits before 7 days from database latest changeset (Closed)" href="https://www.redmine.org/issues/7146">#7146</a>.</p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=275062011-04-03T00:50:57ZYang Zhang
<ul></ul><p><code>git log --all</code> shows our most recent commits just fine (from yesterday).</p>
<p>Yes, I mentioned "22d ago" and the other ticket is titled "before 7 days," but that doesn't imply it's the same problem.</p>
<p>I've moved this to the forum: <a class="external" href="http://www.redmine.org/boards/2/topics/23033">http://www.redmine.org/boards/2/topics/23033</a></p> Redmine - Defect #8049: Git: fetch_changesets not updating project's repositoryhttps://www.redmine.org/issues/8049?journal_id=275082011-04-03T01:15:33ZToshi MARUYAMA
<ul></ul><p>Yang Zhang wrote:</p>
<blockquote>
<p>Yes, I mentioned "22d ago" and the other ticket is titled "before 7 days," but that doesn't imply it's the same problem.</p>
</blockquote>
<p>I have changed <a class="issue tracker-1 status-5 priority-3 priority-lowest closed" title="Defect: Git adapter lost commits before 7 days from database latest changeset (Closed)" href="https://www.redmine.org/issues/7146">#7146</a> title.</p>