Message-ID: <5294B36D.5060202@xenomai.org> Date: Tue, 26 Nov 2013 15:42:53 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <5294A4C3.9090404@grinta.net> <5294A711.2010700@xenomai.org> <5294A933.5050300@grinta.net> <5294AAB4.5030707@xenomai.org> <5294AC3E.4040009@grinta.net> <5294AFBE.9060404@xenomai.org> <5294B125.2060501@grinta.net> In-Reply-To: <5294B125.2060501@grinta.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai] cgit repository modification times List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Daniele Nicolodi Cc: xenomai@xenomai.org On 11/26/2013 03:33 PM, Daniele Nicolodi wrote: > On 26/11/2013 15:27, Gilles Chanteperdrix wrote: >> On 11/26/2013 03:12 PM, Daniele Nicolodi wrote: >>> On 26/11/2013 15:05, Gilles Chanteperdrix wrote: >>>> On 11/26/2013 02:59 PM, Daniele Nicolodi wrote: >>>>> On 26/11/2013 14:50, Gilles Chanteperdrix wrote: >>>>>> On 11/26/2013 02:40 PM, Daniele Nicolodi wrote: >>>>>>> Hello, >>>>>>> >>>>>>> I've noticed that the new cgit web interface to the git repositories >>>>>>> does not display the correct modification times for the repository in >>>>>>> the repository list. I don't know what may cause this, the displayed >>>>>>> times seems completely arbitrary to me. >>>>>> >>>>>> Maybe that is because the time displayed in the repository list is not >>>>>> the modification time, but the idle time, as the title line indicates? >>>>> >>>>> Sorry, wrong choice of words on my side. I believe that the idle time is >>>>> defined as (current time) - (modification time). Isn't it? >>>> >>>>> >>>>> Still, for example, the xenomai-force repository has two branches: >>>>> "master" and "next", for which cgit shows an "Age" (which I believe >>>>> should be interpreted in the same way as "Idle") of respectively 24 >>>>> hours and 3 weeks. The "Idle" field in the repository list reports 11 days. >>>> >>>> It seems you are mixing the time when the last push occurred with the >>>> time when the last commit occurred, with git the two are not necessarily >>>> correlated. If you look at other projects using cgit, kernel.org for >>>> instance, you will find the same disparities. >>>> >>>> In the case of Xenomai, most of the repositories appear to have been >>>> pushed 11 days ago because this is the time when the repositories were >>>> cloned from the old xenomai server to the new xenomai server. >>> >>> I know, but how is it possible that a changeset has been pushed before >>> being committed? >> >> Indeed, that is strange, I will look at it. Maybe we miss some hooks >> (like git-update-server). > > I think it is due to the fact that only the master branch of each > repository is looked at. I checked on gnome.org cgit instance and it > shows the same behavior. I don't know if it is configurable. Seems a fix exists: http://article.gmane.org/gmane.comp.version-control.cgit/1059 Will try tonight. -- Gilles.